/* ============================================================
   THE JETTY MARSHFIELD — style.css
   eat.drink.chill.
============================================================ */

/* ---- Variables ---- */
:root {
  --jetty-orange:   #E8751A;
  --jetty-dark:     #1C2B3A;
  --jetty-teal:     #38B2AC;
  --jetty-cream:    #F8F5F0;
  --jetty-warm:     #F0EBE3;
  --jetty-text:     #2C2C2C;
  --jetty-muted:    #6B7280;
  --font-display:   'Playfair Display', Georgia, serif;
  --font-body:      'Inter', system-ui, sans-serif;
  --section-pad:    6rem 0;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--jetty-text);
  background: #fff;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--jetty-orange); text-decoration: none; }
a:hover { color: #c45e0a; }

.section-pad { padding: var(--section-pad); }
.bg-warm { background: var(--jetty-warm); }

/* ---- Typography helpers ---- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jetty-orange);
  margin-bottom: 0.75rem;
}

.eyebrow-light { color: #f9c07a; }

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--jetty-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

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

/* ---- Buttons ---- */
.btn-jetty {
  background: var(--jetty-orange);
  border-color: var(--jetty-orange);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.btn-jetty:hover,
.btn-jetty:focus {
  background: #c45e0a;
  border-color: #c45e0a;
  color: #fff;
  transform: translateY(-1px);
}

.text-jetty { color: var(--jetty-orange) !important; }

/* ============================================================
   NAVBAR
============================================================ */
#mainNav {
  background: rgba(28, 43, 58, 0.96);
  padding: 1rem 0;
  transition: padding 0.3s, background 0.3s, box-shadow 0.3s;
}

#mainNav.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
  background: rgba(28, 43, 58, 0.99);
}

.nb-the {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  display: inline-block;
  vertical-align: middle;
  margin-right: 1px;
}

.nb-jetty {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--jetty-orange);
  letter-spacing: -0.02em;
  vertical-align: middle;
  line-height: 1;
}

.nb-location {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
  margin-left: 0.5rem;
}

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

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--jetty-orange);
}

#mainNav .navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}
#mainNav .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%28255%2C255%2C255%2C0.85%29' 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;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('img/ta_exterior.jpg') center center / cover no-repeat;
  transform: scale(1.03);
  transition: transform 8s ease;
}

#hero:hover .hero-bg { transform: scale(1.06); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(28, 43, 58, 0.78) 0%,
    rgba(28, 43, 58, 0.55) 60%,
    rgba(28, 43, 58, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
}

.hero-wordmark {
  line-height: 1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-the {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.02em;
  display: block;
  opacity: 0.9;
}

.hero-jetty {
  font-family: var(--font-display);
  font-size: clamp(4rem, 14vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--jetty-orange);
  display: block;
  line-height: 0.85;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.hero-eat {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  letter-spacing: 0.15em;
  opacity: 0.85;
  margin-bottom: 1.25rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.6rem);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 0.5rem;
  opacity: 0.92;
}

.hero-location {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  opacity: 0.78;
  text-transform: uppercase;
}

.hero-scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.7);
  font-size: 1.8rem;
  animation: bounce 2s infinite;
  text-decoration: none;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   ABOUT
============================================================ */
.about-photo-stack {
  position: relative;
  padding-bottom: 1.5rem;
  padding-right: 1.5rem;
}

.about-photo-main {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 40px rgba(28,43,58,0.18);
}

.about-photo-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 44%;
  height: 220px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  border: 4px solid #fff;
  box-shadow: 0 6px 24px rgba(28,43,58,0.25);
}

.stats-row {
  border-top: 1px solid #e5e0d8;
  padding-top: 1.5rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--jetty-orange);
}

.stat-lbl {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--jetty-muted);
}

/* ============================================================
   DAILY DEALS
============================================================ */
.deals-band {
  background: var(--jetty-dark);
}

.deals-title {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.6rem;
}

.deal-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.75rem 1.5rem;
  transition: background 0.2s, transform 0.2s;
}

.deal-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

.deal-day {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--jetty-orange);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.deal-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 0.4rem;
}

.deal-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   MENU
============================================================ */
.menu-tabs .nav-link {
  background: transparent;
  border: 1px solid #d5ccc0;
  color: var(--jetty-text);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  margin: 0.2rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.menu-tabs .nav-link.active,
.menu-tabs .nav-link:hover {
  background: var(--jetty-orange);
  border-color: var(--jetty-orange);
  color: #fff;
}

.menu-item {
  background: #fff;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: 0 1px 6px rgba(28,43,58,0.07);
  transition: box-shadow 0.2s;
}

.menu-item:hover {
  box-shadow: 0 4px 16px rgba(28,43,58,0.12);
}

.menu-item .mi-name {
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--jetty-dark);
  flex: 1;
}

.menu-item .mi-note {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--jetty-teal);
  background: rgba(56,178,172,0.12);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.menu-item .mi-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--jetty-orange);
  white-space: nowrap;
}

.menu-item .mi-desc {
  font-size: 0.83rem;
  color: var(--jetty-muted);
  margin-top: 0.25rem;
  width: 100%;
  flex-basis: 100%;
}

/* For items with description, flex-wrap */
.menu-item {
  flex-wrap: wrap;
}
.menu-item .mi-name,
.menu-item .mi-price {
  flex-wrap: nowrap;
}

.menu-sub-heading {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--jetty-dark);
  border-bottom: 2px solid var(--jetty-orange);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

/* ============================================================
   BRUNCH
============================================================ */
.brunch-section {
  position: relative;
  background: url('img/carousel_livemusic.png') center center / cover no-repeat;
  background-attachment: fixed;
}

.brunch-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 43, 58, 0.88) 0%,
    rgba(28, 43, 58, 0.80) 100%
  );
}

.brunch-section .container { position: relative; z-index: 1; }

.brunch-highlight {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 1.5rem;
}

.brunch-highlight h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.brunch-highlight p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* ============================================================
   GALLERY
============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  aspect-ratio: 4/3;
}

.gallery-item-wide {
  grid-column: span 2;
}

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

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

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item-wide {
    grid-column: span 2;
  }
}

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

/* ============================================================
   EVENTS
============================================================ */
.events-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.events-list li {
  padding: 0.4rem 0;
  font-size: 0.97rem;
  border-bottom: 1px solid #eee;
}

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

/* ============================================================
   GIFT CARD BAND
============================================================ */
.giftcard-band {
  background: var(--jetty-orange);
  color: #fff;
}

.giftcard-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.giftcard-sub {
  color: rgba(255,255,255,0.85);
}

/* ============================================================
   LOCATION & HOURS
============================================================ */
.location-card {
  background: #fff;
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 12px rgba(28,43,58,0.08);
}

.location-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--jetty-dark);
}

.hours-table td {
  padding: 0.35rem 0;
  font-size: 0.92rem;
  border-bottom: 1px solid #f0eae0;
}

.hours-table tr:last-child td { border-bottom: none; }

.map-wrapper {
  height: 100%;
  min-height: 450px;
}

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--jetty-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--jetty-orange);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
}

.footer-head {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.4rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

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

.social-icons {
  display: flex;
  gap: 0.75rem;
}

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

.social-icons a:hover {
  background: var(--jetty-orange);
  border-color: var(--jetty-orange);
  color: #fff;
}

.powered-by {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.wf-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--jetty-orange) !important;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.wf-link:hover { color: #f9c07a !important; text-decoration: underline; }

.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 991px) {
  .about-photo-stack {
    padding-bottom: 0;
    padding-right: 0;
  }
  .about-photo-main {
    height: 300px;
  }
  .about-photo-accent {
    display: none;
  }
  .brunch-section {
    background-attachment: scroll;
  }
}

@media (max-width: 767px) {
  .section-pad { padding: 4rem 0; }
  .hero-logo { width: 220px; }
}
