/* Prevent FOUT: header nav fades in after fonts have time to load */
@keyframes navFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.nav-menu,
.header .info-btn {
  animation: navFadeIn 0.25s ease 0.2s both;
}

/* Screen reader only - accessible hidden content (Google-approved pattern) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.testimonials-section .testimonial-content p {
  position: relative;
  padding: 0 28px;
}
.testimonials-section .testimonial-content p::before,
.testimonials-section .testimonial-content p::after {
  position: absolute;
  color: var(--secondary-color);
  font-family: "Playfair Display", serif;
  line-height: 1;
  opacity: 0.9;
}
.testimonials-section .testimonial-content p::before {
  content: "\201C";
  left: 0;
  top: -12px;
  font-size: 42px;
}
.testimonials-section .testimonial-content p::after {
  content: "\201D";
  right: 0;
  bottom: -18px;
  font-size: 38px;
}
@media (max-width: 968px) {
  .testimonials-section .testimonial-content p {
    padding: 0 20px;
  }
  .testimonials-section .testimonial-content p::before {
    font-size: 34px;
    top: -10px;
  }
  .testimonials-section .testimonial-content p::after {
    font-size: 30px;
    bottom: -14px;
  }
}

/* Hero slider: .slide-heading replicates all h2 styles so the tag can be <p> for SEO */
.slide-content .slide-heading {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6), 0 0 40px rgba(0,0,0,0.3);
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  letter-spacing: 2px;
  line-height: 1.2;
}
.slide.active .slide-content .slide-heading {
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
}
.slide-content p {
  text-shadow: 0 1px 8px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.25);
}
/* Responsive: match original h2 breakpoints exactly */
@media (max-width: 968px) {
  .slide-content .slide-heading { font-size: 36px; }
}
@media (max-width: 480px) {
  .slide-content .slide-heading { font-size: 28px; }
}
@media (min-width: 1366px) and (max-width: 1920px) {
  .slide-content .slide-heading { font-size: 44px; }
}
@media (min-width: 1921px), (min-width: 1024px) and (min-resolution: 2dppx) {
  .slide-content .slide-heading { font-size: 53px; }
}

/* Home films carousel arrows: match films page main section position */
body.home-page .films-carousel-wrapper .carousel-arrow {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
body.home-page #filmsPrev {
  left: -70px !important;
  right: auto !important;
}
body.home-page #filmsNext {
  right: -70px !important;
  left: auto !important;
}
@media (max-width: 968px) {
  body.home-page #filmsPrev {
    left: -8px !important;
  }
  body.home-page #filmsNext {
    right: -8px !important;
    left: auto !important;
  }
}

/* Mobile: fix blog card image-to-text gap on home page */
@media (max-width: 968px) {
  body.home-page .blog-section .blog-image {
    height: auto !important;
  }
  body.home-page .blog-section .blog-image img {
    height: auto !important;
    object-fit: contain !important;
  }
  body.home-page .blog-section .blog-content {
    padding: 15px !important;
  }
  body.home-page .booking-section + .portfolio-section {
    margin-top: -15% !important;
  }
  body.home-page .portfolio-section {
    margin-bottom: -15% !important;
  }
  .photography-gallery-section {
    margin-top: 0 !important;
    padding-top: 40px !important;
    margin-bottom: -12% !important;
  }
  body.home-page .portfolio-section + .films-section {
    margin-top: 10% !important;
  }
}

/* Mobile: keep all 4 trusted platform cards equal size */
@media (max-width: 968px) {
  .trusted-grid {
    align-items: stretch;
  }
  .trusted-card {
    width: 100%;
    min-height: 170px;
    height: 170px;
    justify-content: space-between;
  }
}

/* ── Form success message & field validation (moved from inline <style>) ── */
.success-wrap {
  text-align: center;
  padding: 60px 20px 80px;
  animation: successFadeIn .8s ease
}

@keyframes successFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

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

.success-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, #c9a84c, #dfc06f);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  box-shadow: 0 8px 30px rgba(201, 168, 76, .35)
}

.success-icon i {
  font-size: 40px;
  color: #fff
}

.success-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, .81vw + 6px, 31px);
  color: #1a1a1a;
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 1px
}

.success-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(12px, .53vw + 5px, 20px);
  color: #666;
  max-width: min(74vw, 760px);
  margin: 0 auto 30px;
  line-height: 1.6
}

@media (min-width:1366px) and (max-width:1920px) {
  .success-sub {
    font-size: clamp(12px, .61vw, 18px) !important;
    max-width: min(72vw, 760px) !important
  }
}

@media (min-width:1921px),
(min-width:1024px) and (min-resolution:2dppx) {
  .success-sub {
    font-size: clamp(20px, 1.11vw, 37px) !important;
    max-width: min(68vw, 1200px) !important;
    line-height: 1.5
  }
}

.success-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #c9a84c, #dfc06f);
  margin: 0 auto 25px;
  border-radius: 2px
}

.success-contact {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(11px, .35vw + 8px, 16px);
  color: #888;
  letter-spacing: .5px
}

@media (min-width:1366px) and (max-width:1920px) {
  .success-contact {
    font-size: clamp(13px, .5vw + 6px, 16px) !important
  }
}

.success-contact a {
  color: #c9a84c;
  text-decoration: none;
  font-weight: 500
}

.field-error {
  display: block;
  color: #c62828;
  font-size: 12px;
  margin-top: 4px;
  min-height: 16px;
  font-family: 'Montserrat', sans-serif
}



