/* ==========================================================================
   DUVIC'S MARTINI BAR — Shared Stylesheet
   Palette: white / black / olive green
   ========================================================================== */

:root {
  --olive: #5B6B2A;
  --olive-dark: #3F4A1D;
  --olive-light: #8B9A5B;
  --black: #171713;
  --white: #FFFFFF;
  --off-white: #FAFAF6;
  --gray: #6B6B64;
  --border: #E6E6DE;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--olive);
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  color: var(--olive);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.eyebrow {
  display: block;
  font-family: var(--sans);
  color: var(--olive);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.72rem;
  font-weight: 500;
  margin-bottom: 0.9em;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 90px 0; }

.section-tight { padding: 60px 0; }

.section-alt { background: var(--off-white); }

.section-dark {
  background: var(--black);
  color: var(--white);
}
.section-dark h2, .section-dark .eyebrow { color: var(--olive-light); }

.center { text-align: center; }

.section-head { max-width: 640px; margin: 0 auto 3.2em; text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--olive);
  color: var(--olive);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  font-family: var(--sans);
}
.btn:hover { background: var(--olive); color: var(--white); }

.btn-solid {
  background: var(--olive);
  color: var(--white);
}
.btn-solid:hover { background: var(--olive-dark); border-color: var(--olive-dark); }

.btn-white {
  border-color: var(--white);
  color: var(--white);
}
.btn-white:hover { background: var(--white); color: var(--black); }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--serif);
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--black);
  font-weight: 600;
  white-space: nowrap;
}
.logo span { color: var(--olive); }

.main-nav {
  display: flex;
  gap: 40px;
  margin: 0 auto;
}

.main-nav a {
  color: var(--black);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--olive); }

.header-phone {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--black);
  white-space: nowrap;
  border-left: 1px solid var(--border);
  padding-left: 24px;
}
.header-phone:hover { color: var(--olive); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--black);
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,23,19,0.55), rgba(23,23,19,0.78));
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding: 0 28px; }
.hero .eyebrow { color: var(--olive-light); }
.hero h1 { color: var(--white); margin-bottom: 0.35em; }
.hero p.lede {
  font-size: 1.15rem;
  color: #EDEDE4;
  max-width: 520px;
  margin: 0 auto 2em;
}
.hero-actions { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

.page-banner {
  position: relative;
  padding: 130px 0 70px;
  text-align: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(23,23,19,0.6), rgba(23,23,19,0.82));
}
.page-banner .container { position: relative; z-index: 2; }
.page-banner h1 { color: var(--white); }
.page-banner p { color: #EDEDE4; max-width: 520px; margin: 0 auto; }

/* ==========================================================================
   Feature / About grid
   ========================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
.feature-item { text-align: center; padding: 0 10px; }
.feature-item .num {
  font-family: var(--serif);
  color: var(--olive-light);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 0.6em;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-grid img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  filter: grayscale(15%) sepia(8%) saturate(115%);
}
.about-grid .text-col p { color: #333; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 36px 30px;
  position: relative;
}
.testimonial-card .quote-mark {
  font-family: var(--serif);
  font-size: 3rem;
  color: var(--olive-light);
  line-height: 1;
  display: block;
  margin-bottom: 0.2em;
}
.testimonial-card p.quote { font-style: italic; color: #2c2c2c; margin-bottom: 1.4em; }
.testimonial-card .author { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--olive); }

/* ==========================================================================
   Contact + Map
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.form-field { margin-bottom: 22px; }
.form-field label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  padding: 10px 2px;
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--black);
  transition: border-color 0.2s ease;
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--olive);
}
.form-field textarea { resize: vertical; min-height: 120px; }

.info-block { margin-bottom: 28px; }
.info-block h3 { margin-bottom: 0.3em; }
.info-block p { color: #333; margin-bottom: 0.2em; }
.info-block a { color: var(--black); }
.info-block a:hover { color: var(--olive); }

.map-wrap {
  margin-top: 26px;
  border: 1px solid var(--border);
}
.map-wrap iframe {
  width: 100%;
  height: 340px;
  border: 0;
  display: block;
  filter: grayscale(35%) contrast(1.05);
}

/* ==========================================================================
   Photo Strip (real interior/exterior shots)
   ========================================================================== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.photo-strip figure { margin: 0; overflow: hidden; }
.photo-strip img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  filter: grayscale(10%) saturate(112%);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.photo-strip figure:hover img { transform: scale(1.05); filter: none; }
.photo-strip figcaption {
  margin-top: 10px;
  text-align: center;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray);
}

@media (max-width: 720px) {
  .photo-strip { grid-template-columns: 1fr; gap: 24px; }
  .photo-strip img { height: 260px; }
}

/* ==========================================================================
   Menu Page
   ========================================================================== */
.menu-intro { max-width: 640px; margin: 0 auto 4em; text-align: center; }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 60px;
}

.menu-item { display: flex; gap: 26px; align-items: flex-start; }
.menu-photo {
  width: 130px;
  height: 130px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid var(--border);
  position: relative;
  cursor: zoom-in;
}
.menu-photo:hover,
.menu-photo:focus-visible,
.menu-photo.zoomed {
  overflow: visible;
  z-index: 40;
}
.menu-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) sepia(12%) saturate(120%);
  transition: filter 0.3s ease, transform 0.35s cubic-bezier(.22,.8,.32,1), border-radius 0.35s ease, box-shadow 0.35s ease;
  transform-origin: center center;
  position: relative;
}
.menu-photo:hover img,
.menu-photo:focus-visible img,
.menu-photo.zoomed img {
  filter: none;
  transform: scale(2.6);
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 4px var(--white);
}
.menu-photo:focus-visible { outline: none; }

@media (hover: none) {
  .menu-photo:hover img { transform: none; border-radius: 50%; box-shadow: none; filter: grayscale(20%) sepia(12%) saturate(120%); }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(23,23,19,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-inner {
  max-width: 560px;
  width: 100%;
  background: var(--white);
  padding: 18px;
  text-align: center;
  transform: scale(0.96);
  transition: transform 0.25s ease;
}
.lightbox.open .lightbox-inner { transform: scale(1); }
.lightbox-inner img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 60vh;
  object-fit: cover;
}
.lightbox-caption { padding-top: 18px; }
.lightbox-caption h3 { margin-bottom: 0.2em; }
.lightbox-caption .menu-price { font-size: 1.1rem; }
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 28px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  font-family: var(--serif);
}
.lightbox-close:hover { color: var(--olive-light); }

@media (max-width: 720px) {
  .lightbox { padding: 20px; }
  .lightbox-close { top: 12px; right: 16px; }
}

.menu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  border-bottom: 1px dotted var(--border);
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.menu-item-head h3 { margin: 0; }
.menu-price {
  font-family: var(--serif);
  color: var(--olive);
  font-size: 1.15rem;
  white-space: nowrap;
}
.menu-desc { color: #333; font-size: 0.96rem; margin: 0; }

.menu-note {
  text-align: center;
  margin-top: 70px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.88rem;
}

/* ==========================================================================
   Legal / Disclaimer Page
   ========================================================================== */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { margin-top: 1.8em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: #2e2e2e; }
.legal-content ul { padding-left: 1.2em; }
.legal-updated {
  display: inline-block;
  margin-bottom: 2.4em;
  color: var(--gray);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--black);
  color: #D8D8CE;
  padding: 70px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid #33332C;
}
.footer-col h3 {
  color: var(--olive-light);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1em;
}
.footer-col p { color: #C9C9BE; font-size: 0.92rem; margin-bottom: 0.6em; }
.footer-col a { color: #C9C9BE; }
.footer-col a:hover { color: var(--olive-light); }

.footer-bottom {
  padding: 24px 28px;
  text-align: center;
  font-size: 0.78rem;
  color: #8B8B80;
}
.footer-bottom .container { padding: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid img { height: 320px; }
  .feature-grid { grid-template-columns: 1fr; gap: 34px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 260px; }
  .main-nav a {
    padding: 16px 28px;
    border-top: 1px solid var(--border);
  }
  .main-nav a::after { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: block; }
  section { padding: 60px 0; }
  .menu-item { flex-direction: column; align-items: center; text-align: center; }
  .menu-item-head { flex-direction: column; gap: 2px; align-items: center; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}
