/* ============================================
   REEF RIDER: shared styles (Concept A base)
   ============================================ */
:root{
  /* Brand palette, taken from the Reef Rider merch sheet */
  --navy:#0c1d2f;         /* brand navy */
  --deep:#0f2436;
  --deeper:#0a1826;
  --reef:#0d8498;         /* reef turquoise */
  --reef-light:#4fc3d8;   /* lighter tint, for text and accents on navy */
  --sand-accent:#b5a08b;  /* brand sand */
  --sand:#ededed;         /* brand white, used for body text */
  --glass:rgba(10,24,38,.62);
  --whatsapp:#25D366;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family:'Inter',sans-serif;
  color:var(--sand);
  background:var(--deeper);
}
h1,h2,h3,.nav-logo,.btn{font-family:'Space Grotesk',sans-serif}

/* The playground is the site */
.bg{
  position:fixed;inset:0;z-index:-1;
  background:url('assets/reef-aerial.jpg') center/cover no-repeat;
}
.bg::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(12,29,47,.42),rgba(12,29,47,.2) 40%,rgba(12,29,47,.58));
}

/* ---------- Nav ---------- */
nav{
  position:fixed;top:0;left:0;right:0;z-index:10;
  display:flex;align-items:center;justify-content:space-between;
  padding:1.1rem 2.2rem;
  background:linear-gradient(180deg,rgba(12,29,47,.85),rgba(12,29,47,.3) 80%,transparent);
}
/* Brand wordmark: the actual Reef Rider logo, traced to vector */
.nav-logo{
  display:flex;align-items:center;
  color:#fff;text-decoration:none;transition:color .2s;
}
.nav-logo svg{height:40px;width:auto;display:block}
.nav-logo:hover{color:var(--reef-light)}
.footer-logo{color:#fff}
.footer-logo svg{height:54px;width:auto;display:block}
.tagline{
  font-family:'Montserrat',sans-serif;font-weight:400;
  text-transform:uppercase;letter-spacing:.3em;font-size:.66rem;
  color:var(--reef-light);
}
.nav-links{display:flex;gap:1.5rem;align-items:center;flex-wrap:wrap}
.nav-links a{
  color:var(--sand);text-decoration:none;font-size:.8rem;
  letter-spacing:.12em;text-transform:uppercase;opacity:.85;transition:.2s;
}
.nav-links a:hover{opacity:1;color:var(--reef-light)}
.nav-links a.active{color:var(--reef-light);opacity:1}
.nav-links a.book{
  border:1px solid var(--reef-light);color:var(--reef-light);
  padding:.45rem 1.1rem;border-radius:99px;opacity:1;
}
.nav-links a.book:hover{background:var(--reef);color:#fff}
.icon{width:18px;height:18px;fill:currentColor;vertical-align:-3px}

/* ---------- Hero ---------- */
header.hero{
  min-height:92vh;display:flex;flex-direction:column;
  justify-content:center;align-items:center;text-align:center;padding:7rem 2rem 3rem;
}
header.hero-small{
  min-height:46vh;display:flex;flex-direction:column;
  justify-content:flex-end;align-items:center;text-align:center;padding:7rem 2rem 3rem;
}
.kicker{
  letter-spacing:.35em;text-transform:uppercase;font-size:.75rem;
  color:var(--reef-light);margin-bottom:1.2rem;font-weight:600;
}
header h1{
  font-size:clamp(2.6rem,8vw,6.5rem);line-height:.95;font-weight:700;
  text-transform:uppercase;letter-spacing:.02em;
  text-shadow:0 4px 40px rgba(0,0,0,.45);
}
/* Page hero with its own photo */
header.hero-photo{
  position:relative;min-height:78vh;
  background-size:cover;background-position:center 45%;
}
header.hero-photo::before{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(12,29,47,.55) 0%,rgba(12,29,47,0) 22%,rgba(12,29,47,0) 55%,rgba(10,24,38,.85) 100%);
}
header.hero-photo > *{position:relative}
header.hero-small h1{font-size:clamp(2.2rem,6vw,4.2rem)}
header p.sub{
  max-width:34rem;margin:1.6rem auto 2.2rem;font-weight:300;
  font-size:1.1rem;line-height:1.7;
}
.btn{
  display:inline-block;background:var(--reef);color:#fff;
  font-weight:700;text-transform:uppercase;
  letter-spacing:.1em;text-decoration:none;font-size:.9rem;
  padding:1rem 2.4rem;border-radius:99px;transition:.2s;border:none;cursor:pointer;
}
.btn:hover{transform:translateY(-2px);box-shadow:0 10px 30px rgba(13,132,152,.5)}
.btn.ghost{background:transparent;border:1px solid var(--reef-light);color:var(--reef-light)}
.btn.ghost:hover{background:var(--reef);color:#fff}

/* ---------- Sections & panels ---------- */
section{padding:4.5rem 2rem;display:flex;justify-content:center}
.panel{
  max-width:1050px;width:100%;
  background:var(--glass);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(237,237,237,.12);border-radius:24px;
  padding:3.2rem;box-shadow:0 30px 60px rgba(0,0,0,.35);
}
.panel.narrow{max-width:850px}
.panel h2{
  font-size:clamp(1.6rem,3.5vw,2.3rem);text-transform:uppercase;
  letter-spacing:.06em;margin-bottom:.4rem;
}
.tag{color:var(--reef-light);font-size:.75rem;letter-spacing:.3em;text-transform:uppercase;font-weight:600}
.panel p{font-weight:300;line-height:1.8;margin-top:1.1rem;opacity:.92}
.panel img{width:100%;border-radius:14px;margin-top:1.8rem;display:block}
.panel a.inline{color:var(--reef-light)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;margin-top:1.8rem}
.split img{margin-top:0;height:100%;object-fit:cover}
.center{text-align:center}

/* ---------- Feature icons row ---------- */
.features{
  display:grid;grid-template-columns:repeat(6,1fr);gap:1.6rem;
  margin-top:2.4rem;text-align:center;
}
.feature .ring{
  width:78px;height:78px;margin:0 auto 1rem;border-radius:50%;
  border:1.5px solid var(--reef-light);display:flex;align-items:center;justify-content:center;
}
.feature .ring svg{width:38px;height:38px;stroke:var(--reef-light);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.feature h3{font-size:.82rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:.3rem}
.feature p{font-size:.78rem;font-weight:300;opacity:.85;margin-top:0;line-height:1.5}

/* ---------- Collage ---------- */
.collage{
  columns:4;column-gap:.8rem;margin-top:2rem;
}
.collage img{
  width:100%;margin:0 0 .8rem;border-radius:10px;display:block;
  transition:transform .25s;
}
.collage img:hover{transform:scale(1.02)}

/* ---------- Services cards ---------- */
.services{
  display:grid;grid-template-columns:repeat(4,1fr);gap:1.4rem;margin-top:2.4rem;
}
.service{
  background:rgba(10,24,38,.66);border:1px solid rgba(237,237,237,.14);
  border-radius:16px;overflow:hidden;display:flex;flex-direction:column;
  transition:transform .25s;
}
.service:hover{transform:translateY(-5px)}
.service .visual{position:relative;height:210px}
.service .visual img{width:100%;height:100%;object-fit:cover;margin:0;border-radius:0}
.service .visual::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 25%,rgba(10,24,38,.9));
}
.service .price{
  position:absolute;top:.8rem;right:.8rem;z-index:2;
  background:var(--reef);color:#fff;border-radius:10px;
  padding:.35rem .7rem;text-align:center;font-family:'Space Grotesk';
  font-weight:700;line-height:1.1;
}
.service .price small{display:block;font-size:.6rem;font-weight:400;text-transform:uppercase;letter-spacing:.08em}
.service .visual h3{
  position:absolute;bottom:.9rem;left:1rem;right:1rem;z-index:2;
  text-transform:uppercase;letter-spacing:.08em;font-size:1rem;
}
.service .body{padding:1.2rem 1.2rem 1.4rem;display:flex;flex-direction:column;flex:1}
.service .body p{font-size:.85rem;font-weight:300;line-height:1.6;margin:0 0 1rem;opacity:.9}
.service .body a{
  margin-top:auto;color:var(--reef-light);text-decoration:none;font-size:.8rem;
  letter-spacing:.12em;text-transform:uppercase;font-weight:600;
}
.service .body a:hover{text-decoration:underline}

/* ---------- Course cards ---------- */
.courses{
  display:grid;grid-template-columns:repeat(2,1fr);gap:1.4rem;margin-top:2rem;
}
.course{
  background:rgba(10,24,38,.6);border:1px solid rgba(237,237,237,.14);
  border-radius:16px;padding:1.8rem;
}
.course-head{
  display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;
  padding-bottom:.9rem;margin-bottom:.9rem;
  border-bottom:1px solid rgba(237,237,237,.14);
}
.course-head h3{
  font-size:1.05rem;text-transform:uppercase;letter-spacing:.06em;line-height:1.3;
}
.course-price{
  font-family:'Space Grotesk';font-weight:700;font-size:1.25rem;color:var(--reef-light);
  text-align:right;line-height:1.1;white-space:nowrap;
}
.course-price small{
  display:block;font-size:.62rem;font-weight:400;color:var(--sand);opacity:.75;
  text-transform:uppercase;letter-spacing:.1em;margin-top:.2rem;
}
.course p{font-size:.9rem;line-height:1.7;margin-top:0}
.course-list{margin:1rem 0 0;padding:0;list-style:none;
  display:grid;grid-template-columns:1fr 1fr;gap:.35rem .9rem;}
.course-list li{
  font-size:.85rem;font-weight:300;opacity:.9;padding-left:1.1rem;position:relative;line-height:1.5;
}
.course-list li::before{
  content:'';position:absolute;left:0;top:.5rem;
  width:6px;height:6px;border-radius:50%;background:var(--reef-light);
}
.course-note{
  margin-top:1rem;font-size:.8rem;font-style:italic;opacity:.75;
}

/* Partner logo (Grenadines Yacht Adventures) */
.partner-logo{color:#fff;margin-bottom:1.8rem}
.partner-logo svg{width:100%;max-width:420px;height:auto;display:block}

/* ---------- Team ---------- */
.team{display:grid;grid-template-columns:1fr 1fr;gap:1.6rem;margin-top:2rem}
.member{
  background:rgba(10,24,38,.6);border:1px solid rgba(237,237,237,.14);
  border-radius:16px;overflow:hidden;display:flex;flex-direction:column;
}
.member .photo{height:420px;overflow:hidden}
.member .photo img{width:100%;height:100%;object-fit:cover;margin:0;border-radius:0}
.member .info{padding:1.6rem 1.7rem 1.8rem}
.member h3{font-size:1.3rem;text-transform:uppercase;letter-spacing:.08em}
.member .role{
  color:var(--reef-light);font-size:.72rem;letter-spacing:.22em;
  text-transform:uppercase;font-weight:600;margin-top:.3rem;
}
.member p{font-size:.92rem;margin-top:.9rem}

/* ---------- Merch ---------- */
.merch-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;margin-top:2.4rem}
.merch-card{
  background:rgba(10,24,38,.6);border:1px solid rgba(237,237,237,.14);
  border-radius:16px;overflow:hidden;display:flex;flex-direction:column;
  transition:transform .25s;
}
.merch-card:hover{transform:translateY(-5px)}
.merch-card .shot{
  background:#e9e9e9;display:flex;align-items:center;justify-content:center;
  height:250px;overflow:hidden;
}
.merch-card .shot img{width:100%;height:100%;object-fit:cover;margin:0;border-radius:0}
.merch-card .info{padding:1.4rem;display:flex;flex-direction:column;flex:1}
.merch-card .info h3{
  font-size:1rem;text-transform:uppercase;letter-spacing:.08em;margin-bottom:.2rem;
}
.merch-card .info .cost{
  font-family:'Space Grotesk';font-weight:700;color:var(--reef-light);font-size:1.1rem;
}
.merch-card .info ul{list-style:none;margin:.9rem 0 0;padding:0}
.merch-card .info li{
  font-size:.82rem;font-weight:300;opacity:.88;line-height:1.6;
  padding-left:1rem;position:relative;
}
.merch-card .info li::before{
  content:'';position:absolute;left:0;top:.55rem;
  width:5px;height:5px;border-radius:50%;background:var(--reef-light);
}
.swatches{display:flex;gap:.9rem;flex-wrap:wrap;margin-top:2rem;justify-content:center}
.swatch{text-align:center;font-size:.68rem;letter-spacing:.1em;text-transform:uppercase;opacity:.85}
.swatch i{
  display:block;width:46px;height:46px;border-radius:50%;margin:0 auto .5rem;
  border:1px solid rgba(237,237,237,.3);
}

/* ---------- Price list ---------- */
.price-list{margin-top:1.8rem;width:100%;border-collapse:collapse}
.price-list th,.price-list td{
  text-align:left;padding:.9rem .6rem;border-bottom:1px solid rgba(237,237,237,.14);
  font-weight:300;font-size:.95rem;
}
.price-list th{font-family:'Space Grotesk';font-weight:700;text-transform:uppercase;font-size:.78rem;letter-spacing:.12em;color:var(--reef-light)}
.price-list td:last-child{text-align:right;font-family:'Space Grotesk';font-weight:700;color:var(--reef-light)}

/* ---------- WhatsApp button ---------- */
.whatsapp{
  display:inline-flex;align-items:center;gap:.6rem;margin-top:1.6rem;
  background:var(--whatsapp);color:#062b17;font-weight:600;text-decoration:none;
  padding:1rem 2rem;border-radius:99px;font-size:.95rem;transition:.2s;
}
.whatsapp:hover{transform:translateY(-2px)}
.whatsapp .icon{width:22px;height:22px}

/* ---------- Footer (all pages) ---------- */
footer{
  margin-top:3rem;
  background:linear-gradient(0deg,var(--navy) 55%,rgba(12,29,47,.9));
  border-top:1px solid rgba(237,237,237,.1);
  padding:3.5rem 2.2rem 2rem;
}
.footer-grid{
  max-width:1050px;margin:0 auto;display:grid;
  grid-template-columns:1.2fr 1fr;gap:3rem;
}
.footer-grid h3{
  font-size:1.3rem;letter-spacing:.14em;text-transform:uppercase;margin-bottom:.8rem;
}
.footer-grid h3 span{color:var(--reef-light)}
.footer-grid p{font-weight:300;font-size:.9rem;line-height:1.7;opacity:.85}
.footer-social{display:flex;gap:.9rem;margin-top:1.4rem}
.footer-social a{
  width:42px;height:42px;border:1.5px solid var(--sand);border-radius:50%;
  display:flex;align-items:center;justify-content:center;color:var(--sand);transition:.2s;
}
.footer-social a:hover{border-color:var(--reef-light);color:var(--reef-light)}
.footer-contact li{
  list-style:none;display:flex;gap:.7rem;align-items:flex-start;
  font-weight:300;font-size:.9rem;line-height:1.6;margin-bottom:.9rem;opacity:.9;
}
.footer-contact .icon{flex-shrink:0;margin-top:.15rem;color:var(--reef-light)}
.footer-contact a{color:var(--sand);text-decoration:none}
.footer-contact a:hover{color:var(--reef)}
.footer-bottom{
  max-width:1050px;margin:2.5rem auto 0;padding-top:1.4rem;
  border-top:1px solid rgba(237,237,237,.1);
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:.6rem;
  font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;opacity:.7;
}

/* ---------- Responsive ---------- */
@media(max-width:1000px){
  .features{grid-template-columns:repeat(3,1fr)}
  .services{grid-template-columns:repeat(2,1fr)}
  .collage{columns:3}
  .courses{grid-template-columns:1fr}
}
@media(max-width:760px){
  .nav-logo svg{height:32px}
  .footer-logo svg{height:44px}
  .nav-links{gap:.9rem}
  .nav-links a:not(.book):not(.social){display:none}
  .panel{padding:2rem}
  .split{grid-template-columns:1fr}
  .features{grid-template-columns:repeat(2,1fr)}
  .services{grid-template-columns:1fr}
  .collage{columns:2}
  .footer-grid{grid-template-columns:1fr}
  .courses{grid-template-columns:1fr}
  .course-list{grid-template-columns:1fr}
  .team{grid-template-columns:1fr}
  .member .photo{height:360px}
}
