/* =======================
   VARIABLES
======================= */
:root {
  --black: #0c0c0c;
  --black-soft: #151515;
  --black-card: #1d1d1d;
  --white: #f5f5f5;
  --red: #b30000;
  --red-dark: #7f0000;
  --gold: #c9a24d;
  --gold-soft: #e0c27a;
}

html, body {
  margin: 0;
  padding: 0;
  background: #0c0c0c;
}

/* =======================
   RESET / BASE
======================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.7;
}

/* =======================
   HEADER / NAV
======================= */
.site-header {
  margin: 0;
  padding: 0;
  background: #0c0c0c;
}

/* =======================
   HEADER / NAV
======================= */

.banner {
  width: 100%;
  height: clamp(240px, 32vw, 490px);
  background-image: url("/gaspare/assets/img/banner.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 40%;
  background-color: #000;
}


.main-nav {
  background: var(--black-soft);
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 18px 10px;
  border-bottom: 2px solid var(--gold);
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.9rem;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

/* =======================
   HERO (FLUX NORMAL)
======================= */
.hero{
  padding: 120px 20px 80px;
  text-align: center;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.95)
  );
}

.hero-content{
  max-width: 900px;
  margin: 0 auto;
}

.hero h1{
  font-size: 2.6rem;
  color: var(--gold);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero p{
  font-size: 1.15rem;
  color: #ddd;
  margin-bottom: 30px;
}

.btn-order{
  margin-top: 10px;
}

/* =======================
   BUTTONS
======================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 38px;
  background: linear-gradient(135deg, #c00000, #8b0000);
  color: #fff;
  font-weight: 700;
  border-radius: 999px;
  border: 2px solid var(--gold);
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 12px 30px rgba(0,0,0,.45);
  transition: all .3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,.6);
  background: linear-gradient(135deg, #d10000, #a00000);
  color: var(--gold);
}


/* =======================
   SECTIONS
======================= */
section {
  padding: 80px 20px;
}

.section-title p{
  margin-top: 12px;
  margin-bottom: 26px;
}

.section-dark {
  background: var(--black);
}

.section-red {
  background: linear-gradient(180deg, var(--red-dark), var(--black));
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.4rem;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-title p {
  max-width: 700px;
  margin: auto;
  color: #ccc;
}

/* =======================
   GRID / CARDS
======================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: auto;
}

.card {
  background: var(--black-card);
  padding: 35px 25px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.card h3 {
  color: var(--gold);
  margin: 15px 0;
}

/* =======================
   MENU
======================= */
.menu {
  max-width: 900px;
  margin: auto;
}

.menu .pizza {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px dashed var(--gold);
  font-size: 1.05rem;
}

.menu .pizza span:last-child {
  color: var(--gold-soft);
}

/* =======================
   MENU AVEC DESCRIPTIONS
======================= */
.menu {
  max-width: 900px;
  margin: auto;
}

.pizza-item {
  padding: 18px 0;
  border-bottom: 1px dashed var(--gold);
}

.pizza-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pizza-header h3 {
  font-size: 1.1rem;
  color: var(--white);
}

.price {
  color: var(--gold-soft);
  font-weight: bold;
}

.pizza-desc {
  margin-top: 6px;
  font-size: 0.95rem;
  color: #ccc;
  font-style: italic;
}

/* =========================
   ENCART FLYER MENU PREMIUM
========================= */

.menu-flyer-section{
  margin-bottom:40px;
}

.menu-flyer-box{
  max-width:1000px;
  margin:0 auto;
  padding:40px 30px;

  background:linear-gradient(180deg,#161616,#0f0f0f);
  border:1px solid rgba(201,164,76,.4);
  border-radius:16px;

  box-shadow:0 20px 50px rgba(0,0,0,.7);

  text-align:center;
  transition:all .3s ease;
}

.menu-flyer-box:hover{
  transform:translateY(-4px);
  box-shadow:0 30px 70px rgba(0,0,0,.85);
}

.menu-flyer-box h3{
  color:var(--gold);
  font-size:1.4rem;
  margin-bottom:12px;
  letter-spacing:.5px;
}

.menu-flyer-box p{
  color:#bbb;
  margin-bottom:22px;
  font-size:1rem;
}

.menu-flyer-btn{
  display:inline-block;
  padding:14px 36px;
  border-radius:999px;

  background:linear-gradient(135deg,#c00000,#8b0000);
  border:2px solid var(--gold);

  color:#fff;
  font-weight:700;
  text-decoration:none;
  letter-spacing:.5px;

  transition:all .25s ease;
}

.menu-flyer-btn:hover{
  transform:translateY(-2px);
  background:linear-gradient(135deg,#d10000,#a00000);
  color:var(--gold);
  box-shadow:0 12px 35px rgba(0,0,0,.6);
}

/* =======================
   GALERIE
======================= */
.galerie {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.galerie img {
  width: 100%;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.galerie img:hover {
  transform: scale(1.05);
}

/* =======================
   FOOTER
======================= */
footer {
  background: var(--black-soft);
  padding: 50px 20px;
  text-align: center;
  border-top: 2px solid var(--gold);
}

.footer-info{
  margin-bottom: 18px;
  line-height: 1.6;
}

footer a{
  color: var(--gold);
  text-decoration: none;
}

/* ===== BOUTONS FOOTER ===== */
.footer-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 18px 0;
}

.footer-btn{
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
  background: transparent;
}

.footer-btn:hover{
  background: var(--gold);
  color: #000;
  box-shadow: 0 6px 18px rgba(201,164,76,0.35);
  transform: translateY(-2px);
}

.footer-copy{
  margin-top: 20px;
  font-size: 0.85rem;
  color: #aaa;
}


/* =======================
   RESPONSIVE
======================= */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .main-nav {
    flex-wrap: wrap;
    gap: 20px;
  }
}

/* =======================
   MENUS LISTES (BOISSONS ETC)
======================= */
.menu-list {
  max-width: 600px;
  margin: 30px auto 0;
}

.menu-line {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--gold);
  font-size: 1rem;
}

.menu-line span:last-child {
  color: var(--gold-soft);
  font-weight: bold;
}

.menu-box {
  max-width: 600px;
  margin: 25px auto 0;
  padding: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--gold);
  border-radius: 8px;
}

.menu-box p {
  margin-bottom: 8px;
  color: #ddd;
}

/* =======================
   LIVRE D'OR
======================= */
.guestbook {
  max-width: 1100px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.guestbook-form,
.guestbook-messages {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 30px;
}

.guestbook h2 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.4rem;
}

/* FORM */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  background: #111;
  border: 1px solid var(--gold);
  color: #fff;
  padding: 12px;
  border-radius: 6px;
}

.guestbook-form textarea {
  min-height: 120px;
}

.guestbook-form button {
  margin-top: 15px;
  width: 100%;
  background: var(--red);
  border: 1px solid var(--gold);
  padding: 14px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.guestbook-form button:hover {
  background: var(--red-dark);
  color: var(--gold);
}

.form-info {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #aaa;
}

/* MESSAGES */
.message {
  border-bottom: 1px dashed var(--gold);
  padding: 15px 0;
}

.message strong {
  color: var(--white);
}

.message span {
  color: var(--gold);
  margin-left: 8px;
}

.message p {
  margin-top: 6px;
  color: #ccc;
  font-style: italic;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .guestbook {
    grid-template-columns: 1fr;
  }
}

.no-review {
  text-align: center;
  color: #bbb;
  font-style: italic;
  margin-top: 30px;
}

/* =======================
   CONTACT
======================= */
.contact-grid {
  max-width: 1100px;
  margin: 50px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.contact-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--gold);
  border-radius: 10px;
  padding: 25px;
}

.contact-card h2 {
  color: var(--gold);
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.contact-card p {
  color: #ddd;
  line-height: 1.6;
}

.contact-card a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
}

.contact-card a:hover {
  color: var(--gold);
}

.contact-note {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #aaa;
}

/* MAP */
.map-container {
  max-width: 1100px;
  margin: 30px auto 0;
  border: 2px solid var(--gold);
  border-radius: 10px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 380px;
  border: 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Galerie public */

.galerie-list{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr));
  gap:25px;
}
.galerie-card{
  text-decoration:none;
  color:#fff;
}
.galerie-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
}
.galerie-card span{
  display:block;
  text-align:center;
  margin-top:10px;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap:20px;
}
.thumb{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
}

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.9);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}
.lightbox.active{ display:flex; }
.lightbox img{
  max-width:90%;
  max-height:90%;
}
.lightbox .nav{
  position:absolute;
  font-size:60px;
  color:#fff;
  background:none;
  border:none;
  cursor:pointer;
}
.lightbox .prev{ left:20px; }
.lightbox .next{ right:20px; }
.close-zone{
  position:absolute;
  inset:0;
}
.btn-back{
  display:inline-block;
  margin-top:10px;
  color:#c9a44c;
  text-decoration:none;
}

.galerie-list{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px,1fr));
  gap:30px;
  max-width:1200px;
  margin:0 auto;
}

.galerie-card{
  background:#111;
  border-radius:14px;
  overflow:hidden;
  text-decoration:none;
  color:#fff;
  transition:transform .25s ease, box-shadow .25s ease;
}

.galerie-card:hover{
  transform:translateY(-6px);
  box-shadow:0 15px 40px rgba(0,0,0,.6);
}

.galerie-thumb{
  height:200px;
  overflow:hidden;
}

.galerie-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .4s ease;
}

.galerie-card:hover img{
  transform:scale(1.08);
}

.galerie-title{
  padding:14px;
  text-align:center;
  font-weight:600;
  background:#0d0d0d;
  border-top:1px solid rgba(255,255,255,.06);
}

.no-image{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#777;
  font-size:.9rem;
}

/* ===== TITRES GALERIES ===== */
.section-title h1{
  color: #c9a44c; /* or */
  font-weight: 700;
  letter-spacing: 1px;
}

/* Titre sous chaque galerie */
.galerie-card span{
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #c9a44c; /* or */
  transition: color 0.3s ease;
}

/* Hover plus clair */
.galerie-card:hover span{
  color: #e6c878;
}

/* Titre galerie (page vue) */
.galerie-view h1{
  color: #c9a44c;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 30px;
}

.section-title h1::after,
.galerie-view h1::after{
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: #c9a44c;
  margin: 12px auto 0;
  opacity: 0.8;
}

/* ===== TITRE GALERIE ===== */
.section-title h1{
  color: #c9a44c;
  font-size: 2.2rem;
  margin-bottom: 14px;
}

/* ===== BOUTON RETOUR ===== */
.btn-back{
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid #c9a44c;
  color: #c9a44c;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: all 0.25s ease;
}

.btn-back:hover{
  background: #c9a44c;
  color: #000;
  box-shadow: 0 8px 22px rgba(201,164,76,0.35);
  transform: translateY(-2px);
}

/* Petit espace visuel propre */
.section-title{
  text-align: center;
  margin-bottom: 40px;
}

/* intro index.php */

.intro{
  text-align: center;
  max-width: 900px;
  margin: 60px auto 20px;
  padding: 0 20px;
}

.intro h2{
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 16px;
}

.intro p{
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* =======================
   HORAIRES
======================= */
.hours-box{
  max-width: 490px;
  margin: 0 auto;
  padding: 28px 30px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--gold);
  border-radius: 14px;
  text-align: center;
}

.hours-line{
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  padding: 10px 0;
  color: #eee;
}

.hours-line span{
  font-weight: 600;
}

.hours-line strong{
  color: var(--gold);
  font-weight: 700;
}

.hours-sep{
  height: 1px;
  background: rgba(201,164,76,0.4);
  margin: 16px 0;
}

.hours-note{
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.6;
}

/* ===== PAGE A PROPOS ===== */

.section-dark {
  padding: 100px 20px 120px;
}

.section-dark .section-title {
  margin-bottom: 20px;
}

.section-dark .section-title h1 {
  font-size: 2.6rem;
}

.section-dark .content {
  max-width: 960px;
  margin: 0 auto;
  text-align: left;
}

.section-dark .content p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #ddd;
  margin-bottom: 26px;
}

/* Mise en valeur mots clés */
.section-dark .content strong {
  color: var(--gold);
  font-weight: 600;
}

/* Transition douce vers la section rouge */
.section-dark::after {
  content: "";
  display: block;
  height: 80px;
}

/* ===== CORRECTION ESPACE MENU ===== */

.section-dark.menu {
  padding-top: 40px;
  padding-bottom: 60px;
}

.section-dark.menu::after {
  display: none;
}
.section-dark:first-of-type {
  padding-bottom: 40px;
}

.section-dark:first-of-type::after {
  display: none;
}

/* =====================================================
   PAGE MENU
===================================================== */

.menu-page{
  background:radial-gradient(circle at top,#111,#000);
  padding:80px 20px;
  min-height:100vh;
  color:var(--text);
}

.menu-header{
  text-align:center;
  margin-bottom:70px;
}

.menu-header h1{
  font-size:3rem;
  color:var(--gold);
  margin-bottom:12px;
  letter-spacing:1px;
}

.menu-header p{
  color:var(--muted);
  font-size:1rem;
}

/* =====================================================
   SECTIONS
===================================================== */

.menu-section{
  max-width:1000px;
  margin:0 auto 80px;
}

.menu-title{
  font-size:2rem;
  color:var(--gold);
  margin-bottom:30px;
  padding-left:14px;
  border-left:4px solid var(--gold);
}

/* =====================================================
   TABLEAU PIZZAS
===================================================== */

.menu-table{
  width:100%;
  border-collapse:separate;
  border-spacing:0 12px;
}

.menu-table thead th{
  text-align:left;
  padding:14px 18px;
  text-transform:uppercase;
  font-size:0.8rem;
  letter-spacing:.08em;
  color:var(--gold);
}

.menu-table tbody tr{
  background:linear-gradient(180deg,#1a1a1a,#111);
  box-shadow:0 6px 18px rgba(0,0,0,.45);
  transition:transform .2s ease, box-shadow .2s ease;
}

.menu-table tbody tr:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(0,0,0,.6);
}

.menu-table td{
  padding:16px 18px;
  vertical-align:middle;
}

/* arrondis */
.menu-table tbody tr td:first-child{
  border-radius:14px 0 0 14px;
}
.menu-table tbody tr td:last-child{
  border-radius:0 14px 14px 0;
}

.menu-name{
  font-weight:700;
  font-size:1rem;
}

.menu-desc{
  margin-top:6px;
  font-size:.85rem;
  color:var(--muted);
}

.menu-price{
  text-align:right;
  font-weight:800;
  white-space:nowrap;
  color:#fff;
}

/* =====================================================
   AUTRES PRODUITS (Boissons, desserts…)
===================================================== */

.menu-list{
  list-style:none;
  padding:0;
  margin:0;
  max-width:700px;
}

.menu-list li{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:16px 18px;
  margin-bottom:12px;

  background:linear-gradient(180deg,#1a1a1a,#111);
  border-radius:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.45);

  transition:transform .2s ease, box-shadow .2s ease;
}

.menu-list li:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 30px rgba(0,0,0,.6);
}

.menu-list span{
  font-weight:600;
}

.menu-list strong{
  color:var(--gold);
  font-weight:800;
  white-space:nowrap;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media(max-width:820px){

  .menu-header h1{
    font-size:2.2rem;
  }

  .menu-title{
    font-size:1.6rem;
  }

  /* tableau devient "cards" */
  .menu-table thead{
    display:none;
  }

  .menu-table tbody tr{
    display:block;
    padding:16px;
  }

  .menu-table td{
    display:flex;
    justify-content:space-between;
    padding:8px 0;
  }

  .menu-price::before{
    content:attr(data-label);
    color:var(--muted);
    font-weight:600;
  }

  .menu-table tbody tr td{
    border-radius:0 !important;
  }
}

/* =========================
   FOOTER GRID
========================= */

.footer-grid{
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:40px;
  align-items:start;
}

/* Colonnes */
.footer-col h4{
  color:var(--gold);
  font-size:1rem;
  margin-bottom:12px;
}

.footer-col p{
  font-size:.9rem;
  color:#ddd;
  line-height:1.6;
}

.footer-col a{
  color:#c9a44c;
  text-decoration:none;
}

.footer-col a:hover{
  text-decoration:underline;
}

/* TVA */
.footer-tva{
  margin-top:12px;
  font-size:.85rem;
  color:#aaa;
}

/* Centre */
.footer-center strong{
  display:block;
  font-size:1.1rem;
  color:#c9a44c;
  margin-bottom:6px;
}

.footer-phone a{
  color:#fff;
  font-weight:600;
}

/* Social */
.footer-social-col{
  text-align:right;
}

.footer-social{
  display:flex;
  justify-content:flex-end;
  gap:14px;
  margin-top:10px;
}

.footer-social a{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#141414;
  border:1px solid rgba(201,164,76,.45);
  display:flex;
  align-items:center;
  justify-content:center;
  transition:all .25s ease;
}

.footer-social img{
  width:98px;
  height:98px;
  object-fit:contain;
}

.footer-social a:hover{
  background:#c9a44c;
  transform:translateY(-2px);
}

/* Copyright */
.footer-copy{
  margin-top:30px;
  text-align:center;
  font-size:.75rem;
  color:#aaa;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:900px){
  .footer-grid{
    grid-template-columns:1fr;
    text-align:center;
  }

  .footer-social{
    justify-content:center;
  }

  .footer-social-col{
    text-align:center;
  }
}