/* Gaya Khusus untuk Halaman Kontak (Desain Ulang) */

/* Section 1: Hero & Contact Cards */
.contact-hero {
  padding: calc(var(--header-height) + 6rem) 2rem 6rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--primary-color);
  line-height: 1.1;
}

.contact-hero-content p {
  font-size: 1.2rem;
  color: var(--text-color);
  max-width: 60ch;
  margin: 1.5rem auto 4rem auto;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.contact-card {
  background-color: #111;
  border: 1px solid #282828;
  border-radius: 12px;
  padding: 2.5rem;
  text-align: left;
  text-decoration: none;
  color: var(--text-color);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  transform: translateY(0);
}

.contact-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0, 163, 255, 0.1);
}

.contact-card i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
  display: block;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.contact-card span {
  color: var(--primary-color);
  font-weight: 700;
  transition: color 0.3s ease;
}

.contact-card:hover span {
  color: var(--accent-color);
}

/* Section 2: Guided Briefing Wizard */
.contact-form-section {
  padding: 4rem 2rem;
  background-image: linear-gradient(
      to bottom,
      var(--bg-color) 0%,
      rgba(0, 0, 0, 0.8) 10%,
      rgba(0, 0, 0, 0.6) 20%,
      rgba(0, 0, 0, 0.4) 30%,
      transparent 40%
    ),
    radial-gradient(circle at 10% 20%, rgba(0, 163, 255, 0.15), transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(50, 50, 50, 0.15), transparent 40%);
  background-repeat: no-repeat;
  background-position: top;
}

.form-wizard-container {
  max-width: 800px;
  margin: 2rem auto;
  background: rgba(18, 18, 18, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.form-wizard-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.form-wizard-header h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--primary-color);
}

.form-wizard-header p {
  font-size: 1.1rem;
  color: #bbb;
  margin-top: 0.5rem;
}

/* Progress Bar */
.progress-bar {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
  counter-reset: step;
}
.progress-bar::before,
.progress-bar-fill {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 4px;
  width: 100%;
  background-color: #333;
  z-index: 1;
}
.progress-bar-fill {
  background-color: var(--accent-color);
  width: 0;
  transition: width 0.4s ease;
  z-index: 2;
}
.progress-step {
  position: relative;
  z-index: 3;
  color: #777;
  text-align: center;
}
.progress-step::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  background-color: #333;
  border: 3px solid var(--bg-color);
  border-radius: 50%;
  margin: 0 auto 10px auto;
  transition: all 0.4s ease;
}
.progress-step.active {
  color: var(--primary-color);
  font-weight: 700;
}
.progress-step.active::before {
  background-color: var(--accent-color);
}

/* Form Steps */
.form-steps-wrapper {
  overflow: hidden;
  position: relative;
  min-height: 380px;
}
.form-step {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}
.form-step.active {
  display: block;
}
.step-title {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: left;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Goal Selector */
.goal-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.goal-option {
  background-color: rgba(40, 40, 40, 0.6);
  border: 1px solid #444;
  color: #bbb;
  padding: 1.5rem 1rem;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.goal-option:hover {
  transform: translateY(-4px);
  background-color: #333;
  border-color: #666;
}
.goal-option.selected {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--bg-color);
  font-weight: 700;
  transform: translateY(-4px);
  box-shadow: 0 0 15px rgba(0, 163, 255, 0.4);
}
.goal-option i {
  font-size: 2rem;
  display: block;
  margin: 0 auto 0.75rem auto;
}

/* Form Fields */
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #ccc;
}
.form-group {
  margin-bottom: 2rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  border: 1px solid #444;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #eee;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 5px rgba(0, 163, 255, 0.3);
}
.form-group textarea {
  resize: vertical;
}
.form-group select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23ccc" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}
.form-group select::-ms-expand {
  display: none;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  border-top: 1px solid #333;
  padding-top: 2rem;
}
input.invalid,
textarea.invalid,
select.invalid {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2) !important;
}

/* Section 3: FAQ Section */
.info-hub-section {
  padding: 6rem 2rem;
}
.faq-section-container {
  max-width: 900px;
  margin: 0 auto;
}
.info-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
  text-align: center;
}
.faq-container .faq-item {
  border-bottom: 1px solid #282828;
}
.faq-container .faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.faq-container .faq-question i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}
.faq-container .faq-question.active i {
  transform: rotate(45deg);
}
.faq-container .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}
.faq-container .faq-answer p {
  padding: 0 0 1.5rem 0;
  color: #bbb;
  line-height: 1.7;
  max-width: 65ch;
}

/* ======================================= */
/* Section 4: Map & Location (Final Design) */
/* ======================================= */

.location-section {
  padding: 6rem 2rem;
  background-color: #080808;
  position: relative;
  overflow: hidden;
}

.location-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 300px;
  background: radial-gradient(circle, rgba(0, 163, 255, 0.07), transparent 70%);
  z-index: 1;
}

.location-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  background: rgba(18, 18, 18, 0.7);
  border: 1px solid #282828;
  border-radius: 24px;
  padding: 3rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.location-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.location-header h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--primary-color);
}

.location-header p {
  font-size: 1.1rem;
  color: #bbb;
  margin-top: 0.5rem;
}

/* --- Tombol Peta dengan Efek Brutalist --- */
.location-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid #282828;
  padding-bottom: 2rem;
}

.tab-button {
  background-color: #1a1a1a;
  border: 2px solid #555;
  color: #aaa;
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out,
    background-color 0.2s, border-color 0.2s;
}

.tab-button:hover {
  transform: translate(-4px, -4px);
  box-shadow: 4px 4px 0px white;
  border-color: #999;
}

.tab-button.active {
  background-color: white;
  color: var(--bg-color);
  border-color: black;
  transform: none;
  box-shadow: none;
}

.tab-button.active:hover {
  transform: none;
  box-shadow: none;
  filter: brightness(1.2);
}
/* --- Akhir Efek Brutalist --- */

.map-info-wrapper {
  display: none;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  animation: fadeIn 0.5s ease-in-out;
}

.map-info-wrapper.active {
  display: grid;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  min-height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.address-container {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.address-container h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.address-container p {
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 2rem;
  line-height: 1.6;
  max-width: 40ch;
}

.address-details p {
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #ddd;
}

.address-details i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .map-info-wrapper {
    grid-template-columns: 1fr;
  }
  .map-container {
    grid-row: 2 / 3;
    min-height: 350px;
  }
  .address-container {
    grid-row: 1 / 2;
    padding: 1rem;
  }
  .location-tabs {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .location-section {
    padding: 4rem 1rem;
  }
  .location-container {
    padding: 2rem 1.5rem;
  }
  .location-header h2 {
    font-size: 2.5rem;
  }
  .location-tabs {
    flex-direction: column;
    gap: 0.5rem;
  }
  .form-wizard-container {
    padding: 2rem 1.5rem;
  }
  .form-wizard-header h2,
  .info-title {
    font-size: 2rem;
  }
  .progress-step span {
    display: none;
  }
  .step-title {
    font-size: 1.6rem;
  }
}
