/* ===========================================================================
  SurfWithMitch — landing page styles
 =========================================================================== */

:root {
  --navy: #0A2540;
  --accent: #2563EB;
  --ink: #1A1A1A;
  --text: #374151;
  --muted: #6B7280;
  --line: rgba(255, 255, 255, 0.18);
  --space-x: clamp(20px, 5vw, 128px);
}
* { box-sizing: border-box; }

html { 
  scroll-behavior: smooth; 
}
body {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

img { 
  display: block; 
}
input, textarea, button { 
  font-family: inherit; 
}
input:focus, textarea:focus { 
  outline: none; 
  border-color: var(--accent); 
}
/* --- Shared helpers ------------------------------------------------------- */
.container { 
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: var(--space-x);
} 
.display {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 600;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  font-weight: 500;
  font-size: 18px;
  padding: 16px 28px;
  white-space: nowrap;
  cursor: pointer;
}
.btn.btn--sm { 
  font-size: 18px; 
  padding: 14px 32px; 
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.btn--ghost:hover { 
  background: rgba(255, 255, 255, 0.28); 
}
.contact__submit {
  align-self: flex-start;
  padding-inline: 34px;
}

#about, #services, #trips, #gallery, #contact {
  scroll-margin-top: 88px;
}
/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 780px;
  padding-top: 88px;
  background: var(--navy);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(10, 37, 64, 0.75) 0%,
    rgba(10, 37, 64, 0.25) 35%,
    rgba(10, 37, 64, 0.55) 100%);
}
.hero__copy {
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--space-x);
  position: relative;
  z-index: 3;
  padding-block: 64px;
}
.hero__eyebrow { 
  color: rgba(255, 255, 255, 0.85); 
  margin-bottom: 22px; 
}
.hero__title {
  color: #fff;
  font-size: 92px;
  line-height: 0.92;
  letter-spacing: -0.015em;
  margin: 0 0 24px;
  max-width: 780px;
}
.hero__sub { 
  color: rgba(255, 255, 255, 0.9); 
  font-size: 17px; 
  letter-spacing: 0.3px; 
  margin: 24px 0; 
}
.hero__actions { 
  display: flex; 
  align-items: center; 
  gap: 24px; 
}
.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 2;
  display: block;
}

/* --- Navigation ----------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(10, 37, 64, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.nav__inner {
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--space-x);
  padding-block: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.nav__brand-mark { 
  font-size: 24px; 
}
.nav__brand-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: middle;
  object-fit: contain;
}
.nav__right { 
  display: flex; 
  align-items: center; 
  gap: 36px; 
}
.nav__links { 
  display: flex; 
  align-items: center; 
  gap: 32px; 
  font-size: 16px; 
}
.nav__links a { 
  color: rgba(255, 255, 255, 0.9); 
  text-decoration: none; 
}
.nav__links a:hover { 
  color: #fff; 
}

/* --- Floating booking bar ------------------------------------------------- */

.booking {
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--space-x);
  margin-top: 50px;
  position: relative;
  z-index: 5;
}
.booking__card {
  /* max-width: 780px; */
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(10, 37, 64, 0.16);
  border: 1px solid #EEF0F3;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.booking__loc { 
  display: flex; 
  align-items: center; 
  gap: 14px; flex: 1; 
  min-width: 260px; 
}
.booking__icon { 
  color: var(--accent); 
  font-size: 22px; 
}
.booking__label { 
  font-size: 11px; 
  letter-spacing: 2px; 
  text-transform: uppercase; color: var(--muted); font-weight: 600; 
}
.booking__place { 
  font-size: 17px; 
  font-weight: 600; 
  color: var(--ink); 
  margin-top: 2px; 
}
.booking__avail { 
  font-size: 12px;
  color: var(--muted); 
  margin-top: 2px; 
}
.booking__price { 
  text-align: right; 
  padding-right: 6px; 
}
.booking__price-label { 
  font-size: 12px; 
  color: var(--muted); 
}
.booking__price-value { 
  font-size: 17px; 
  font-weight: 700; 
  color: var(--ink); 
}
.booking__price-value span { 
  font-weight: 500; 
  color: var(--muted); 
  font-size: 13px; 
}
/* --- About ---------------------------------------------------------------- */

.about {
  padding-block: 120px 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;   /* text | image */
  gap: 64px;
  align-items: center;
}
.about__title {
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 26px;
  color: var(--navy);
}
.about__text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  margin: 0 0 18px;
  max-width: 460px;
}
.about__text:last-child {
  margin-bottom: 0;
}

/* right column — single image fills it */
.about__media {
  height: 100%;
}
.about__photo--wave {
  width: 100%;
  height: 520px;               /* the tall enlarged photo */
  object-fit: cover;
  border-radius: 4px;
}
/* --- Services ------------------------------------------------------------- */
.services {
  position: relative;
  padding: 96px 0 104px;
  overflow: hidden;
  background: var(--navy);
}
.services__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('assets/surfPhotos/avif/mitchBarrel-2.avif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.services__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 37, 64, 0.55), rgba(10, 37, 64, 0.45));
}
.services__inner { 
  position: relative; 
  z-index: 2; 
}
.services__head { 
  text-align: center; 
  margin-bottom: 46px; 
}
.services__title { 
  font-size: 44px; 
  letter-spacing: 0.01em; 
  color: #fff; 
  margin: 0 0 12px; 
}
.services__sub { 
  color: rgba(255, 255, 255, 0.85); font-size: 15px; margin: 0; 
}
.services__grid { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr);
  gap: 22px; 
}
.service { 
  text-align: center; 
}
.service__img { 
  width: 100%; 
  height: 350px; 
  object-fit: cover; 
  border-radius: 10px; 
  margin-bottom: 16px; 
}
.service__name { 
  color: #fff; 
  font-weight: 600; 
  font-size: 16px; 
}

/* --- On the world stage (accolades) -------------------------------------- */
.stage { 
  background: var(--navy); 
  padding: 96px 0 104px; 
}
.stage__title { 
  font-size: 42px; 
  letter-spacing: -0.005em; 
  color: #fff; 
  margin: 0 0 40px; 
}
.accolade { 
  display: flex; 
  align-items: baseline; 
  gap: 28px; 
  padding: 22px 0; 
  border-top: 1px solid var(--line); 
}
.accolade__value { 
  font-family: 'Archivo', sans-serif; 
  font-weight: 800; 
  font-size: 26px; 
  color: #fff; 
  min-width: 90px; 
}
.accolade__label { 
  color: rgba(255, 255, 255, 0.82); 
  font-size: 16px; 
}
.stage__rule { 
  border-top: 1px solid var(--line); 
}

/* --- Gallery -------------------------------------------------------------- */

.gallery { 
  padding-block: 110px 100px; 
}
.gallery__title { 
  font-size: 42px; 
  letter-spacing: -0.005em; 
  color: var(--navy); 
  margin: 0 0 40px; 
}
.gallery__grid { 
  column-count: 3; 
  column-gap: 16px; 
}
.gallery__img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 16px;
  break-inside: avoid;
}
/* Staggered heights create the masonry rhythm (order matches the markup). */
.gallery__img:nth-child(1) { height: 210px; }
.gallery__img:nth-child(2) { height: 300px; }
.gallery__img:nth-child(3) { height: 240px; }
.gallery__img:nth-child(4) { height: 260px; }
.gallery__img:nth-child(5) { height: 220px; }
.gallery__img:nth-child(6) { height: 230px; }
.gallery__img:nth-child(7) { height: 300px; }
.gallery__img:nth-child(8) { height: 220px; }
.gallery__img:nth-child(9) { height: 250px; }

/* --- Testimonials --------------------------------------------------------- */

.testimonials { 
  max-width: 900px;
  margin-inline: auto;
  padding-inline: var(--space-x);
  padding-block: 40px 120px;
  text-align: center;
}
.testimonials__row { 
  display: flex; 
  align-items: center; 
  gap: 28px; 
  justify-content: center; 
}
.testimonials__nav {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #D1D5DB;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
}
.testimonials__nav:hover { 
  border-color: var(--accent); 
  color: var(--accent); 
}
.testimonials__quote { 
  font-size: 24px; 
  line-height: 1.5; 
  color: var(--ink); 
  font-weight: 500; 
  margin: 0; 
  max-width: 620px; 
}
.testimonials__name { 
  margin-top: 34px; 
  font-weight: 700; 
  color: var(--navy); 
  font-size: 16px; 
}
.testimonials__role { 
  color: var(--muted); 
  font-size: 14px; 
  margin-top: 4px; 
}
/* --- Contact -------------------------------------------------------------- */

.contact {
  position: relative;
  background: var(--navy);
  overflow: hidden;
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.contact__bg { 
  position: absolute; 
  inset: 0; 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  z-index: 0; 
}
.contact__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10, 37, 64, 0) 34%, rgba(10, 37, 64, 0.36) 70%, rgba(10, 37, 64, 0.6) 100%),
    linear-gradient(180deg, rgba(10, 37, 64, 0.12), rgba(10, 37, 64, 0.32));
}
.contact__card {
  position: relative;
  z-index: 2;
  width: 440px;
  max-width: calc(100% - 64px);
  margin: 56px clamp(24px, 6vw, 96px);
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 46px 42px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}
.contact__title { 
  font-size: 46px; 
  letter-spacing: 0.02em;
  color: #fff; 
  margin: 0 0 34px; 
}
.field-label { 
  color: rgba(255, 255, 255, 0.85); 
  font-size: 13px; 
  margin-bottom: 8px; 
  display: block; 
}
.field {
  width: 100%;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 15px;
  margin-bottom: 20px;
}
.field--area { 
  resize: vertical; 
  margin-bottom: 24px; 
}
.contact__submit { 
  align-self: flex-start; 
}

.field-error {
  display: none;
  color: #FCA5A5;
  font-size: 12px;
  margin-top: -14px;
  margin-bottom: 14px;
}
.field-error.visible { 
  display: block; 
}
.field.invalid { 
  border-color: #FCA5A5; 
}
.form-status { 
  margin-top: 12px; 
  font-size: 14px; 
}
.form-status.success { 
  color: #6EE7B7; 
}
.form-status.error { 
  color: #FCA5A5; 
}
.visually-hidden {
  position: absolute; 
  width: 1px; 
  height: 1px;
  overflow: hidden; 
  clip: rect(0 0 0 0); 
  white-space: nowrap;
}

/* --- Footer --------------------------------------------------------------- */

.footer { 
  background: var(--navy); 
  color: #fff; 
  padding: 70px 0 40px; 
}
.footer__cols { 
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start; 
  gap: 40px; 
}
.footer__col { 
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
}
.footer__col a { 
  color: rgba(255, 255, 255, 0.8); 
  text-decoration: none; 
}
.footer__col a:hover { 
  color: #fff; 
}
.footer__col--right { 
  text-align: right; 
}
.footer__social { 
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 14px;
  list-style: none;
  margin: 0;
  padding: 0; 
}
.footer__mark { 
  font-size: 30px; 
  color: rgba(255, 255, 255, 0.9); 
}
.footer__wordmark-wrap { 
  text-align: center;
  margin: 56px 0 18px; 
  }
.footer__wordmark {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 118px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #fff;
}
.footer__legal {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 20px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/* --- Scroll-reveal animation --------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(calc(34px * var(--rev-dir, 1)));   /* ← changed */
  transition: opacity 0.85s cubic-bezier(.22, .61, .36, 1), 
  transform 0.85s cubic-bezier(.22, .61, .36, 1);
}
.reveal.in-view { 
  opacity: 1; 
  transform: none; 
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(calc(34px * var(--rev-dir, 1)));   /* ← changed */
  transition: opacity 0.7s cubic-bezier(.22, .61, .36, 1), transform 0.7s cubic-bezier(.22, .61, .36, 1);
}
.reveal-stagger.in-view > * { opacity: 1; transform: none; }
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: .03s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: .09s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: .15s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: .21s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: .27s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: .33s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: .39s; }
.reveal-stagger.in-view > *:nth-child(8) { transition-delay: .45s; }
.reveal-stagger.in-view > *:nth-child(9) { transition-delay: .51s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* --- Responsive ----------------------------------------------------------- */

@media (max-width: 820px) 
{
.nav__brand-icon {
    width: 16px;
    height: 16px;
  }

.nav__right { 
  gap: 16px; 
}
.nav__links { 
  display: none; 
}
.hero__title { 
  font-size: 54px; 
}
.about {
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 80px 40px 70px;
  }
.about__media {
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
.about__photo {
    position: static;
    width: 100%;
    height: 500px;;
  }
.about__photo--wave {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    
  }
  .services__grid {
  grid-template-columns: repeat(2, 1fr); 
}
.gallery__grid { 
  column-count: 1; 
}
.gallery__img { 
  height: auto; 
}
.testimonials__quote { 
  font-size: 19px; 
}
.footer__wordmark { 
  font-size: 52px; 
}
}
@media (max-width: 560px) {
  .services__grid { 
    grid-template-columns: 1fr; 
  }
}
