/* ============================================================
   OSTERIA VIVO — style.css
   Color palette:
     --green-deep:   #1c3525   (pistachio-inspired dark forest)
     --green-mid:    #2e5a3e   (muted sage)
     --green-light:  #4a7c5f   (accent)
     --gold:         #c8943a   (warm gold)
     --cream:        #f8f4ee   (parchment)
     --ivory:        #fdfaf5   (near-white)
     --wine:         #6b2737   (deep burgundy)
     --charcoal:     #1a1a1a
============================================================ */

:root {
  --green-deep:  #1c3525;
  --green-mid:   #2e5a3e;
  --green-light: #4a7c5f;
  --gold:        #c8943a;
  --gold-light:  #e8b45a;
  --cream:       #f8f4ee;
  --ivory:       #fdfaf5;
  --wine:        #6b2737;
  --charcoal:    #1a1a1a;
  --text-muted:  #5a5a5a;
  --nav-height:  76px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
}

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

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

.italic { font-style: italic; }

/* ─── REUSABLE ─── */
.section-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--green-deep);
}

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

/* ─── BUTTONS ─── */
.btn-primary-ov {
  background: var(--green-deep);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border: 2px solid var(--green-deep);
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary-ov:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.btn-outline-ov {
  background: transparent;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 2.2rem;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: background 0.25s, border-color 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline-ov:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

.btn-reserve {
  background: var(--gold);
  color: #fff !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-reserve:hover {
  background: var(--gold-light);
}

/* ─── NAVBAR ─── */
.ov-navbar {
  background: transparent;
  padding: 1.1rem 0;
  transition: background 0.3s, padding 0.3s, box-shadow 0.3s;
}
.ov-navbar.scrolled {
  background: var(--green-deep);
  padding: 0.6rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.25);
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #fff !important;
  text-decoration: none;
  letter-spacing: 0.03em;
}
.brand-italic { font-style: italic; font-weight: 400; }
.brand-bold   { font-weight: 700; margin-left: 4px; }

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.88) !important;
  padding: 0.4rem 0.75rem !important;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--gold-light) !important; }

/* ─── HERO ─── */
.hero-section {
  min-height: 100vh;
  background-image:
    linear-gradient(
      to bottom,
      rgba(20, 42, 28, 0.72) 0%,
      rgba(20, 42, 28, 0.82) 100%
    ),
    url('img/pasta-carbonara.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(28, 53, 37, 0.6) 0%,
    rgba(107, 39, 55, 0.35) 100%
  );
}

.hero-content { padding-top: var(--nav-height); }

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.hero-title .italic { font-style: italic; font-weight: 400; }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── ABOUT ─── */
.section-about {
  padding: 7rem 0;
  background: var(--ivory);
}

.about-image-block {
  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-color-card {
  position: absolute;
  border-radius: 4px;
}
.about-card-back {
  width: 78%;
  height: 88%;
  background: var(--green-mid);
  top: 0;
  left: 0;
  opacity: 0.15;
}
.about-card-mid {
  width: 75%;
  height: 85%;
  background: var(--green-deep);
  top: 20px;
  left: 20px;
  opacity: 0.08;
}
.about-text-card {
  position: relative;
  background: var(--green-deep);
  color: #fff;
  padding: 3rem 3.5rem;
  border-radius: 4px;
  text-align: center;
  width: 80%;
  box-shadow: 0 20px 60px rgba(28,53,37,0.25);
}
.about-quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--gold-light);
}
.about-translation {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  margin: 0;
}
.about-translation em {
  font-style: italic;
  color: rgba(255,255,255,0.85);
}

/* ─── MENU ─── */
.section-menu {
  padding: 7rem 0;
  background: var(--cream);
}

.menu-category-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 500;
  color: var(--green-deep);
  text-align: center;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.category-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(28,53,37,0.1);
}
.menu-item:first-child { border-top: 1px solid rgba(28,53,37,0.1); }

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

.menu-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green-deep);
}

.menu-item-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-item-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.menu-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  padding: 1rem 1.25rem;
  background: rgba(28,53,37,0.05);
  border-left: 3px solid var(--gold);
  border-radius: 0 4px 4px 0;
}

/* ─── GALLERY ─── */
.section-gallery {
  background: var(--charcoal);
}

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

.gallery-cell { position: relative; overflow: hidden; }

.gallery-photo {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}
.gallery-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-photo:hover img { transform: scale(1.04); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-block { transition: filter 0.3s; }
.gallery-block:hover { filter: brightness(1.08); }

.gallery-block-green  { background: var(--green-mid); }
.gallery-block-dark   { background: var(--green-deep); color: var(--gold-light); }
.gallery-block-gold   { background: var(--gold); color: #fff; }
.gallery-block-olive  { background: #2a4a34; }
.gallery-block-wine   { background: var(--wine); }

.gallery-stat {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.gallery-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin: 0;
}

/* ─── BAR STRIP ─── */
.section-bar-strip {
  background: var(--green-deep);
  padding: 3.5rem 0;
}

.bar-feature { color: rgba(255,255,255,0.88); }

.bar-icon {
  font-size: 2rem;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
  display: block;
}

.bar-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

/* ─── LOCATION ─── */
.section-location {
  padding: 7rem 0;
  background: var(--ivory);
}

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

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

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

.location-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.location-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1.5;
  margin: 0;
}

.location-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  margin-bottom: 0;
}

.location-link {
  color: var(--green-deep);
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05rem;
  transition: color 0.2s;
  display: block;
}
.location-link:hover { color: var(--gold); }

.hours-table { border-collapse: collapse; margin-top: 0.25rem; }
.hours-table td {
  padding: 0.25rem 1.5rem 0.25rem 0;
  font-size: 0.92rem;
  color: var(--charcoal);
  vertical-align: top;
}
.hours-table td:first-child {
  font-weight: 600;
  color: var(--green-deep);
  min-width: 110px;
}

.map-wrapper {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
}
.map-wrapper iframe {
  display: block;
  flex: 1;
  min-height: 420px;
}

/* ─── FOOTER ─── */
.site-footer {
  background: var(--green-deep);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 2rem;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.4rem;
}
.footer-brand .italic { font-style: italic; font-weight: 400; }

.footer-sub {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin: 0.1rem 0;
}

.footer-social a {
  color: rgba(255,255,255,0.65);
  font-size: 1.4rem;
  transition: color 0.2s;
  text-decoration: none;
}
.footer-social a:hover { color: var(--gold-light); }

.footer-links {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.footer-links a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-sep { margin: 0 0.4rem; color: rgba(255,255,255,0.3); }

.powered-by {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
}
.powered-by:hover {
  border-color: var(--gold);
  background: rgba(200,148,58,0.08);
}
.powered-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.powered-brand {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-light);
}
.powered-icon {
  font-size: 1rem;
  color: var(--gold-light);
}

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

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

/* ─── RESPONSIVE ─── */
@media (max-width: 991.98px) {
  .about-image-block { height: 280px; }
  .about-text-card { padding: 2rem 2rem; }
  .about-quote { font-size: 2rem; }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 220px;
  }
  .gallery-photo {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
  }
  .gallery-block:nth-child(2) { grid-column: 1 / 2; }
  .gallery-block:nth-child(3) { grid-column: 2 / 3; }
  .gallery-block:nth-child(4) { grid-column: 1 / 2; }
  .gallery-block:nth-child(5) { grid-column: 2 / 3; }
  .gallery-block:nth-child(6) { grid-column: 1 / 3; }
}

@media (max-width: 767.98px) {
  .section-about,
  .section-menu,
  .section-location { padding: 4.5rem 0; }

  .about-image-block { height: 220px; margin-bottom: 1rem; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .gallery-photo,
  .gallery-block { grid-column: 1 / 2 !important; }
  .gallery-photo { height: 260px; }
  .gallery-cell  { height: 200px; }

  .map-wrapper { min-height: 300px; }

  .powered-by { font-size: 0.8rem; }
}

@media (max-width: 575.98px) {
  .hero-title { font-size: 3rem; }
  .menu-category-title { font-size: 1.25rem; }
}
