/* ==============================
   Hero Section
============================== */
.hero-section {
  position: relative;
  height: 90vh;
  background: url('images/2_Facade_Outdoor/new.JPEG') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-section.parallax {
  background-attachment: fixed;
  background-size: cover;
}

.hero-content {
  background: rgba(0, 0, 0, 0.65);
  padding: 40px;
  border-radius: 12px;
  color: #fff;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 1s ease forwards 0.5s;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-content p {
  font-family: 'Lora', serif;
  font-size: 1.2rem;
}

@keyframes fadeInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
}

.cta-section a {
  color: white;
  text-decoration: none;
}

/* ==============================
   Contact Form Section
============================== */
.contact-form-section {
  padding: 90px 20px;
  background-color: #f8f8f8;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-form-section .section-label {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
}

/* .contact-form-section .section-label::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
  margin: 10px auto 0;
  border-radius: 3px;
} */

.form-container {
  max-width: 800px;
  margin: 40px auto 0;
  background: transparent;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-container:hover {
  transform: translateY(-5px);
}

/* Optional background overlay for visual depth */
.contact-form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

/* Cognito Form Embed Enhancements */
iframe[src*="cognitoforms.com"] {
  border: none !important;
  border-radius: 12px;
  width: 100% !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  min-height: 800px;
}

/* Cognito Buttons — Match Site Theme */
iframe[src*="cognitoforms.com"]::part(button),
iframe[src*="cognitoforms.com"] button {
  background-color: var(--primary-color) !important;
  color: #fff !important;
  border: none !important;
  font-family: 'Montserrat', sans-serif !important;
  border-radius: 6px !important;
  padding: 12px 20px !important;
  transition: background 0.3s ease;
}

iframe[src*="cognitoforms.com"]::part(button):hover,
iframe[src*="cognitoforms.com"] button:hover {
  background-color: var(--accent-color) !important;
}

/* ==============================
   Modal (Deprecated in Cognito version)
============================== */
.modal {
  display: none;
}

/* ==============================
   Contact Details Section
============================== */
.contact-details-section {
  padding: 60px 20px;
}

.details-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.details-card {
  width: 50%;
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.details-card h3 {
  font-family: 'Playfair Display', serif;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.details-card address {
  font-family: 'Lora', serif;
  font-style: normal;
  line-height: 1.6;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin: 0 10px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--accent-color);
}

.details-image {
  width: 50%;
}

.details-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

@media (max-width: 768px) {
  .details-container {
    flex-direction: column;
  }
  .details-card,
  .details-image {
    width: 100%;
  }
}

/* ==============================
   Getting Here Section
============================== */
/* GETTING HERE */
.getting-here-section {
  padding: 100px 20px;
  background: #f8f8f6;
  text-align: center;
}

.getting-here-section h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--primary-color);
  margin-bottom: 40px;
}

.collapsible-container {
  max-width: 900px;
  margin: 0 auto 50px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.collapsible-item {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  border: 1px solid var(--border-color);
  text-align: left;
}

.collapsible-toggle {
  width: 100%;
  background: #ffffff;
  border: none;
  padding: 22px 26px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--secondary-color);
  cursor: pointer;
  position: relative;
  font-family: "Montserrat", sans-serif;
  text-align: left;
}

.collapsible-toggle::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.collapsible-item.active .collapsible-toggle::after {
  content: "−";
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #fff;
}

.collapsible-content p {
  padding: 0 26px 22px;
  margin: 0;
  font-family: "Lora", serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

.getting-here-section .map-container {
  max-width: 1100px;
  height: 460px;
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
}

.getting-here-section .map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 768px) {
  .getting-here-section {
    padding: 80px 16px;
  }

  .collapsible-toggle {
    padding: 18px 20px;
    font-size: 1rem;
  }

  .collapsible-content p {
    padding: 0 20px 18px;
  }

  .getting-here-section .map-container {
    height: 320px;
  }
}

/* ==============================
   Responsive Adjustments
============================== */
@media (max-width: 768px) {
  .form-container {
    padding: 20px 10px;
  }

  .contact-form-section .section-label {
    font-size: 1.6rem;
  }

  iframe[src*="cognitoforms.com"] {
    min-height: 900px;
  }
}
