/* ============================================
   PIZZA 5000 — Luxe / Chic / Italienne
   ============================================ */

/* --- Variables & Reset --- */
:root {
  --gold: #C8A96E;
  --gold-light: #E2CFA5;
  --noir: #0A0A0A;
  --noir-light: #1A1A1A;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --text: #333;
  --text-light: #777;
  --white: #fff;
  --danger: #c0392b;
}

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- Section Titles --- */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--noir);
  margin-bottom: 15px;
}

.section-title .subtitle {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.section-title .line {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 20px auto 0;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.95);
  padding: 12px 5%;
  backdrop-filter: blur(15px);
}

.navbar .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 2px;
}

.navbar .logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  background: rgba(10, 10, 10, 0.98);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  z-index: 999;
}

.mobile-menu.active { display: flex; }

.mobile-menu a {
  color: var(--white);
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.3s;
}

.mobile-menu a:hover { color: var(--gold); }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url('https://images.unsplash.com/photo-1513104890138-7c749659a591?w=1600') center/cover no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(10,10,10,0.5), rgba(10,10,10,0.8));
  z-index: -1;
}

.hero-content {
  color: var(--white);
  max-width: 800px;
  padding: 0 5%;
}

.hero-badge {
  display: inline-block;
  padding: 8px 25px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content h1 span {
  color: var(--gold);
  font-style: italic;
}

.hero-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-btn {
  display: inline-block;
  padding: 16px 50px;
  background: var(--gold);
  color: var(--noir);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.3s;
}

.hero-btn:hover {
  background: var(--white);
  color: var(--noir);
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.6;
}

.hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: var(--white);
  animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   PHILOSOPHY
   ============================================ */
.philosophy {
  padding: 120px 5%;
  background: var(--white);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.philosophy-item {
  text-align: center;
  padding: 40px 30px;
}

.philosophy-item .icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 25px;
  color: var(--gold);
}

.philosophy-item h3 {
  font-size: 1.4rem;
  color: var(--noir);
  margin-bottom: 15px;
}

.philosophy-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   MENU / CARTE
   ============================================ */
.menu-section {
  padding: 120px 5%;
  background: var(--cream);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-card {
  background: var(--white);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.menu-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.menu-card-img {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.menu-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

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

.menu-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gold);
  color: var(--noir);
  padding: 5px 15px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.menu-card-body {
  padding: 30px;
}

.menu-card-body h3 {
  font-size: 1.3rem;
  color: var(--noir);
  margin-bottom: 10px;
}

.menu-card-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.menu-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--gold);
  font-weight: 700;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  padding: 120px 5%;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  height: 300px;
  overflow: hidden;
  cursor: pointer;
}

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

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

.gallery-item-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(10,10,10,0.4);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay svg {
  color: var(--white);
  width: 40px;
  height: 40px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox.active { opacity: 1; }

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  color: var(--white);
  font-size: 36px;
  cursor: pointer;
  transition: color 0.3s;
}

.lightbox-close:hover { color: var(--gold); }

/* ============================================
   REASSURANCE
   ============================================ */
.reassurance {
  padding: 80px 5%;
  background: var(--noir);
}

.reassurance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.reassurance-item {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(200,169,110,0.15);
  transition: all 0.3s ease;
}

.reassurance-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(200,169,110,0.1);
  border-color: rgba(200,169,110,0.3);
}

.reassurance-item svg {
  width: 48px;
  height: 48px;
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
  margin-bottom: 15px;
}

.reassurance-item h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.reassurance-item p {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
  padding: 120px 5%;
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-info-item .icon-circle {
  width: 55px;
  height: 55px;
  min-width: 55px;
  border-radius: 50%;
  background: var(--noir);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-item .icon-circle svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold);
  stroke-width: 1.5;
  fill: none;
}

.contact-info-item h4 {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--noir);
  margin-bottom: 5px;
}

.contact-info-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-map {
  border-radius: 8px;
  overflow: hidden;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 5% 30px;
  background: var(--noir);
  text-align: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.footer-logo span { color: var(--gold); }

.footer-tagline {
  color: var(--text-light);
  font-size: 0.9rem;
  font-style: italic;
  margin-bottom: 30px;
}

.footer-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 30px;
}

.footer-copy {
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .philosophy-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links { display: none; }

  .hero { min-height: 600px; }
  .hero-content h1 { font-size: 2.5rem; }

  .philosophy-grid { grid-template-columns: 1fr; gap: 20px; }
  .philosophy-item { padding: 30px 20px; }

  .menu-grid { grid-template-columns: 1fr; }
  .menu-card-img { height: 220px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .gallery-item { height: 200px; }

  .reassurance-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .reassurance-item { padding: 20px 15px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-map { min-height: 300px; }
  .contact-map iframe { min-height: 300px; }

  .section-title { margin-bottom: 40px; }
  .section-title h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
  .reassurance-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { height: 250px; }
}
