/* ==========================================================================
   Sea Ride Taxi — Shared Design System
   Tokens, layout primitives, and components reused across all pages.
   ========================================================================== */

:root{
  /* Sourced directly from the Sea Ride logo: cyan "Sea" fading into navy "Ride",
     with the sunset-orange icon as the accent. */
  --ink-tide:   #0B2A57;   /* deep navy — "Ride", text on light bg, dark sections */
  --tide-deep:  #123A6E;
  --ride-blue:  #1C4F9C;   /* primary brand blue */
  --sea-blue:   #2AA9DE;   /* "Sea" cyan-blue */
  --adriatic:   #2AA9DE;   /* alias kept for compatibility */
  --foam:       #CDEBF7;   /* light sky tint, hero backgrounds */
  --foam-dim:   #E7F5FB;
  --amber:      #F3A93E;   /* sunset icon orange */
  --amber-dark: #DC8E1F;
  --amber-light:#FBCE7C;
  --sand:       #F7F5F0;
  --sand-dim:   #EFEAE0;
  --white:      #FFFFFF;
  --ink-soft:   #3C567C;

  --font-display: 'Fraunces', serif;
  --font-script:  'Alex Brush', cursive;
  --font-body:    'Manrope', sans-serif;

  --container: 1280px;
}

*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family: var(--font-body);
  background: var(--sand);
  color: var(--ink-tide);
  -webkit-font-smoothing: antialiased;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
:focus-visible{ outline:2px solid var(--amber); outline-offset:3px; border-radius:4px; }

.container{
  width:100%;
  max-width: var(--container);
  margin:0 auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:0.6rem;
  font-family: var(--font-body); font-size:1rem; font-weight:700;
  padding:1rem 1.9rem; border-radius:999px; border:1.5px solid transparent;
  cursor:pointer; white-space:nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary{
  background: var(--amber); color: var(--ink-tide);
  box-shadow: 0 8px 24px -8px rgba(240,167,59,.55);
}
.btn-primary:hover{ background: var(--amber-dark); transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(240,167,59,.65); }
.btn-primary svg{ transition: transform .2s ease; }
.btn-primary:hover svg{ transform: translateX(3px); }

.btn-secondary-dark{
  background: transparent; color: var(--sand);
  border-color: rgba(246,241,231,.35);
}
.btn-secondary-dark:hover{ border-color: var(--foam); background: rgba(191,227,234,.08); transform: translateY(-2px); }

.btn-secondary-light{
  background: transparent; color: var(--ink-tide);
  border-color: rgba(10,31,53,.25);
}
.btn-secondary-light:hover{ border-color: var(--adriatic); background: rgba(46,125,166,.06); transform: translateY(-2px); }

/* ---------- Header / Nav ---------- */
.site-header{
  position: sticky; top:0; z-index: 50;
  display:flex; align-items:center; justify-content:space-between;
  padding: 1rem clamp(1.5rem, 5vw, 4rem);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(11,42,87,0.08);
  box-shadow: 0 4px 20px -12px rgba(11,42,87,0.15);
}
.logo{ display:flex; align-items:center; }
.logo-img{
  height: 64px; width:auto; display:block;
  background: var(--white);
  border-radius: 12px;
  padding: 6px 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,.18);
}
@media (max-width: 720px){ .logo-img{ height: 52px; } }
.site-nav{ display:flex; align-items:center; gap:clamp(1.25rem,2.5vw,2.5rem); font-size:.85rem; font-weight:600; }
.nav-links{ display:flex; gap:clamp(1.25rem,2.5vw,2.5rem); }
.site-nav a{ color: var(--ink-soft); transition: color .2s ease; }
.site-nav a:hover, .site-nav a.active{ color: var(--ink-tide); }
.site-nav a.active{ color: var(--sea-blue); }
.site-nav a.nav-cta{
  color: var(--white); background: var(--ink-tide);
  padding:.65rem 1.3rem; border-radius:999px; font-weight:700;
}
.site-nav a.nav-cta:hover{ background: var(--ride-blue); color: var(--white); }

@media (max-width:820px){ .nav-links{ display:none; } }

/* ---------- Page Hero (interior pages) ---------- */
.page-hero{
  position:relative; overflow:hidden;
  background: linear-gradient(160deg, var(--foam) 0%, var(--sea-blue) 120%);
  color: var(--ink-tide);
  padding: clamp(4rem,9vw,6rem) 0 7rem;
}
.page-hero::before{
  content:""; position:absolute; top:-25%; right:-8%;
  width:50vw; height:50vw;
  background: radial-gradient(circle, rgba(243,169,62,.18), transparent 70%);
  filter: blur(10px); pointer-events:none;
}
.eyebrow{
  display:inline-flex; align-items:center; gap:.6rem;
  font-size:.72rem; font-weight:700; letter-spacing:.2em; text-transform:uppercase;
  color: var(--amber-dark); background: rgba(255,255,255,.55);
  border:1px solid rgba(11,42,87,.15); padding:.5rem 1rem; border-radius:999px;
  margin-bottom:1.5rem;
}
.eyebrow .dot{
  width:7px; height:7px; border-radius:50%; background: var(--amber);
  animation: pulse 2.2s infinite;
}
@keyframes pulse{
  0%{ box-shadow:0 0 0 0 rgba(243,169,62,.55);} 70%{ box-shadow:0 0 0 9px rgba(243,169,62,0);} 100%{ box-shadow:0 0 0 0 rgba(243,169,62,0);}
}
.page-hero h1{
  font-family: var(--font-display); font-weight:700;
  font-size: clamp(2.4rem, 5.2vw, 3.8rem); line-height:1.08; letter-spacing:-.01em;
  color: var(--ink-tide); max-width:18ch; position:relative; z-index:2;
}
.page-hero h1 .script{
  font-family: var(--font-script); font-weight:400; font-size:1.25em; color:var(--ride-blue);
  display:inline-block; line-height:.8; padding-left:.1em;
}
.page-hero p.lead{
  margin-top:1.5rem; font-size:clamp(1rem,1.5vw,1.15rem); line-height:1.65;
  color: var(--ink-soft); max-width:52ch; position:relative; z-index:2;
}

/* Wave divider used at base of dark hero sections */
.wave-wrap{ position:relative; left:0; right:0; bottom:-1px; z-index:1; line-height:0; margin-top:-4.5rem; }
.wave-wrap svg{ display:block; width:100%; height:auto; }
.wave-back{ animation: drift 22s linear infinite; }
.wave-front{ animation: drift 14s linear infinite reverse; }
@keyframes drift{ 0%{transform:translateX(0);} 100%{transform:translateX(-25%);} }
@media (prefers-reduced-motion: reduce){ .wave-back,.wave-front,.eyebrow .dot{ animation:none; } }

/* ---------- Sections ---------- */
.section{ padding: clamp(4rem,8vw,6rem) 0; }
.section-dark{ background: var(--ink-tide); color: var(--sand); }
.section-tinted{ background: var(--sand-dim); }

.section-head{ max-width: 640px; margin-bottom: 3rem; }
.section-head .kicker{
  font-size:.72rem; font-weight:800; letter-spacing:.2em; text-transform:uppercase;
  color: var(--adriatic); margin-bottom:.75rem; display:block;
}
.section-dark .section-head .kicker{ color: var(--amber); }
.section-head h2{
  font-family: var(--font-display); font-weight:700; font-size: clamp(1.8rem,3.4vw,2.6rem);
  line-height:1.15; color: var(--ink-tide);
}
.section-dark .section-head h2{ color: var(--white); }
.section-head p{ margin-top:1rem; color: var(--ink-soft); line-height:1.6; }
.section-dark .section-head p{ color: rgba(246,241,231,.75); }

/* ---------- Grids & Cards ---------- */
.grid{ display:grid; gap: 1.75rem; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width:980px){ .grid-3,.grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width:620px){ .grid-2,.grid-3,.grid-4{ grid-template-columns: 1fr; } }

.card{
  background: var(--white);
  border: 1px solid rgba(10,31,53,.08);
  border-radius: 18px;
  padding: 2rem 1.75rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{ transform: translateY(-4px); box-shadow: 0 20px 40px -20px rgba(10,31,53,.25); border-color: rgba(46,125,166,.25); }
.card .icon{
  width:48px; height:48px; border-radius:12px;
  background: rgba(46,125,166,.1); color: var(--adriatic);
  display:flex; align-items:center; justify-content:center; margin-bottom:1.25rem;
}
.card h3{ font-family: var(--font-display); font-size:1.15rem; font-weight:600; margin-bottom:.5rem; color: var(--ink-tide); }
.card p{ font-size:.92rem; line-height:1.6; color: var(--ink-soft); }

.card-dark{ background: rgba(246,241,231,.04); border-color: rgba(246,241,231,.1); }
.card-dark h3{ color: var(--white); }
.card-dark p{ color: rgba(246,241,231,.7); }
.card-dark .icon{ background: rgba(240,167,59,.12); color: var(--amber); }
.card-dark:hover{ box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); border-color: rgba(240,167,59,.3); }

/* ---------- Stats ---------- */
.stat{ text-align:left; }
.stat .num{ font-family: var(--font-display); font-size: clamp(2.2rem,4vw,3rem); font-weight:700; color: var(--amber); line-height:1; }
.stat .label{ margin-top:.5rem; font-size:.85rem; font-weight:600; color: var(--ink-soft); }
.section-dark .stat .label{ color: rgba(246,241,231,.7); }

/* ---------- Badges / pills ---------- */
.pill{
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.78rem; font-weight:700; padding:.45rem .9rem; border-radius:999px;
  background: rgba(46,125,166,.1); color: var(--adriatic);
}

/* ---------- Forms ---------- */
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:1.25rem; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.field{ display:flex; flex-direction:column; gap:.5rem; min-width:0; }
.field.full{ grid-column: 1 / -1; }
.field label{ font-size:.82rem; font-weight:700; color: var(--sand); }
.field input, .field select, .field textarea{
  font-family: var(--font-body); font-size:.95rem;
  width:100%; box-sizing:border-box;
  padding:.85rem 1rem; border-radius:10px;
  border:1.5px solid rgba(246,241,231,.18);
  background: rgba(246,241,231,.05); color: var(--sand);
}
.field input::placeholder, .field textarea::placeholder{ color: rgba(246,241,231,.4); }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--amber); background: rgba(246,241,231,.08);
}
.field textarea{ resize: vertical; min-height: 110px; }

/* ---------- Quick Booking Bar ---------- */
.booking-bar{
  position:relative; z-index:3;
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(11,42,87,.25);
  padding: 1.75rem;
  margin-top: -5.5rem;
  display:grid;
  grid-template-columns: minmax(0,1.15fr) minmax(0,1.15fr) minmax(0,1fr) minmax(0,1.15fr) minmax(0,.95fr) minmax(0,.8fr);
  gap: 1rem 1.25rem;
  align-items:end;
}
.booking-bar .field label{ color: var(--ink-tide); font-size:.75rem; letter-spacing:.02em; }
.booking-bar .field input{
  background: var(--sand); color: var(--ink-tide);
  border: 1.5px solid rgba(11,42,87,.12);
  padding: .75rem .9rem; font-size:.88rem;
}
.booking-bar .field input::placeholder{ color: rgba(11,42,87,.4); }
.booking-bar .field input:focus{ border-color: var(--sea-blue); background: var(--white); }
.booking-bar .field.span-2{ grid-column: span 1; }
.booking-bar .btn-primary{ width:100%; justify-content:center; padding:.85rem 1.5rem; }
@media (max-width: 980px){
  .booking-bar{ grid-template-columns: repeat(2, minmax(0,1fr)); margin-top: 2rem; }
  .booking-bar .field.full-bar{ grid-column: 1 / -1; }
}
@media (max-width: 560px){
  .booking-bar{ grid-template-columns: 1fr; padding: 1.5rem; }
}

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink-tide); color: rgba(246,241,231,.7); padding: 3.5rem 0 2rem; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr .9fr .9fr 1.1fr 1.3fr; gap: 2.25rem; }
@media (max-width:1024px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width:820px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width:480px){ .footer-grid{ grid-template-columns: 1fr; } }
.site-footer h4{ color: var(--sand); font-size:.82rem; letter-spacing:.08em; text-transform:uppercase; margin-bottom:1rem; font-weight:800; }
.site-footer ul{ list-style:none; display:flex; flex-direction:column; gap:.6rem; font-size:.9rem; }
.site-footer ul a:hover{ color: var(--amber); }
.footer-bottom{
  margin-top:3rem; padding-top:1.75rem; border-top:1px solid rgba(246,241,231,.1);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:1rem;
  font-size:.8rem; color: rgba(246,241,231,.45);
}
