/* ═══════════════════════════════════════════════════════
   THE COD'S SCALLOPS — Global Stylesheet
   Fox ITC Ltd | codsscallops.com
   ═══════════════════════════════════════════════════════ */

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

:root {
  --blue:       #1a2f5e;
  --blue-mid:   #2a4a8a;
  --blue-light: #3a6fc4;
  --teal:       #00b5ad;
  --yellow:     #f5c518;
  --orange:     #e8722a;
  --orange-dk:  #d4611f;
  --white:      #ffffff;
  --off-white:  #f4f8ff;
  --text-dark:  #1a2f5e;
  --text-body:  #444;
  --border:     #e0e8f0;

  --font-head:  'Nunito', sans-serif;
  --font-body:  'Nunito Sans', sans-serif;

  --radius:     12px;
  --radius-lg:  20px;
  --shadow-sm:  0 4px 16px rgba(0,0,0,0.07);
  --shadow-md:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.16);
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; }
a { transition: color 0.2s; }

/* ─── UTILITY ─── */
.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.section-title {
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.1;
}

/* ─── PROMO BAR ─── */
.promo-bar {
  background: var(--blue);
  color: white;
  text-align: center;
  padding: 10px 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

/* ─── HEADER ─── */
header {
  background: white;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.logo { flex-shrink: 0; }
.logo img { height: 50px; width: auto; display: block; }

/* Main nav */
.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; }

.main-nav > ul > li { position: relative; }

.main-nav a {
  text-decoration: none;
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-radius: 6px;
  display: block;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover { color: var(--orange); background: rgba(232,114,42,0.06); }

.main-nav a.active { color: var(--orange); }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: white;
  min-width: 170px;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 8px;
  z-index: 300;
  border: 1px solid var(--border);
}
.has-dropdown:hover .dropdown { display: block; }
.dropdown a {
  font-size: 0.82rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--blue);
  padding: 9px 14px;
  border-radius: 6px;
}
.dropdown a:hover { background: var(--off-white); color: var(--orange); }

/* Order button in nav */
.nav-order-btn {
  background: var(--orange) !important;
  color: white !important;
  padding: 10px 22px !important;
  border-radius: 30px !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.07em !important;
  margin-left: 8px;
  box-shadow: 0 4px 16px rgba(232,114,42,0.3);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s !important;
}
.nav-order-btn:hover {
  background: var(--orange-dk) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,114,42,0.4) !important;
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--blue);
  border-radius: 2px;
  transition: 0.3s;
}

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  background: linear-gradient(140deg, var(--blue) 0%, var(--blue-mid) 60%, #1a4a8a 100%);
  padding: 80px 24px 110px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 64px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .eyebrow { color: var(--yellow); margin-bottom: 10px; display: block; }
.page-hero h1 {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  text-transform: uppercase;
  line-height: 1.1;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 30px;
  padding: 13px 30px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 4px 20px rgba(232,114,42,0.3);
}
.btn-primary:hover { background: var(--orange-dk); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,114,42,0.4); color: white; }
.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.1); color: white; }
.btn-blue {
  background: var(--blue);
  color: white;
}
.btn-blue:hover { background: var(--blue-mid); transform: translateY(-2px); color: white; }
.btn-lg { padding: 17px 40px; font-size: 1rem; }

/* ─── COLLECT / DELIVERY BUTTONS ─── */
.btn-collect {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--orange);
  color: white;
  transition: all 0.2s;
}
.btn-collect:hover { background: var(--orange-dk); transform: translateY(-1px); }
.btn-delivery {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  transition: all 0.2s;
}
.btn-delivery:hover { border-color: white; transform: translateY(-1px); }

/* ─── FOOTER ─── */
footer {
  background: var(--blue);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 48px 24px 32px;
}
.footer-wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}
.footer-wave img { height: 22px; opacity: 0.55; }
.footer-wave .living { height: 34px; opacity: 0.88; }
.footer-nav { margin-bottom: 24px; }
.footer-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 20px;
}
.footer-nav a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 6px;
  transition: color 0.2s;
}
.footer-nav a:hover { color: white; }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
}
.footer-copy a { color: rgba(255,255,255,0.55); text-decoration: none; }
.footer-copy a:hover { color: white; }

/* ─── SECTION HELPERS ─── */
.section-pad { padding: 80px 24px; }
.section-pad-sm { padding: 48px 24px; }
.container { max-width: 1200px; margin: 0 auto; }
.container-sm { max-width: 900px; margin: 0 auto; }

.bg-blue   { background: var(--blue); }
.bg-offwhite { background: var(--off-white); }
.bg-white  { background: white; }

/* Wave top/bottom clip helpers */
.wave-top::before {
  content: '';
  display: block;
  height: 64px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 0%);
  margin-top: -2px;
}
.wave-bottom::after {
  content: '';
  display: block;
  height: 64px;
  background: white;
  clip-path: ellipse(55% 100% at 50% 100%);
  margin-bottom: -2px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: white;
    padding: 16px 24px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 250;
    border-top: 1px solid var(--border);
  }
  .main-nav.open { display: flex; flex-direction: column; }
  .main-nav > ul { flex-direction: column; gap: 4px; width: 100%; }
  .main-nav > ul > li { width: 100%; }
  .main-nav a { width: 100%; }
  .dropdown { position: static; box-shadow: none; border: none; padding: 4px 0 4px 16px; background: transparent; }
  .has-dropdown:hover .dropdown { display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-order-btn { display: none; }
  .mobile-toggle { display: flex; }
  header { position: sticky; }
}
