/* ============================================
   The Seafood Shanty — Cape Cod Canal seafood shack
   Palette: deep canal-navy + buoy red + weathered sand
   Fonts: Playfair Display (headings) / Inter (body)
   ============================================ */

:root {
  --navy: #0b2540;
  --navy-deep: #071829;
  --red: #c8382c;
  --red-dark: #9e2a20;
  --sand: #f6f1e7;
  --sand-dark: #ece3d0;
  --cream: #fffaf1;
  --ink: #16232f;
  --muted: #5b6b78;
  --gold: #d9a441;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--sand);
  overflow-x: hidden;
}

h1, h2, h3, h4, .display-font {
  font-family: 'Playfair Display', Georgia, serif;
}

a { text-decoration: none; }

.section-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--red);
}

.section-title {
  font-weight: 700;
  color: var(--navy);
}

/* ---------- Navbar ---------- */
.navbar {
  background: var(--navy) !important;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
  transition: background 0.3s ease;
}

.navbar-collapse.show,
.navbar-collapse.collapsing {
  background: var(--navy);
  margin: 0 -0.75rem;
  padding: 0.5rem 0.75rem 0.75rem;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff !important;
  letter-spacing: 0.01em;
}

.navbar-brand span {
  color: var(--gold);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--gold) !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.4);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.btn-nav-cta {
  background: var(--red);
  color: #fff !important;
  border-radius: 30px;
  padding: 0.5rem 1.3rem !important;
  font-weight: 700 !important;
  margin-left: 0.5rem;
}

.btn-nav-cta:hover {
  background: var(--red-dark);
  color: #fff !important;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: url('img/hero.webp') center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.04) 100%),
              linear-gradient(to bottom, rgba(7,24,41,0.35) 0%, rgba(7,24,41,0.12) 45%, rgba(7,24,41,0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 2.75rem 2.25rem;
  margin: 0 1rem;
  background: rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 12px;
}

.hero-eyebrow {
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-size: 0.9rem;
  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-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  margin: 0.5rem 0 1rem;
  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-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #fdfaf3;
  max-width: 560px;
  margin: 0 auto 1.75rem;
  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 {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-top: 1.25rem;
  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);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.btn-hero {
  background: var(--red);
  border: none;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 0.85rem 2.1rem;
  border-radius: 30px;
  box-shadow: 0 8px 24px rgba(200, 56, 44, 0.45);
  transition: transform 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.btn-hero:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-hero-outline {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 0.78rem 1.9rem;
  border-radius: 30px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-hero-outline:hover {
  background: #fff;
  color: var(--navy);
}

/* ---------- About ---------- */
.about-section {
  background: var(--sand);
  padding: 6rem 0;
}

.about-img-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(11, 37, 64, 0.22);
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-season {
  position: absolute;
  bottom: -22px;
  right: -18px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  width: 128px;
  height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(200, 56, 44, 0.5);
  line-height: 1.1;
  border: 4px solid var(--sand);
}

.badge-season .num {
  font-size: 2rem;
}

.badge-season .txt {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}

.about-quote {
  border-left: 4px solid var(--red);
  padding-left: 1.25rem;
  font-style: italic;
  color: var(--navy);
  font-size: 1.15rem;
  margin: 1.75rem 0;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.75rem;
}

.about-fact {
  background: #fff;
  border-radius: 10px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 6px 18px rgba(11,37,64,0.06);
}

.about-fact i {
  color: var(--red);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.about-fact span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

/* ---------- Menu ---------- */
.menu-section {
  background: var(--navy);
  color: var(--sand);
  padding: 6rem 0;
}

.menu-section .section-eyebrow { color: var(--gold); }
.menu-section .section-title { color: #fff; }

.menu-highlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.menu-highlight-tile {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.menu-highlight-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-highlight-tile:hover img {
  transform: scale(1.08);
}

.menu-highlight-tile .label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(7,24,41,0.9), transparent);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.6rem 0.6rem 0.5rem;
  letter-spacing: 0.02em;
}

.menu-category-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.4rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(246,241,231,0.18);
}

.menu-category-note {
  font-size: 0.78rem;
  color: rgba(246,241,231,0.6);
  font-style: italic;
  margin-bottom: 1rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px dotted rgba(246,241,231,0.15);
}

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

.menu-item-name {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--sand);
}

.menu-item-desc {
  display: block;
  font-size: 0.78rem;
  color: rgba(246,241,231,0.55);
  font-weight: 400;
  margin-top: 0.1rem;
}

.menu-item-price {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  font-size: 1.02rem;
}

.menu-tax-note {
  text-align: center;
  color: rgba(246,241,231,0.55);
  font-size: 0.82rem;
  margin-top: 3rem;
  font-style: italic;
}

/* ---------- Gallery ---------- */
.gallery-section {
  background: var(--sand);
  padding: 6rem 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  box-shadow: 0 8px 20px rgba(11,37,64,0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(7,24,41,0.88), transparent);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 1.6rem 0.75rem 0.6rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .cap { opacity: 1; }

/* ---------- Press / Reviews ---------- */
.press-section {
  background: var(--cream);
  padding: 6rem 0;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.press-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(11,37,64,0.08);
  border: 1px solid var(--sand-dark);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.press-card-media {
  height: 170px;
  overflow: hidden;
}

.press-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.press-card-icon {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
}

.press-card-icon i {
  font-size: 2.6rem;
  color: var(--gold);
}

.press-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
}

.press-card-body .yr {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.press-card-body h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--navy);
  margin: 0.3rem 0 0;
  font-size: 1.08rem;
}

/* ---------- Location ---------- */
.location-section {
  background: var(--navy-deep);
  color: var(--sand);
  padding: 6rem 0;
}

.location-section .section-eyebrow { color: var(--gold); }
.location-section .section-title { color: #fff; }

.location-photo {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 22px 50px rgba(0,0,0,0.4);
  height: 100%;
  min-height: 420px;
}

.location-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.location-detail i {
  color: var(--gold);
  font-size: 1.35rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.location-detail h6 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.location-detail p {
  color: rgba(246,241,231,0.85);
  margin-bottom: 0;
  line-height: 1.5;
}

.location-detail a {
  color: var(--sand);
  border-bottom: 1px solid rgba(246,241,231,0.4);
}

.location-detail a:hover { color: var(--gold); }

.map-embed {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
  margin-top: 2rem;
}

.map-embed iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(246,241,231,0.75);
  padding: 3.5rem 0 1.5rem;
  border-top: 1px solid rgba(246,241,231,0.08);
}

.footer-logo-chip {
  background: var(--cream);
  border-radius: 10px;
  padding: 0.6rem 1.1rem;
  display: inline-block;
  margin-bottom: 1.1rem;
}

.footer-logo-chip img {
  height: 46px;
  display: block;
}

.footer-tagline {
  font-size: 0.88rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.footer-links a {
  display: block;
  color: rgba(246,241,231,0.7);
  font-size: 0.92rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s ease;
}

.footer-links a:hover { color: var(--gold); }

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(246,241,231,0.08);
  color: var(--sand);
  margin-right: 0.6rem;
  font-size: 1.05rem;
  transition: all 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(246,241,231,0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(246,241,231,0.5);
}

.footer-bottom a {
  color: var(--gold);
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .navbar-nav { text-align: center; padding-top: 0.5rem; }
  .btn-nav-cta { margin: 0.5rem auto 0; width: fit-content; }
  .press-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .menu-highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .location-photo { min-height: 300px; margin-bottom: 2rem; }
}

@media (max-width: 767.98px) {
  .hero-content { padding: 2rem 1.5rem; }
  .about-facts { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .press-grid { grid-template-columns: 1fr; }
  .badge-season { width: 100px; height: 100px; right: -10px; bottom: -18px; }
  .badge-season .num { font-size: 1.6rem; }
}

@media (max-width: 575.98px) {
  .menu-highlight-grid { grid-template-columns: repeat(2, 1fr); }
}
