/* ============================================================
   Sandbar at Jetties Beach — style.css
   Palette: Navy #1B2E3C | Teal #2A8FA0 | Coral #E05A2B | Sand #F8F3EA
   ============================================================ */

:root {
  --navy:       #1B2E3C;
  --navy-light: #243d50;
  --teal:       #2A8FA0;
  --teal-dark:  #1f6f7d;
  --coral:      #E05A2B;
  --coral-dark: #c44b1f;
  --sand:       #F8F3EA;
  --sand-dark:  #EDE5D5;
  --warm-white: #FFFDF8;
  --text:       #2C2C2C;
  --text-muted: #6B6B6B;
  --font-head:  'Cormorant Garamond', Georgia, serif;
  --font-body:  'DM Sans', sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--warm-white);
  overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
}

.section-heading {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--navy);
}

.section-heading.light {
  color: #fff;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 560px;
}

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

.section-pad {
  padding: 90px 0;
}

.divider-line {
  width: 60px;
  height: 3px;
  background: var(--coral);
  border: none;
  margin: 16px 0 24px;
}

.divider-line.centered {
  margin: 16px auto 24px;
}

.divider-line.teal {
  background: var(--teal);
}

/* ── LOGO ── */
.navbar-logo-img {
  height: 52px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.8)) drop-shadow(0 0 12px rgba(0,0,0,0.5));
  transition: opacity 0.2s, filter 0.2s;
}

.navbar-logo-img:hover {
  opacity: 0.88;
  filter: drop-shadow(0 1px 6px rgba(0,0,0,0.9)) drop-shadow(0 0 16px rgba(0,0,0,0.6));
}

.hero-logo-wrap {
  display: inline-block;
  margin: 0 auto 28px;
}

.hero-logo-img {
  height: 140px;
  width: auto;
  display: block;
  filter:
    drop-shadow(0 0 3px rgba(0,0,0,1))
    drop-shadow(0 4px 28px rgba(0,0,0,0.95))
    drop-shadow(0 0 70px rgba(0,0,0,0.7));
}

.shop-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.shop-logo-img {
  height: 72px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1) drop-shadow(0 1px 4px rgba(0,0,0,0.25));
}

.footer-logo-wrap {
  display: inline-block;
  margin-bottom: 18px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  display: block;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
}

/* ── NAVBAR ── */
#mainNav {
  transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
  padding: 18px 0;
  background: transparent;
}

#mainNav.scrolled {
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  padding: 10px 0;
}

#mainNav .navbar-brand {
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

#mainNav .nav-link {
  color: rgba(255,255,255,0.88) !important;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px !important;
  transition: color 0.2s;
}

#mainNav .nav-link:hover {
  color: #fff !important;
}

.navbar-toggler {
  border: 1px solid rgba(255,255,255,0.4);
  padding: 6px 10px;
}

.navbar-toggler .bi {
  color: #fff;
  font-size: 1.4rem;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 48%, rgba(0,0,0,0.40) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.30) 0%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0.50) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 52px 64px;
  background: rgba(0,0,0,0.28);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 2px;
  max-width: 800px;
  width: 90%;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  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);
  margin-bottom: 12px;
}

.hero-title {
  font-size: clamp(3.2rem, 9vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  color: #fff;
  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);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 1.0rem;
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  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);
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.hero-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  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);
  letter-spacing: 0.08em;
}

.btn-hero {
  background: var(--coral);
  color: #fff;
  border: 2px solid transparent;
  padding: 15px 44px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: inline-block;
  box-shadow: 0 4px 20px rgba(224,90,43,0.45);
}

.btn-hero:hover {
  background: transparent;
  border-color: rgba(255,255,255,0.9);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(0,0,0,0.3);
}

/* ── WAVE DIVIDER ── */
.wave-divider {
  display: block;
  width: 100%;
  margin-top: -2px;
  background: var(--sand);
}

/* ── HIGHLIGHTS BAR ── */
#highlights {
  background: var(--teal);
}

.highlights-row {
  display: flex;
}

.highlight-item {
  padding: 28px 16px;
  text-align: center;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.highlight-item:last-child {
  border-right: none;
}

.highlight-item .bi {
  font-size: 1.7rem;
  opacity: 0.9;
}

.highlight-item span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── MENU SECTION ── */
#menu {
  background: var(--sand);
}

.menu-tabs .nav-link {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 28px;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.menu-tabs .nav-link.active {
  color: var(--navy);
  border-bottom-color: var(--coral);
  background: transparent;
}

.menu-tabs .nav-link:hover:not(.active) {
  color: var(--navy);
}

.menu-tabs {
  border-bottom: 1px solid rgba(0,0,0,0.12);
  margin-bottom: 44px;
}

.menu-category {
  margin-bottom: 44px;
}

.menu-category-title {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
  text-transform: capitalize;
}

.menu-category-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-style: italic;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item-name {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--navy);
  flex-shrink: 0;
}

.menu-item-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  flex: 1;
  padding-left: 10px;
  font-style: italic;
}

.menu-item-price {
  font-weight: 700;
  color: var(--teal);
  font-size: 0.93rem;
  flex-shrink: 0;
  font-family: var(--font-body);
}

.menu-add-on {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
  padding-left: 0;
}

/* drink sections */
.drink-section-title {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.drink-price-badge {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.drink-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.drink-item:last-child {
  border-bottom: none;
}

.drink-item-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.93rem;
}

.drink-item-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

.drink-item-price {
  font-weight: 700;
  color: var(--coral);
  font-size: 0.9rem;
}

.harbor-note {
  font-size: 0.76rem;
  color: var(--teal);
  font-style: italic;
  margin-top: 3px;
}

.wine-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  gap: 8px;
}

.wine-item:last-child { border-bottom: none; }

.wine-name {
  font-size: 0.88rem;
  color: var(--navy);
}

.wine-name em {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.wine-price {
  font-weight: 700;
  color: var(--teal);
  font-size: 0.88rem;
  flex-shrink: 0;
}

/* ── EVENTS SECTION ── */
#events {
  background: var(--navy);
}

.events-intro {
  max-width: 580px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-grid img:hover {
  opacity: 0.88;
  transform: scale(1.02);
}

.btn-outline-light-custom {
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 12px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-block;
  border-radius: 2px;
  margin-top: 32px;
}

.btn-outline-light-custom:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
}

/* ── ABOUT SECTION ── */
#about {
  background: var(--warm-white);
}

.stat-tile {
  background: var(--sand);
  padding: 30px 24px;
  border-radius: 2px;
  height: 100%;
}

.stat-tile .bi {
  font-size: 2rem;
  color: var(--teal);
  margin-bottom: 10px;
  display: block;
}

.stat-tile-title {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.stat-tile-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.about-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  max-width: 520px;
}

/* ── BEACH SHOP ── */
#shop {
  background: var(--teal);
  padding: 64px 0;
}

.shop-strip {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.shop-icon-wrap {
  font-size: 4rem;
  color: rgba(255,255,255,0.85);
  flex-shrink: 0;
}

.shop-text h3 {
  color: #fff;
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.shop-text p {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  max-width: 500px;
}

/* ── CONTACT / LOCATION ── */
#contact {
  background: var(--warm-white);
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 8px 0;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

.hours-table td:first-child {
  font-weight: 600;
  color: var(--navy);
  width: 40%;
}

.hours-table td:last-child {
  color: var(--text-muted);
}

.hours-table .closed-day td:last-child {
  color: var(--coral);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-info-item .bi {
  font-size: 1.25rem;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

.contact-info-item a {
  color: var(--teal);
  text-decoration: none;
}

.contact-info-item a:hover {
  color: var(--teal-dark);
}

.map-container {
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  height: 340px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 32px;
}

.footer-brand {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 8px;
}

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

.footer-links a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 6px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--teal);
  color: #fff;
}

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 36px 0 24px;
}

.footer-bottom {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-powered a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 600;
}

.footer-powered a:hover {
  color: #fff;
}

/* ── SECTION TITLE EYEBROW ── */
.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 8px;
  display: block;
}

.eyebrow.teal {
  color: var(--teal);
}

.eyebrow.light {
  color: rgba(255,255,255,0.6);
}

/* ── UTILITIES ── */
.btn-teal {
  background: var(--teal);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}

.btn-teal:hover {
  background: var(--teal-dark);
  color: #fff;
}

.btn-coral {
  background: var(--coral);
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s;
  display: inline-block;
}

.btn-coral:hover {
  background: var(--coral-dark);
  color: #fff;
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--navy);
    padding: 12px 16px;
    margin-top: 8px;
    border-radius: 4px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .highlights-row {
    flex-wrap: wrap;
  }

  .highlight-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
  }

  .highlight-item:nth-child(2n) {
    border-right: none;
  }
}

@media (max-width: 767px) {
  .section-pad {
    padding: 64px 0;
  }

  .hero-content {
    padding: 28px 24px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 11vw, 4rem);
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .shop-strip {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .menu-item {
    flex-wrap: wrap;
  }

  .menu-item-desc {
    width: 100%;
    padding-left: 0;
    margin-top: 2px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
