/* ============================================================
   SandBar Coastal Kitchen — style.css
   Palette: deep navy · warm cream · sunset coral · seafoam
   ============================================================ */

:root {
  --navy:    #0C2233;
  --navy-lt: #143350;
  --teal:    #1E7A6E;
  --coral:   #C8553D;
  --cream:   #F5F0E8;
  --sand:    #E8DFC9;
  --light:   #FDFAF6;
  --text:    #1A1A2E;
  --muted:   #6B7280;
  --white:   #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.65;
  font-size: 1rem;
}

/* ---- Typography helpers ---- */
.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.5rem;
}

.eyebrow.light { color: var(--sand); }

.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-title.light { color: var(--white); }

.section-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-lead.light { color: rgba(255,255,255,0.75); }

.section-header { margin-bottom: 3.5rem; }

/* ============================================================
   NAVBAR
   ============================================================ */
#mainNav {
  background: transparent;
  padding: 1.1rem 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

#mainNav.scrolled {
  background: var(--navy);
  padding: 0.65rem 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.22);
}

#mainNav:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(12,34,51,0.75) 0%, rgba(12,34,51,0) 100%);
}

.nav-logo {
  border-radius: 6px;
  object-fit: contain;
  background: rgba(255,255,255,0.08);
  padding: 2px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.brand-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.88);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.75rem;
  transition: color 0.2s;
}

.navbar-nav .nav-link:hover { color: var(--white); }

.btn-nav-order {
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.45rem 1.3rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
}

.btn-nav-order:hover {
  background: #b0472f;
  color: var(--white);
  transform: translateY(-1px);
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.35);
  padding: 0.3rem 0.6rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: url('img/hero.webp') center 25% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.50) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  background: rgba(0,0,0,0.18);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  max-width: 640px;
  width: 90%;
}

.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.75rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(3.5rem, 10vw, 6rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.1rem, 3.5vw, 1.75rem);
  color: rgba(255,255,255,0.92);
  font-style: italic;
  letter-spacing: 0.05em;
  margin-bottom: 0.85rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

.hero-tagline {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.9);
}

.btn-hero-primary {
  background: var(--coral);
  color: var(--white);
  border: 2px solid var(--coral);
  border-radius: 50px;
  padding: 0.7rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.btn-hero-primary:hover {
  background: #b0472f;
  border-color: #b0472f;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,85,61,0.4);
}

.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50px;
  padding: 0.7rem 2rem;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   PILLARS
   ============================================================ */
.pillars-section {
  background: var(--light);
  padding: 6rem 0 5rem;
}

.pillar-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  border: 1px solid var(--sand);
  transition: transform 0.25s, box-shadow 0.25s;
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(12,34,51,0.10);
}

.pillar-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--white);
}

.pillar-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.pillar-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   MENU SECTION
   ============================================================ */
.menu-section {
  background: var(--navy);
  padding: 6rem 0 5rem;
}

/* Menu tabs */
.menu-tabs { margin-bottom: 2.5rem; }

.menu-tab {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
  border-radius: 50px;
  padding: 0.5rem 1.75rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s;
}

.menu-tab:hover,
.menu-tab.active {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
}

.menu-tab-pane { display: none; }
.menu-tab-pane.active { display: block; }

.menu-img {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  width: 100%;
  display: block;
}

.btn-order-big {
  background: var(--coral);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: all 0.2s;
}

.btn-order-big:hover {
  background: #b0472f;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,85,61,0.45);
}

/* ============================================================
   EVENTS & CATERING
   ============================================================ */
.events-section {
  background: var(--cream);
  padding: 6rem 0 5rem;
}

.events-img {
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(12,34,51,0.14);
  width: 100%;
  object-fit: cover;
  max-height: 420px;
}

.events-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.events-list li {
  padding: 0.45rem 0;
  font-size: 0.97rem;
  color: var(--text);
  border-bottom: 1px solid rgba(12,34,51,0.07);
}

.events-list li:last-child { border: none; }

.events-list i { color: var(--teal); font-size: 1.05rem; }

.events-urgency {
  font-size: 0.92rem;
  color: var(--coral);
  font-weight: 500;
}

.btn-events {
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 0.75rem 2.2rem;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.btn-events:hover {
  background: var(--navy-lt);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12,34,51,0.25);
}

/* ============================================================
   LOCATION
   ============================================================ */
.location-section {
  background: var(--light);
  padding: 6rem 0 5rem;
}

.location-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem 2rem;
  border: 1px solid var(--sand);
}

.location-row {
  display: flex;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--sand);
}

.location-row:first-child { padding-top: 0.5rem; }
.location-row:last-child { border: none; padding-bottom: 0.25rem; }

.loc-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy), var(--teal));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  margin-top: 0.1rem;
}

.location-row h5 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.location-row p {
  font-size: 0.94rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

.loc-note {
  font-size: 0.82rem !important;
  color: #9CA3AF !important;
  margin-top: 0.2rem !important;
}

.location-row a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.location-row a:hover { color: var(--navy); }

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(12,34,51,0.10);
  height: 100%;
  min-height: 380px;
}

.map-wrapper iframe { display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  padding: 4rem 0 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 2rem;
}

.footer-name {
  display: block;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.5rem;
  color: var(--white);
}

.footer-sub {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.75rem;
}

.footer-address {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin: 0;
  line-height: 1.5;
}

.footer-address a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-address a:hover { color: var(--white); }

.footer-center { text-align: center; }

.social-row a {
  color: rgba(255,255,255,0.55);
  font-size: 1.4rem;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
  display: inline-block;
}

.social-row a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.footer-nav a {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--white); }

.footer-right { text-align: right; }

.powered-by {
  display: inline-block;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 0.7rem 1.2rem;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  line-height: 1.4;
  text-decoration: none;
  transition: all 0.2s;
}

.powered-by:hover {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

.powered-by strong { color: var(--white); }

.pw-bolt {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.15rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.75rem;
  margin-bottom: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }

  .navbar-collapse {
    background: var(--navy);
    padding: 1rem 1.5rem 1.5rem;
    border-radius: 0 0 12px 12px;
    margin-top: 0.5rem;
  }

  .navbar-nav .nav-link { padding: 0.6rem 0; }

  .btn-nav-order {
    display: inline-block;
    margin-top: 0.75rem;
  }
}

@media (max-width: 767px) {
  .hero-content { padding: 2rem 1.5rem; }
  .pillars-section, .menu-section, .events-section, .location-section { padding: 4rem 0; }
  .section-header { margin-bottom: 2.5rem; }
}

@media (max-width: 575px) {
  .hero-title { font-size: 3rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .footer-inner { gap: 2.5rem; }
}
