/* ==========================================================
   Surf Dolphin Morocco — style.css
   Pure vanilla CSS · Grid & Flexbox · No frameworks, no libraries
   ========================================================== */

:root {
  --sand: #f8f2e7;
  --sand-2: #efe4d0;
  --ocean: #0d3540;
  --ocean-2: #155e6b;
  --ocean-3: #2b8a99;
  --orange: #f08a1d;
  --orange-2: #ffb35c;
  --ink: #22211e;
  --grey: #6b6760;
  --grey-2: #8b877e;
  --radius: 22px;
  --shadow-lg: 0 24px 60px rgba(13, 53, 64, .14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
section { padding: 90px 0; }

.eyebrow { color: var(--orange); font-weight: 800; font-size: .85rem; letter-spacing: 1.5px; text-transform: uppercase; }
.eyebrow.light { color: var(--orange-2); }

h1, h2, h3 { line-height: 1.2; color: var(--ocean); }
h2 { font-size: clamp(1.8rem, 4vw, 2.9rem); font-weight: 900; margin-top: 10px; }
h2.light { color: #fff; }
.accent { color: var(--orange); }

.lead { color: var(--grey); line-height: 1.9; margin-top: 16px; }
.lead.light { color: rgba(255, 255, 255, .72); }

.section-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: .95rem;
  padding: 15px 32px; border-radius: 999px;
  transition: transform .3s, box-shadow .3s, background .3s;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: #d97706; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(240, 138, 29, .35); }
.btn-ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .4); }
.btn-ghost:hover { background: rgba(255, 255, 255, .25); }
.btn-dark { background: var(--ocean); color: #fff; }
.btn-dark:hover { background: var(--ocean-2); transform: translateY(-3px); }
.btn-outline { border: 2px solid var(--ocean); color: var(--ocean); }
.btn-outline:hover { background: var(--ocean); color: #fff; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- Header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: linear-gradient(180deg, rgba(13, 53, 64, .55), transparent);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  background: #fdf8ef; box-shadow: 0 2px 10px rgba(13, 53, 64, .2);
}
.brand .name { font-weight: 900; font-size: 1.05rem; line-height: 1.15; color: #fff; }
.brand .name small { display: block; font-weight: 700; font-size: .65rem; color: var(--orange-2); letter-spacing: 3px; }
.nav-links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.nav-links > a { font-weight: 700; font-size: .9rem; color: rgba(255, 255, 255, .92); transition: color .2s; }
.nav-links > a:hover { color: var(--orange-2); }
.btn-nav { padding: 11px 24px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 150px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("images/hero.jpg") center / cover no-repeat;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(13, 53, 64, .88) 0%, rgba(13, 53, 64, .45) 55%, rgba(13, 53, 64, .1) 100%);
}
.hero-content { position: relative; z-index: 2; }
.badge {
  display: inline-flex; gap: 8px; align-items: center;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; font-size: .8rem; font-weight: 700;
  padding: 9px 18px; border-radius: 999px; margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 900;
  color: #fff; max-width: 660px;
}
.hero h1 .accent { color: var(--orange-2); }
.hero p { color: rgba(255, 255, 255, .88); font-size: 1.05rem; line-height: 1.9; max-width: 560px; margin-top: 20px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-meta {
  display: flex; gap: 26px; flex-wrap: wrap; margin-top: 38px;
  color: rgba(255, 255, 255, .85); font-size: .88rem; font-weight: 700;
}
.hero-meta a { color: inherit; }
.hero-meta a:hover { color: var(--orange-2); }

.waves { position: absolute; bottom: 0; left: 0; right: 0; z-index: 3; line-height: 0; overflow: hidden; }
.waves svg { width: 200%; height: 90px; display: block; position: absolute; bottom: 0; }
.w1 { animation: drift 14s linear infinite; opacity: .45; }
.w2 { animation: drift 26s linear infinite reverse; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats { padding: 60px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 26px; text-align: center;
}
.stats-grid .num { font-size: 2.7rem; font-weight: 900; color: var(--ocean-2); }
.stats-grid .num b { color: var(--orange); font-weight: 900; }
.stats-grid .lbl { font-size: .8rem; font-weight: 700; color: var(--grey-2); margin-top: 6px; }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; align-items: center;
}
.about-media { position: relative; }
.about-img {
  border-radius: 28px; overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.2deg); transition: transform .5s;
}
.about-img:hover { transform: rotate(0); }
.about-img img { height: 430px; width: 100%; object-fit: cover; }
.float-card {
  position: absolute; bottom: -24px; right: -8px;
  background: #fff; border-radius: 18px;
  box-shadow: 0 16px 40px rgba(13, 53, 64, .18);
  padding: 18px 26px;
}
.float-card .big { font-size: 1.9rem; font-weight: 900; color: var(--orange); }
.float-card .sm { font-size: .72rem; font-weight: 700; color: var(--grey-2); }

/* ---------- Packages ---------- */
.packs { background: linear-gradient(180deg, var(--sand-2), var(--sand)); }
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}
.pack {
  position: relative; background: #fff;
  border: 1.5px solid var(--sand-2); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column;
  transition: transform .35s, box-shadow .35s;
}
.pack:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pack.popular { border-color: var(--orange); box-shadow: 0 18px 44px rgba(240, 138, 29, .16); }
.pack .pop {
  position: absolute; top: -14px; right: 22px;
  background: var(--orange); color: #fff;
  font-size: .7rem; font-weight: 800;
  padding: 6px 16px; border-radius: 999px;
}
.pack-top { display: flex; align-items: flex-start; justify-content: space-between; }
.pack .emoji { font-size: 2.3rem; }
.pack .tag {
  font-size: .68rem; font-weight: 800;
  color: var(--ocean-3); background: rgba(43, 138, 153, .1);
  padding: 5px 12px; border-radius: 999px;
}
.pack h3 { font-size: 1.4rem; font-weight: 800; margin-top: 14px; }
.pack .dur { font-size: .75rem; font-weight: 800; color: var(--orange); margin-top: 4px; }
.pack .desc { font-size: .88rem; color: var(--grey); line-height: 1.8; margin-top: 10px; }
.pack ul { margin: 16px 0 22px; flex: 1; }
.pack li {
  font-size: .85rem; color: #4c4944; padding: 5px 0;
  display: flex; gap: 9px; align-items: flex-start;
}
.pack li::before { content: "✓"; color: var(--ocean-3); font-weight: 900; }
.pack-foot {
  border-top: 1px solid var(--sand-2); padding-top: 18px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}
.pricing .from { font-size: .68rem; color: var(--grey-2); display: block; }
.pricing .custom { font-size: 1.15rem; font-weight: 900; color: var(--ocean); }
.pricing .unit { font-size: .68rem; color: var(--grey-2); display: block; }
.pack-cta {
  background: var(--ocean); color: #fff;
  font-size: .8rem; font-weight: 800;
  padding: 12px 20px; border-radius: 999px;
  transition: background .25s, transform .25s;
  white-space: nowrap;
}
.pack-cta:hover { background: #25d366; transform: translateY(-2px); }

/* ---------- Spots ---------- */
.spots { background: var(--ocean); color: #fff; }
.spots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
}
.spot {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px; padding: 24px;
  transition: background .3s, transform .3s;
}
.spot:hover { background: rgba(255, 255, 255, .1); transform: translateY(-5px); }
.spot-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.spot h3 { color: #fff; font-size: 1.25rem; font-weight: 800; }
.lvl { font-size: .68rem; font-weight: 800; padding: 5px 13px; border-radius: 999px; white-space: nowrap; }
.lvl.beg { background: #d1fae5; color: #047857; }
.lvl.int { background: #fef3c7; color: #b45309; }
.lvl.adv { background: #fee2e2; color: #b91c1c; }
.lvl.all { background: #ede9fe; color: #6d28d9; }
.spot p { font-size: .85rem; color: rgba(255, 255, 255, .72); line-height: 1.8; margin-top: 10px; }
.spot-meta {
  display: flex; gap: 16px; margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .75rem; font-weight: 700; color: rgba(255, 255, 255, .6);
}

/* ---------- Timeline ---------- */
.day { background: linear-gradient(180deg, var(--sand), #fdf9f1); }
.timeline { max-width: 760px; margin: 0 auto; position: relative; }
.timeline::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 24px;
  width: 2px; background: var(--sand-2);
}
.tl-item { display: flex; gap: 22px; margin-bottom: 32px; position: relative; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  width: 50px; height: 50px; flex-shrink: 0;
  background: var(--orange); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; z-index: 2;
  box-shadow: 0 8px 20px rgba(240, 138, 29, .35);
}
.tl-card {
  background: #fff; border: 1px solid var(--sand-2);
  border-radius: 18px; padding: 20px 24px; flex: 1;
  transition: transform .3s, box-shadow .3s;
}
.tl-card:hover { transform: translateX(6px); box-shadow: 0 12px 30px rgba(13, 53, 64, .08); }
.tl-card .time { color: var(--orange); font-weight: 900; font-size: .8rem; }
.tl-card h3 { font-size: 1.1rem; font-weight: 800; margin-top: 3px; }
.tl-card p { font-size: .85rem; color: var(--grey); line-height: 1.8; margin-top: 5px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-auto-rows: 230px; gap: 16px;
}
.g-item { border-radius: 20px; overflow: hidden; position: relative; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.g-item:hover img { transform: scale(1.08); }
.g-item figcaption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(13, 53, 64, .85));
  color: #fff; font-size: .82rem; font-weight: 700;
}
.g-tall { grid-row: span 2; }

/* ---------- Reviews ---------- */
.reviews { background: var(--sand-2); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 24px;
}
.rev {
  background: #fff; border-radius: var(--radius);
  padding: 30px; box-shadow: 0 14px 36px rgba(13, 53, 64, .08);
  display: flex; flex-direction: column;
  transition: transform .3s;
}
.rev:hover { transform: translateY(-5px); }
.rev .stars { color: var(--orange); font-size: 1.05rem; letter-spacing: 3px; }
.rev p { font-size: .9rem; line-height: 1.9; color: #4c4944; font-style: italic; margin: 16px 0 20px; flex: 1; }
.rev footer { border-top: 1px solid var(--sand-2); padding-top: 14px; }
.rev footer b { display: block; color: var(--ocean); font-size: .95rem; }
.rev footer span { font-size: .75rem; color: var(--grey-2); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px; max-width: 900px; margin: 0 auto;
}
.contact-line {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--sand-2);
  border-radius: 16px; padding: 18px 20px;
  transition: transform .25s, box-shadow .25s;
}
.contact-line:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(13, 53, 64, .1); }
.contact-line .ic {
  width: 46px; height: 46px; flex-shrink: 0;
  border-radius: 12px; background: rgba(240, 138, 29, .12);
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem;
}
.contact-line small { display: block; font-weight: 600; color: var(--grey-2); font-size: .72rem; }
.contact-line b { color: var(--ocean); font-size: .95rem; }

/* ---------- CTA band ---------- */
.cta-section { padding-top: 0; }
.cta-band {
  background: linear-gradient(120deg, var(--orange), var(--orange-2));
  border-radius: 32px; padding: 64px 40px;
  text-align: center; position: relative; overflow: hidden;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .92); max-width: 560px; margin: 14px auto 28px; line-height: 1.9; }

/* ---------- Footer ---------- */
footer { background: var(--ocean); color: rgba(255, 255, 255, .75); margin-top: 90px; }
.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; padding: 64px 0 44px;
}
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.foot-brand img { width: 46px; height: 46px; border-radius: 50%; }
.foot-brand span { color: #fff; font-weight: 900; font-size: .95rem; line-height: 1.2; }
.foot-brand small { display: block; color: var(--orange-2); letter-spacing: 3px; font-size: .6rem; }
footer h4 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 14px; }
footer a { display: block; font-size: .88rem; padding: 5px 0; transition: color .2s; }
footer a:hover { color: var(--orange-2); }
footer p { font-size: .88rem; padding: 5px 0; line-height: 1.8; }
footer p a { display: inline; padding: 0; }
.open-note { color: var(--orange-2); font-weight: 700; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0; text-align: center;
  font-size: .75rem; color: rgba(255, 255, 255, .45);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  section { padding: 64px 0; }
  .nav { flex-wrap: wrap; height: auto; padding: 14px 0; gap: 12px; }
  .nav-links { width: 100%; justify-content: center; gap: 16px; }
  .nav-links > a { font-size: .8rem; }
  .about-grid { grid-template-columns: 1fr; }
  .float-card { right: 8px; }
  .about-img img { height: 300px; }
  .hero { padding: 170px 0 130px; }
  .pack-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .pack-cta { text-align: center; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 2.1rem; }
  .btn { padding: 13px 24px; font-size: .88rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band { padding: 44px 22px; }
}
