/* =========================================================
   Trattoria San Pietro — style.css
   Palette: Navy #1B2840 · Gold #C9914C · Cream #FAF6ED
   Fonts: Cormorant Garamond (headings) · Raleway (body)
   ========================================================= */

:root {
  --navy:       #1B2840;
  --navy-dark:  #111E30;
  --gold:       #C9914C;
  --gold-light: #DDB87A;
  --cream:      #FAF6ED;
  --ivory:      #F0E8D5;
  --dark:       #1A1A18;
  --muted:      #7A6E62;
  --white:      #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Raleway', sans-serif;
  font-weight: 400;
  color: var(--dark);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', serif;
}

a { text-decoration: none; }

img { display: block; }

/* ── Navbar ── */
#mainNav {
  background: transparent;
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
  padding: 1.25rem 0;
}

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

.navbar-brand .brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 0.8rem !important;
  transition: color 0.2s;
}

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

.btn-gold {
  background: var(--gold);
  color: #fff !important;
  border: 2px solid var(--gold);
  padding: 0.45rem 1.1rem;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #fff !important;
}

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

.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(0,0,0,0.30) 0%, rgba(0,0,0,0.10) 45%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.75rem 3rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  max-width: 680px;
  width: 90%;
}

.hero-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  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: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  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: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.92);
  line-height: 1.75;
  margin-bottom: 0;
  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);
}

.btn-hero-primary {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  border: 2px solid var(--gold);
  padding: 0.75rem 2rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-hero-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #fff;
}

.btn-hero-outline {
  display: inline-block;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.75);
  padding: 0.75rem 2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
}

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

.btn-hero-ghost {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.82);
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  border-radius: 2px;
  transition: color 0.2s;
}

.btn-hero-ghost:hover { color: #fff; }

/* ── Signature Strip ── */
.signature-strip {
  background: var(--navy);
  padding: 1.1rem 0;
}

.strip-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.82);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  position: relative;
}

.strip-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.2);
}

.strip-item i {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── Section Labels ── */
.section-eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}

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

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

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

.section-title em {
  font-style: italic;
  color: var(--gold);
}

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

.section-subtitle {
  color: rgba(255,255,255,0.68);
  font-size: 0.88rem;
  line-height: 1.6;
}

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

.about-text {
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.btn-primary-dark {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
  padding: 0.65rem 1.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
}

.btn-primary-dark:hover {
  background: transparent;
  color: var(--navy);
}

.btn-outline-dark-custom {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  padding: 0.65rem 1.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--ivory);
}

.about-cell {
  background: #fff;
  padding: 2.25rem 1.75rem;
  text-align: center;
}

.about-cell i {
  font-size: 1.7rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}

.about-cell h4 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.about-cell p {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Menu Highlight Cards ── */
.menu-highlights-section { line-height: 0; }

.highlight-card {
  position: relative;
  overflow: hidden;
  height: 400px;
}

.highlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.55s ease;
}

.highlight-card:hover img { transform: scale(1.05); }

.highlight-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
}

.highlight-category {
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
  margin-bottom: 0.3rem;
}

.highlight-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}

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

.menu-tabs {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  flex-wrap: wrap;
  gap: 0;
}

.menu-tabs .nav-link {
  color: rgba(255,255,255,0.55) !important;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  font-family: 'Raleway', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.75rem 1.1rem;
  border-radius: 0;
  transition: color 0.2s, border-color 0.2s;
}

.menu-tabs .nav-link:hover {
  color: rgba(255,255,255,0.88) !important;
  border-bottom-color: rgba(255,255,255,0.25);
}

.menu-tabs .nav-link.active {
  color: var(--gold-light) !important;
  border-bottom-color: var(--gold);
  background: none;
}

.menu-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

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

.menu-item-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.menu-item h4 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #fff;
  margin: 0;
  line-height: 1.3;
  flex: 1;
}

.menu-item p {
  color: rgba(255,255,255,0.58);
  font-size: 0.86rem;
  line-height: 1.65;
  margin: 0;
}

.price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.gf-badge {
  font-family: 'Raleway', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,145,76,0.6);
  padding: 0.1em 0.4em;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 0.3rem;
}

.gf-inline {
  font-family: 'Raleway', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--gold-light);
  border: 1px solid rgba(221,184,122,0.4);
  padding: 0.1em 0.45em;
  border-radius: 2px;
}

.menu-note {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  font-style: italic;
}

.menu-additions {
  margin-top: 1.75rem;
  padding: 1rem 1.5rem;
  border: 1px solid rgba(255,255,255,0.1);
}

.menu-additions p {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  margin: 0;
}

.menu-additions strong {
  color: rgba(255,255,255,0.85);
}

.cocktail-category-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.6rem;
  margin-bottom: 0;
  margin-top: 1rem;
}

.cocktail-category-title:first-child { margin-top: 0; }

.house-badge {
  font-family: 'Raleway', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(201,145,76,0.5);
  padding: 0.1em 0.5em;
  border-radius: 2px;
  vertical-align: middle;
  margin-left: 0.4rem;
  font-style: normal;
}

.btn-outline-gold {
  display: inline-block;
  background: transparent;
  color: var(--gold-light);
  border: 2px solid var(--gold);
  padding: 0.75rem 2.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
}

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

/* ── Gallery ── */
.gallery-section {
  padding: 5rem 0 0;
  background: var(--cream);
}

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

.gallery-cell {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

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

.gallery-cell:hover img { transform: scale(1.07); }

/* ── Events ── */
.events-section {
  background: var(--navy);
  padding: 6rem 0;
}

.events-text {
  color: rgba(255,255,255,0.72);
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.06);
}

.event-feature {
  background: rgba(255,255,255,0.03);
  padding: 2.25rem 1.75rem;
  text-align: center;
}

.event-feature i {
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
  margin-bottom: 0.8rem;
}

.event-feature h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.event-feature p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.58);
  margin: 0;
  line-height: 1.55;
}

/* ── Services Strip ── */
.services-strip {
  background: var(--ivory);
  padding: 5rem 0;
}

.service-card {
  background: #fff;
  padding: 2.75rem 2.25rem;
  height: 100%;
}

.service-card i {
  font-size: 2.25rem;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.75;
}

/* ── Location ── */
.location-section {
  background: var(--cream);
  padding: 6rem 0;
}

.location-info {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.contact-block {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.contact-block > i {
  font-size: 1.4rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-block h5 {
  font-family: 'Raleway', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.contact-block p {
  color: var(--dark);
  font-size: 0.98rem;
  margin: 0;
  line-height: 1.55;
}

.contact-block a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-block a:hover { color: var(--gold); }

.directions-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold) !important;
  margin-top: 0.5rem;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.hours-table td {
  padding: 0.3rem 0;
  vertical-align: top;
}

.hours-table td:first-child {
  color: var(--muted);
  padding-right: 1.5rem;
  white-space: nowrap;
}

.hours-table td:last-child {
  color: var(--dark);
  font-weight: 500;
}

.map-wrapper {
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 6px 40px rgba(0,0,0,0.12);
}

.map-wrapper iframe { display: block; }

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  padding: 3.5rem 0 1.5rem;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: 0.03em;
}

.footer-address {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.7;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.footer-links a {
  color: rgba(255,255,255,0.58);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}

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

.social-links a {
  color: rgba(255,255,255,0.55);
  font-size: 1.2rem;
  transition: color 0.2s;
}

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

.powered-by {
  display: inline-block;
  color: rgba(255,255,255,0.38);
  transition: color 0.2s;
}

.powered-by:hover { color: var(--gold-light); }

.powered-by span {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  color: rgba(255,255,255,0.35);
}

.powered-by strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.footer-divider {
  border-color: rgba(255,255,255,0.08);
  margin: 2rem 0 1.25rem;
}

.footer-copy {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
  .strip-item:not(:last-child)::after { display: none; }
  .strip-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .strip-item:last-child { border-bottom: none; }

  .highlight-card { height: 300px; }

  .menu-tabs .nav-link { padding: 0.6rem 0.7rem; font-size: 0.7rem; }

  .navbar-collapse {
    background: var(--navy-dark);
    padding: 1rem 1.25rem;
    margin-top: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .navbar-collapse .nav-link { padding: 0.65rem 0.5rem !important; }
  .navbar-collapse .btn-gold { margin-top: 0.5rem; display: inline-block; }
}

@media (max-width: 767.98px) {
  .about-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-content { padding: 1.75rem 1.5rem; }

  .section-title { font-size: clamp(1.7rem, 5vw, 2.4rem); }

  .menu-item-header {
    flex-direction: column;
    gap: 0.2rem;
  }

  .highlight-card { height: 260px; }
}

@media (max-width: 575.98px) {
  .hero-ctas { gap: 0.6rem !important; }
  .btn-hero-ghost { display: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 3px; }
  .services-strip { padding: 3.5rem 0; }
}
