/* ===================================================================
   Nautical Aerial & Fitness Studio — Brand: blue / black / pearl white
   =================================================================== */

:root {
  --navy: #070f1c;
  --navy-2: #0b1c30;
  --blue-deep: #0b3d66;
  --blue: #1e90d6;
  --blue-bright: #38b6ff;
  --pearl: #f6f4ee;
  --pearl-dim: #e7e2d4;
  --ink: #10151f;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --radius: 14px;
  --shadow: 0 20px 40px -20px rgba(3, 10, 20, 0.6);
  --container: 1180px;
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--pearl);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo-word {
  font-family: 'Playfair Display', serif;
  margin: 0 0 0.5rem;
  line-height: 1.15;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); letter-spacing: 0.5px; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; }

em { font-style: italic; color: var(--blue-bright); }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue-bright);
  margin-bottom: 0.75rem;
}

.section {
  padding: 5.5rem 0;
}

.section-dark {
  background: var(--navy);
  color: var(--pearl);
}

.section-dark .eyebrow { color: var(--blue-bright); }

.section-lead {
  max-width: 640px;
  font-size: 1.05rem;
  opacity: 0.85;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--whatsapp-dark); box-shadow: 0 10px 24px -8px rgba(37,211,102,0.6); }

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-outline:hover { background: rgba(255,255,255,0.08); }

.btn-large { padding: 1rem 2rem; font-size: 1.05rem; }
.btn-small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }

.icon-wa { width: 1.1em; height: 1.1em; fill: currentColor; flex-shrink: 0; }

/* ---------------- Header / Nav ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 15, 28, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--pearl);
}
.logo-mark {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  display: block;
}
.logo-mark img { width: 100%; height: 100%; object-fit: cover; display: block; }
.logo-word {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--pearl);
  margin: 0;
}
.logo-word-footer { font-size: 1.3rem; }
.footer-brand { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.5rem; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.nav-links a:not(.btn) {
  color: var(--pearl-dim);
  font-weight: 500;
  font-size: 0.95rem;
}
.nav-links a:not(.btn):hover { color: var(--blue-bright); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--pearl);
  display: block;
}

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-slide.is-active { opacity: 1; }

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,15,28,0.92) 0%, rgba(7,15,28,0.6) 35%, rgba(7,15,28,0.2) 60%, rgba(7,15,28,0.02) 85%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--pearl);
  max-width: 960px;
  padding-top: 2rem;
}
.hero-content .eyebrow { color: var(--blue-bright); }
.hero-tagline {
  font-size: 1.2rem;
  max-width: 720px;
  opacity: 0.9;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.hero-ctas .btn-outline { color: var(--pearl); border-color: rgba(246,244,238,0.5); }

.hero-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.hero-dots span {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(246,244,238,0.35);
}
.hero-dots span.is-active { background: var(--blue-bright); }

/* ---------------- Photo frames ----------------
   Wraps a real <img> with consistent sizing/cropping. */
.photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  display: block;
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide.photo-frame { position: absolute; inset: 0; border-radius: 0; min-height: 100%; }
.hero-slide.photo-frame img { object-position: center 20%; }

/* ---------------- About ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}
.about-copy p { color: rgba(246,244,238,0.85); }
.about-copy strong { color: var(--pearl); }

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
  max-width: 420px;
}
.about-photos .photo-frame { aspect-ratio: 3/4; }

.badge-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.badge-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}
.badge-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
  padding: 3px;
}
.badge-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; display: block; }
.badge-chip-stat .badge-mark { background: var(--pearl); color: var(--navy); flex-direction: column; line-height: 1; font-size: 0.9rem; padding: 0; }
.badge-chip-stat .badge-mark small { font-size: 0.5rem; font-weight: 600; }

.specialties { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 1.75rem; }
.specialty-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.specialty-list li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.95rem; }
.specialty-icon { font-size: 1.2rem; }

.specialty-feature {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: rgba(30,144,214,0.14);
  border: 1px solid rgba(56,182,255,0.35);
  border-radius: calc(var(--radius) - 4px);
  padding: 1.1rem;
  margin-bottom: 1.5rem;
}
.specialty-feature-icon { font-size: 1.7rem; line-height: 1; flex-shrink: 0; }
.specialty-feature h3 { font-size: 1rem; margin-bottom: 0.35rem; color: var(--pearl); }
.specialty-feature p { font-size: 0.88rem; color: rgba(246,244,238,0.85); margin: 0; }

/* ---------------- Equipment / Classes ---------------- */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 1.5rem;
  margin: 2.5rem 0 3rem;
}
.equipment-card { min-width: 0; }
.equipment-card .photo-frame { height: auto; aspect-ratio: 4/5; margin-bottom: 1rem; }
.equipment-card h3 { margin-bottom: 0.3rem; }
.equipment-card p { color: #444; font-size: 0.92rem; }

.class-types {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.class-type-card {
  background: var(--pearl-dim);
  border-radius: var(--radius);
  padding: 1.75rem;
  border-top: 4px solid var(--blue);
}
.class-type-card p { color: #444; font-size: 0.92rem; margin-bottom: 0; }

/* ---------------- Pricing ---------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.price-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}
.price-card h3 { color: var(--pearl-dim); font-size: 1.05rem; }
.price { font-family: 'Playfair Display', serif; font-size: 2.2rem; margin: 0.3rem 0; color: var(--pearl); }
.price-sub { font-size: 0.8rem; opacity: 0.65; margin: 0; }

.price-card-featured {
  background: linear-gradient(160deg, var(--blue-deep), var(--blue));
  border-color: transparent;
  position: relative;
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.price-tag {
  position: absolute;
  top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--pearl); color: var(--navy);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px;
  padding: 0.3rem 0.9rem; border-radius: 999px;
}

.price-card-pt .pt-list { list-style: none; margin: 0.5rem 0 0; padding: 0; text-align: left; }
.price-card-pt .pt-list li {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0; border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
}
.price-card-pt .pt-list li:last-child { border-bottom: none; }
.price-card-pt .pt-list strong { color: var(--blue-bright); }

/* ---------------- Gallery ---------------- */
.gallery-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 2rem 0 1.75rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid #ccc;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  color: #333;
}
.filter-btn.is-active { background: var(--navy); color: var(--pearl); border-color: var(--navy); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

/* Full-bleed on desktop: break the grid out to the viewport edges and add
   a 4th column so the extra width doesn't just widen the gaps. */
@media (min-width: 961px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding: 0 1.5rem;
  }
}
.gallery-item { aspect-ratio: 1; min-width: 0; }
.gallery-item .photo-frame { border-radius: 10px; }
.gallery-item.is-hidden { display: none; }

/* ---------------- Contact ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
}
.contact-grid > * { min-width: 0; }

.map-embed { width: 100%; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.25rem; border: 1px solid rgba(255,255,255,0.15); aspect-ratio: 16/9; }
.map-embed iframe { display: block; width: 100%; height: 100%; filter: grayscale(0.15) contrast(1.05); }

address { font-style: normal; opacity: 0.85; margin-bottom: 1.25rem; line-height: 1.5; }

.hours-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; }
.hours-table caption { text-align: left; font-weight: 700; margin-bottom: 0.6rem; color: var(--pearl); }
.hours-table th, .hours-table td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-weight: 400; }
.hours-table th { color: var(--pearl-dim); font-weight: 600; }

.contact-links { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-links .btn-outline { border-color: rgba(255,255,255,0.3); color: var(--pearl); }

.reviews-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 1.25rem;
}
.reviews-title { color: #ffd166; letter-spacing: 2px; margin-bottom: 0.4rem; }

.booking-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
}
.booking-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pearl-dim);
  margin-bottom: 1rem;
}
.booking-form input, .booking-form select, .booking-form textarea {
  font-family: inherit;
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  color: var(--pearl);
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus {
  outline: 2px solid var(--blue-bright);
  outline-offset: 1px;
}
.form-note { font-size: 0.78rem; opacity: 0.6; margin: 0.75rem 0 0.5rem; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: #04080f;
  color: var(--pearl-dim);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; align-self: center; }
.footer-links a:hover { color: var(--blue-bright); }
.footer-copy { text-align: center; font-size: 0.8rem; opacity: 0.5; margin: 0; }

/* ---------------- Sticky WhatsApp float ---------------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 58px; height: 58px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,0.5);
  z-index: 60;
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* =================== Responsive =================== */
@media (max-width: 960px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
  .class-types, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card-featured { transform: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .map-embed { aspect-ratio: 16/9; max-height: 200px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.5rem;
    gap: 1rem;
    display: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.is-open { display: flex; }
  .nav-links .btn { justify-content: center; }

  .equipment-grid, .class-types, .pricing-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .price-card-featured { transform: none; }
  .hero { min-height: 100vh; }
}
