/* =====================================================
   MAJÂZ – Restaurant Marocain | Styles CSS
   Design fidèle à l'original Webflow
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Montserrat:wght@400;500;600;700&family=Dancing+Script:wght@500;600&display=swap');

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

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

/* ---- BODY – fond pierre texturé ---- */
body {
  background-color: #c2b49a;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(0,0,0,0.03) 0px,
      rgba(0,0,0,0.03) 1px,
      transparent 1px,
      transparent 8px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(0,0,0,0.02) 0px,
      rgba(0,0,0,0.02) 1px,
      transparent 1px,
      transparent 8px
    );
  min-height: 100vh;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ---- WRAPPER CENTRAL ---- */
.page-wrapper {
  max-width: 720px;
  margin: 0 auto;
  background-color: #f5eae0;
  min-height: 100vh;
  position: relative;
}

/* ---- BOUTON BOISSONS (haut à droite) ---- */
.top-nav {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
}

.btn-boissons {
  display: inline-block;
  background-color: #7a8060;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 9px 18px;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.25s ease;
  white-space: nowrap;
}

.btn-boissons:hover {
  background-color: #5e6347;
  color: #fff;
}

/* ---- HEADER / LOGO ---- */
.site-header {
  text-align: center;
  padding: 40px 40px 30px;
  position: relative;
}

/* Zone logo */
.logo-zone {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px 20px;
}

.logo-zone img {
  max-width: 480px;
  width: 88%;
  height: auto;
  display: block;
  /* Fond blanc du PNG : mix-blend-mode pour le fondre dans le beige */
  mix-blend-mode: multiply;
}

/* ---- MAIN MENU CONTAINER ---- */
.menu-main {
  padding: 0 0 40px;
}

/* ---- SECTION ---- */
.menu-section {
  padding: 36px 0;
  position: relative;
}

/* Séparateur entre sections */
.menu-section + .menu-section {
  border-top: 1px solid rgba(0,0,0,0.08);
}

/* ---- TITRE DE SECTION ---- */
.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 28px;
  padding: 0 60px;
}

/* ---- LAYOUT AVEC MOTIF SUR LE CÔTÉ ---- */
/* Motif à gauche (sections impaires : Mosaïque, Tajines, Grillades) */
.has-pattern-left {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 0;
  align-items: start;
}

.has-pattern-left .section-title {
  grid-column: 1 / -1;
}

.has-pattern-left .pattern-col {
  grid-row: 2;
  grid-column: 1;
}

.has-pattern-left .items-col {
  grid-row: 2;
  grid-column: 2;
  padding-left: 16px;
  padding-right: 40px;
}

/* Motif à droite (sections paires : Préludes, Couscous, Desserts) */
.has-pattern-right {
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 0;
  align-items: start;
}

.has-pattern-right .section-title {
  grid-column: 1 / -1;
}

.has-pattern-right .pattern-col {
  grid-row: 2;
  grid-column: 2;
}

.has-pattern-right .items-col {
  grid-row: 2;
  grid-column: 1;
  padding-left: 40px;
  padding-right: 16px;
}

/* Sections sans motif (accompagnements…) */
.no-pattern .items-col {
  padding: 0 40px;
}

/* ---- MOTIF DÉCORATIF DORÉ (image professionnelle) ---- */
.pattern-col {
  align-self: stretch;
  min-height: 200px;
  background-image: url('pattern.png');
  background-repeat: repeat;
  background-size: 120px 120px;
  background-position: center top;
  opacity: 0.92;
}

/* ---- ÉLÉMENTS DU MENU ---- */

/* Sous-titre (Froide / Chaude) */
.sub-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1a1a1a;
  text-align: center;
  margin-bottom: 14px;
  margin-top: 6px;
}

/* Chaque plat */
.dish {
  margin-bottom: 16px;
}

.dish-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.dish-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  flex: 1;
}

.dish-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #1a1a1a;
  white-space: nowrap;
  flex-shrink: 0;
}

.dish-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: #5a5a5a;
  line-height: 1.5;
  margin-top: 2px;
}

/* Variante : prix sous la description (ex: Poulet / Agneau) */
.dish-sub-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 2px;
}

.dish-sub-price span:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: #5a5a5a;
}

.dish-sub-price .dish-price {
  font-size: 0.8rem;
}

/* ---- ACCOMPAGNEMENTS ---- */
.acc-intro {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: #5a5a5a;
  margin-bottom: 14px;
  line-height: 1.5;
}

.acc-section-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-top: 14px;
  margin-bottom: 6px;
}

.acc-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}

.acc-item span:first-child {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.88rem;
  color: #5a5a5a;
}

.acc-item .dish-price {
  font-size: 0.8rem;
}

/* ---- FOOTER ---- */
.site-footer {
  background-color: #1a1a1a;
  color: #ffffff;
  text-align: center;
  padding: 40px 30px 50px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 18px;
}

.footer-social a {
  color: #aaaaaa;
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: #c9a84c;
}

.footer-follow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #888;
  margin-bottom: 18px;
}

.footer-address {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.8;
  color: #ffffff;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 600px) {
  .has-pattern-left,
  .has-pattern-right {
    display: block;
  }
  .pattern-col { display: none; }
  .has-pattern-left .items-col,
  .has-pattern-right .items-col {
    padding: 0 20px;
  }
  .section-title { padding: 0 20px; }
  .no-pattern .items-col { padding: 0 20px; }
  .top-nav { top: 12px; right: 12px; }
  .btn-boissons { font-size: 0.65rem; padding: 7px 13px; }
}
