/* ================= CONTACT HERO ================= */
.contactHero {
  position: relative;
  height: 440px;
  margin-top: 64px;
  overflow: hidden;
  background: var(--bg-light); /* optional beige background behind image */
}

.contactHero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contactHero h1 {
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;

  font-family: "Cormorant", serif;
  font-size: 76px;
  font-style: italic;
  font-weight: 500;
  color: #fff;
}
/* ================= CONTACT MAIN ================= */
.contactMainSection {
  padding: 78px 8% 90px;

  background:
    radial-gradient(circle at 12% 44%, rgba(255,153,102,0.38), transparent 30%),
    radial-gradient(circle at 88% 55%, rgba(255,189,135,0.24), transparent 28%),
    var(--bg-light);

  overflow: hidden;
}

.contactMainInner {
  max-width: 1120px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.contactImage {
  height: 320px;
  border-radius: 44% 56% 42% 58% / 58% 42% 58% 42%;
  overflow: hidden;
}

.contactImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contactInfo h2 {
  font-family: "Cormorant", serif;
    font-size: var(--title-md);
  font-weight: 500;
  line-height: 1;
  margin-bottom: 18px;
}

.contactInfo h2 span {
  font-style: italic;
}

.contactInfo p {
  font-size: var(--text-sm);
  line-height: 1.55;
  margin-bottom: 16px;
}

.contactDirectionBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 32px;
  margin-bottom: 20px;

  border-radius: var(--btn-radius);
  border: 2px solid var(--btn-orange);

  background: var(--btn-orange);
  color: var(--btn-orange-text);

  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;

  transition: all 0.3s ease;
}

.contactDirectionBtn:hover {
  background: transparent;
  color: var(--btn-orange);
}

.contactPhone {
  width: fit-content;

  display: flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 12px;

  color: var(--text-brown);
  font-size: var(--text-sm);
  text-decoration: underline;
}

.contactPhone img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.contactFollow {
  font-size: var(--text-sm);
  margin-bottom: 8px;
}

.contactSocialIcons {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
}

.contactSocialIcons img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.contactHoursBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 9px 22px;

  border-radius: var(--btn-radius);
  border: 3px solid var(--text-brown);

  background: transparent;
  color: var(--text-brown);

  font-size: var(--text-xs);
  font-weight: 700;

  transition: all 0.3s ease;
}

.contactHoursBtn:hover {
  background: var(--text-brown);
  color: var(--beige-text);
}


/* ================= SOCIAL MEDIA ================= */
.contactSocialSection {
  overflow: hidden;
  padding: 20px 0 50px;
  text-align: center;
  background:var(--bg-light);
}

.contactSocialSection h2 {
  font-family: "Cormorant", serif;
  font-size: var(--title-md);
  font-weight: 500;
  color: var(--text-brown);
  margin-bottom: 18px;
}

.contactSocialSection h2 span {
  font-style: italic;
}

.socialTags {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 55px;
}

.socialTags a {
  background: var(--btn-green);
  color: var(--btn-green-text);

  border: 3px solid var(--btn-green);
  border-radius: var(--btn-radius);

  padding: 11px 28px;

  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  text-decoration: none;

  transition: all 0.3s ease;
}
.socialTags a:hover {
  background: transparent;
  color: var(--btn-green);
  border: 3px solid var(--btn-green);
}
.socialGallery {
  display: flex;
  gap: 34px;

  width: max-content;

  animation: contactSocialMove 38s linear infinite;
}

.socialGallery:hover {
  animation-play-state: paused;
}

.socialGallery a {
  position: relative;
  flex-shrink: 0;

  width: 260px;
  height: 300px;

  border-radius: var(--radius-main);
  overflow: hidden;

  box-shadow: 0 16px 32px rgba(110,55,27,0.2);
}

.socialGallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.videoCard::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;

  width: 20px;
  height: 20px;

  border-radius: 50%;
  background: rgba(255,255,255,0.9);
}

.contactPlayIcon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;

  width: 0;
  height: 0;

  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 45px solid rgba(255,255,255,0.95);

  transform: translate(-38%, -50%);
  filter: drop-shadow(0 5px 12px rgba(0,0,0,0.3));
}

@keyframes contactSocialMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}


/* ================= CONTACT QUICK FAQ ================= */
.contactQuickFaq {
  padding: 50px 8% 95px;
  background:
    radial-gradient(circle at 50% 60%, rgba(255,189,135,0.22), transparent 32%),
    var(--bg-light);
  overflow: hidden;
}

.quickFaqList {
  max-width: 470px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.quickFaqCard {
  border-bottom: 2px solid rgba(110,55,27,0.72);
}

.quickFaqQuestion {
  width: 100%;
  min-height: 58px;
  border: none;
  background: transparent;
  color: var(--text-brown);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  text-align: left;
  cursor: pointer;
}

.quickFaqQuestion span:first-child {
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.35;
}

.quickFaqArrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border-top: 4px solid var(--text-brown);
  border-left: 4px solid var(--text-brown);
  border-radius: 3px;
  transform: rotate(-135deg);
  transition: transform 0.3s ease;
}

.quickFaqCard.active .quickFaqArrow {
  transform: rotate(45deg);
}

/* Smooth accordion transition */
.quickFaqAnswer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding-bottom: 0;
}

.quickFaqCard.active .quickFaqAnswer {
  max-height: 500px; /* adjust if your content is taller */
  padding-bottom: 16px;
}

.quickFaqAnswer p {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.55;
}

.viewAllFaqsWrap {
  text-align: center;
  margin-top: 34px;
}

.viewAllFaqsBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 38px;
  border-radius: var(--btn-radius);
  border: 2px solid var(--btn-orange);
  background: var(--btn-orange);
  color: var(--btn-orange-text);
  font-size: var(--text-xs);
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.viewAllFaqsBtn:hover {
  background: transparent;
  color: var(--btn-orange);
}

/* ================= FOOTER ================= */
.contactFooter {
  background: var(--brown-main);
  padding-top: 90px;
}


/* ================= TABLET ================= */
@media screen and (max-width: 1100px) {
  .contactHero {
    height: 300px;
  }

  .contactMainInner {
    gap: 45px;
  }

  .contactImage {
    height: 280px;
  }
}


/* ================= MOBILE ================= */
@media screen and (max-width: 600px) {
  .contactHero {
    height: 290px;
    margin-top: 0;
  }

  .contactHero h1 {
    font-size: 54px;
  }

  .contactHero::after {
    height: 70px;
  }

  .contactMainSection {
    padding: 48px 26px 62px;
  }

  .contactMainInner {
    grid-template-columns: 1fr;
    gap: 38px;
    text-align: center;
  }

  .contactImage {
    order: 2;
    height: 220px;
  }

  .contactInfo {
    order: 1;
  }

  .contactInfo h2 {
    font-size: 40px;
  }

  .contactInfo p {
    font-size: 10px;
  }

  .contactDirectionBtn {
    padding: 10px 26px;
    font-size: 10px;
    margin-bottom: 26px;
  }

  .contactPhone {
    margin: 0 auto 12px;
    font-size: 10px;
    justify-content: center;
  }

  .contactFollow {
    font-size: 10px;
  }

  .contactSocialIcons {
    justify-content: center;
  }

  .contactSocialIcons img {
    width: 34px;
    height: 34px;
  }

  .contactHoursBtn {
    font-size: 10px;
    padding: 8px 18px;
  }

  .contactSocialSection {
    padding: 20px 0 50px;
  }

  .contactSocialSection h2 {
    font-size: 34px;
  }

  .socialTags {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 38px;
  }

  .socialTags a {
    min-width: 150px;
    padding: 10px 22px;
    font-size: 10px;
  }

  .socialGallery {
    gap: 24px;
    animation-duration: 30s;
  }

  .socialGallery a {
    width: 180px;
    height: 250px;
    border-radius: 24px;
  }

  .contactPlayIcon {
    border-top-width: 24px;
    border-bottom-width: 24px;
    border-left-width: 34px;
  }

  .contactQuickFaq {
    padding: 42px 30px 70px;
  }

  .quickFaqQuestion {
    min-height: 62px;
  }

  .quickFaqQuestion span:first-child {
    font-size: 11px;
  }

  .quickFaqAnswer > p {
    font-size: 10px;
  }

  .viewAllFaqsBtn {
    padding: 11px 30px;
    font-size: 10px;
  }

  .contactFooter {
    padding-top: 60px;
  }
}
@media screen and (max-width: 768px) {
  .socialGallery {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    animation: none; /* remove desktop scroll animation */
    padding-bottom: 10px;
  }

  .socialGallery a {
    flex: 0 0 auto; /* prevents shrinking */
    scroll-snap-align: start;
    width: 200px; /* adjust size for mobile */
    height: 240px;
    border-radius: 24px;
  }
}
/* ================= CONTACT SOCIAL AUTO SCROLL ================= */
@media screen and (max-width: 768px) {
  .socialGallery {
    display: flex;
    gap: 16px;
    width: max-content; /* total width based on items */
    animation: socialScroll 30s linear infinite; /* auto scroll */
    overflow: hidden; /* hide overflow outside viewport */
  }

  .socialGallery a {
    flex: 0 0 auto;
    width: 180px; /* adjust for mobile */
    height: 250px;
    border-radius: 24px;
  }

  @keyframes socialScroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%); /* scroll half width to loop seamlessly */
    }
  }
}