/* === Le Petit Bistrot — Style Sheet === */

/* --- Reset & Custom Properties --- */
:root {
  --color-primary: #2d5016;
  --color-primary-light: #3d6b1e;
  --color-secondary: #f5f0e8;
  --color-accent: #c8a951;
  --color-text: #2c2c2c;
  --color-text-light: #666666;
  --color-bg: #ffffff;
  --color-bg-alt: #faf8f4;
  --color-border: #e8e2d8;
}
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}
h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- NAVIGATION --- */
nav[data-voila="navigation"] {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.nav-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}
.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-light);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.2s;
}
.nav-links a:hover {
  color: var(--color-primary);
}
.nav-links a:hover::after {
  width: 100%;
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?w=1600&q=80")
    center/cover no-repeat;
  color: #fff;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.65)
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
}
.hero-content h1 {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.hero-tagline {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 1.35rem;
  opacity: 0.9;
}

/* --- PLAT DU JOUR --- */
.daily-special {
  padding: 64px 0;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}
.daily-special h2 {
  color: #fff;
  margin-bottom: 1.25rem;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 8px;
}
.daily-special-card {
  max-width: 480px;
  margin: 0 auto;
}
.daily-special-dish {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-style: italic;
  margin-bottom: 8px;
}
.daily-special-price {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.daily-special-note {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* --- MENU --- */
.menu {
  padding: 80px 0;
  background: var(--color-bg);
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.menu-category h3 {
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
}
.menu-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 8px 0;
  transition: background-color 0.15s;
  border-radius: 4px;
}
.menu-item:hover {
  background: var(--color-bg-alt);
  padding-left: 8px;
  padding-right: 8px;
  margin-left: -8px;
  margin-right: -8px;
}
.menu-item-name {
  font-size: 0.95rem;
}
.menu-item-price {
  font-weight: 600;
  color: var(--color-primary);
  white-space: nowrap;
}

/* --- HOURS --- */
.hours {
  padding: 80px 0;
  background: var(--color-bg-alt);
}
.hours-table {
  max-width: 520px;
  margin: 0 auto;
  width: 100%;
  border-collapse: collapse;
}
.hours-table tr {
  border-bottom: 1px solid var(--color-border);
}
.hours-table tr:nth-child(even) {
  background: rgba(0, 0, 0, 0.02);
}
.hours-table td {
  padding: 14px 16px;
  font-size: 0.95rem;
}
.hours-day {
  font-weight: 600;
  width: 120px;
}
.hours-time {
  color: var(--color-text-light);
  text-align: right;
}
.hours-closed .hours-time {
  color: #b91c1c;
  font-style: italic;
}

/* --- ABOUT --- */
.about {
  padding: 80px 0;
  background: var(--color-bg);
}
.about h2 {
  text-align: left;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text-light);
}
.about-image img {
  border-radius: 8px;
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* --- GALLERY --- */
.gallery {
  padding: 80px 0;
  background: var(--color-bg-alt);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-placeholder {
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px dashed #ccc;
}
.gallery-placeholder span {
  font-size: 1rem;
  font-weight: 500;
  color: #999;
  letter-spacing: 0.02em;
}

/* --- CONTACT --- */
.contact {
  padding: 80px 0;
  background: var(--color-bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
}
.contact-detail a {
  transition: color 0.2s;
}
.contact-detail a:hover {
  color: var(--color-primary);
}
.contact-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-accent);
}
.contact-map {
  border-radius: 8px;
  overflow: hidden;
  height: 320px;
  background: var(--color-bg-alt);
}
.contact-map iframe {
  display: block;
}

/* --- FOOTER --- */
footer[data-voila="footer"] {
  padding: 48px 0;
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.footer-name {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}
.footer-social {
  display: flex;
  gap: 20px;
}
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition:
    border-color 0.2s,
    background-color 0.2s;
}
.footer-social a:hover {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.1);
}
.footer-social svg {
  width: 18px;
  height: 18px;
  color: #fff;
}
.footer-copy {
  font-size: 0.8rem;
  opacity: 0.6;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .hero {
    height: 60vh;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-tagline {
    font-size: 1.1rem;
  }
  h2 {
    font-size: 1.6rem;
  }
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 0.8rem;
  }
  .daily-special {
    padding: 48px 0;
  }
  .daily-special-dish {
    font-size: 1.25rem;
  }
  .menu {
    padding: 48px 0;
  }
  .menu-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hours {
    padding: 48px 0;
  }
  .hours-table td {
    padding: 12px 8px;
    font-size: 0.9rem;
  }
  .about {
    padding: 48px 0;
  }
  .about h2 {
    text-align: center;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-image img {
    height: 280px;
  }
  .gallery {
    padding: 48px 0;
  }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .contact {
    padding: 48px 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-map {
    height: 240px;
  }
  footer[data-voila="footer"] {
    padding: 36px 0;
  }
}
