:root {
  --bg: #ffffff;
  --text: #0c0c0c;
  --muted: #4a4a4a;
  --accent: #d29c4a;
  --accent-strong: #e6b86d;
  --max-width: 1200px;
  --shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  --radius: 14px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Open Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
h1, h2, h3, h4, h5, h6,
.hero-slogan,
.story-title,
.page-title,
.section-title,
.story-heading,
.brand {
  font-family: "Cinzel", serif;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  transition: all 0.3s ease;
}

@media (max-width: 720px) {
  header {
    position: fixed;
    background: rgba(12, 12, 12, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  header.scrolled {
    background: rgba(12, 12, 12, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  }
}

.white-page header {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 720px) {
  .white-page header {
    position: fixed;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
  }
}

.white-page .nav { color: var(--text); }
.white-page .nav a { color: var(--text); }
.white-page .cta { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); color: #0c0c0c; }

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.nav-left {
  display: flex;
  align-items: center;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-overlay nav a,
.nav-overlay .nav-actions a,
.nav-overlay .brand { color: #ffffff; }

.brand { 
  display: flex; 
  align-items: center; 
  font-family: "Cinzel", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 100;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: currentColor;
  margin: 5px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

nav { display: flex; gap: 20px; align-items: center; }
nav a { padding: 6px 10px; border-radius: 8px; font-weight: 500; transition: opacity .2s ease; }
nav a:hover, nav a.active { opacity: 0.8; }

.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-actions a { font-weight: 600; letter-spacing: 0.02em; min-height: 44px; display: inline-flex; align-items: center; }

.cta {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #0c0c0c;
  font-weight: 700;
  border: none;
  box-shadow: var(--shadow);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cta.ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

/* تصويرة ديال الشاورما - صورة الخلفية الأساسية */
/* Taswira dyal shawarma - Background principal f accueil */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.squarespace-cdn.com/content/v1/69120c1062de7e492822bcf3/5cb2a982-d4a7-43ca-a090-96e244cbf4d8/PPP_8684.JPG") center/cover no-repeat;
  filter: brightness(0.45);
  z-index: 0;
  transition: all 0.5s ease;
}

/* تصويرة ديال الحلويات - صورة صفحة القصة */
/* Taswira dyal l7alwiyat - Image pour page histoire */
.story-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("https://images.squarespace-cdn.com/content/v1/69120c1062de7e492822bcf3/b1f1b58d-c80c-46e9-bc53-1b0b617780d5/PPP_8806.JPG") center/cover no-repeat;
  filter: brightness(0.5);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(210, 156, 74, 0.18), transparent 42%),
    radial-gradient(circle at 80% 20%, rgba(230, 184, 109, 0.2), transparent 50%);
}

.hero-center { position: relative; display: grid; gap: 18px; padding: 24px; z-index: 1; }

.hero-slogan {
  margin: 0;
  display: flex;
  flex-direction: row;
  gap: 60px;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 0.08em;
  font-weight: 700;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-slogan span { 
  display: inline-block;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.hero-slogan span:hover {
  color: var(--accent-strong);
  transform: scale(1.05);
}

/* ملي كتحط الفارة على SHAWARMA - تصويرة ديال الشاورما */
/* Taswira dyal shawarma - Katban fach katdi souris 3la SHAWARMA */
.hero:has(.hero-slogan span:nth-child(1):hover)::before {
  background: url("/images/shawarma.jpg") center/cover no-repeat;
  filter: brightness(0.55);
  transition: all 0.5s ease;
}

/* ملي كتحط الفارة على GRILLADES - تصويرة ديال المشوي */
/* Taswira dyal lmashwi - Katban fach katdi souris 3la GRILLADES */
.hero:has(.hero-slogan span:nth-child(2):hover)::before {
  background: url("/images/grill.jpeg") center/cover no-repeat;
  filter: brightness(0.55);
  transition: all 0.5s ease;
}

/* ملي كتحط الفارة على DESSERTS - تصويرة ديال الحلويات */
/* Taswira dyal l7alwiyat - Katban fach katdi souris 3la DESSERTS */
.hero:has(.hero-slogan span:nth-child(3):hover)::before {
  background: url("/images/desserts.jpg") center/cover no-repeat, linear-gradient(135deg, #d29c4a, #e6b86d);
  filter: brightness(0.55);
  transition: all 0.5s ease;
}

.story-title {
  margin: 0;
  font-size: clamp(48px, 8vw, 86px);
  letter-spacing: 0.06em;
  font-weight: 700;
  line-height: 1;
}

.hero-meta { font-size: 18px; letter-spacing: 0.04em; line-height: 1.4; }

main { padding: 0; }

.welcome-section {
  padding: 140px 24px 80px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-title {
  margin: 0 0 24px;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: 0.06em;
  font-weight: 700;
  line-height: 1.2;
}

.subtitle {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--text);
}

.subtitle-small {
  margin: 0;
  font-size: 16px;
  color: var(--muted);
}

.reservation-section {
  padding: 60px 24px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.section-title {
  margin: 0 0 24px;
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: 0.06em;
  font-weight: 700;
  line-height: 1.2;
}

.reservation-text {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--text);
}

.reservation-sub {
  margin: 0 0 32px;
  font-size: 14px;
  color: var(--muted);
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
}

.contact-item .icon { font-size: 20px; }

/* تصويرة ديال المشوي فصفحة الزيارة - Taswira dyal lmashwi f page visite (food banner) */
.food-banner {
  position: relative;
  min-height: 50vh;
  display: grid;
  place-items: center;
  background: url("https://images.squarespace-cdn.com/content/v1/69120c1062de7e492822bcf3/73a08c26-6737-4796-adaf-73ef0ad4724e/PPP_8776.JPG") center/cover no-repeat;
  color: #ffffff;
  padding: 60px 24px;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.banner-text {
  position: relative;
  margin: 0;
  max-width: 900px;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.04em;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
}

.story-content {
  padding: 80px 24px;
  background: #ffffff;
}

.story-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 48px;
  margin-bottom: 60px;
}

.story-heading {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.06em;
  font-weight: 700;
  line-height: 1.2;
}

.story-right p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.cta-center {
  text-align: center;
}

.cta-outline {
  display: inline-block;
  padding: 14px 32px;
  border: 2px solid var(--text);
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: background 0.2s ease, color 0.2s ease;
}

.cta-outline:hover {
  background: var(--text);
  color: #ffffff;
}

.info-block {
  background: #ffffff;
  color: var(--text);
  padding: 60px 24px 80px;
}

.info-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  text-align: center;
}

.info-grid h3 { margin: 0 0 12px; letter-spacing: 0.05em; }
.info-grid p { margin: 6px 0; color: var(--muted); }

.info-logo img { max-width: 300px; width: 100%; height: auto; filter: drop-shadow(0 10px 25px rgba(0,0,0,0.15)); }

.footer-socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.08);
  transition: background 0.2s ease;
}

.footer-socials a:hover {
  background: rgba(0, 0, 0, 0.14);
}

.link-underline {
  text-decoration: underline;
}

footer {
  padding: 36px 24px 60px;
  background: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #f7f7f7;
}

.footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.small { color: #c8c8c8; font-size: 14px; }

.socials { display: flex; gap: 10px; }
.socials a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(255, 255, 255, 0.12); }

@media (max-width: 720px) {
  .menu-toggle {
    display: block;
    color: #ffffff;
  }
  
  .white-page .menu-toggle {
    color: var(--text);
  }
  
  .nav { 
    flex-wrap: wrap;
    padding: 14px 20px;
    gap: 12px;
  }
  
  .nav-left {
    flex: 1;
  }
  
  .nav-right {
    opacity: 0;
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.97), rgba(12, 12, 12, 0.98));
    backdrop-filter: blur(10px);
    z-index: 50;
    padding: 90px 24px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 36px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(-20px);
  }
  
  .nav-right.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .brand {
    font-size: 20px;
    letter-spacing: 0.08em;
  }
  
  nav { 
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 400px;
  }
  
  nav a {
    padding: 18px 24px;
    text-align: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    animation: slideInUp 0.5s ease forwards;
    opacity: 0;
  }
  
  nav a:nth-child(1) { animation-delay: 0.1s; }
  nav a:nth-child(2) { animation-delay: 0.2s; }
  nav a:nth-child(3) { animation-delay: 0.3s; }
  
  @keyframes slideInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
    from {
      opacity: 0;
      transform: translateY(20px);
    }
  }
  
  nav a:hover,
  nav a.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #0c0c0c;
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(210, 156, 74, 0.3);
  }
  
  .white-page .nav-right.active nav a {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .white-page .nav-right.active nav a:hover,
  .white-page .nav-right.active nav a.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #0c0c0c;
    border-color: var(--accent);
  }
  
  .nav-actions { 
    display: flex;
    width: 100%;
    max-width: 400px; 
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
  }
  
  .nav-actions a {
    transition: all 0.3s ease;
  }
  
  .nav-actions a:hover {
    transform: scale(1.1);
    color: var(--accent-strong);
  }
  
  .nav-actions a svg {
    width: 24px;
    height: 24px;
  }
  
  .nav-right.active .cta {
    width: auto;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    animation: slideInUp 0.5s ease 0.4s forwards;
    opacity: 0;
  }
  
  .cta {
    width: 100%;
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .hero-slogan { 
    font-size: clamp(22px, 7vw, 36px); 
    gap: 16px;
    padding: 0 16px;
  }
  
  .hero-meta {
    font-size: 14px;
    padding: 0 16px;
  }
  
  .hero-center {
    padding: 16px;
  }
  
  .story-grid { 
    grid-template-columns: 1fr; 
    gap: 24px; 
  }
  
  .welcome-section { 
    padding: 120px 16px 50px; 
  }
  
  .hero {
    padding-top: 70px;
  }
  
  .reservation-section {
    padding: 40px 16px;
  }
  
  .section-title {
    font-size: clamp(28px, 6vw, 40px);
  }
  
  .page-title {
    font-size: clamp(32px, 7vw, 48px);
  }
  
  .story-content {
    padding: 60px 16px;
  }
  
  .story-heading {
    font-size: clamp(28px, 6vw, 44px);
  }
  
  .info-grid { 
    grid-template-columns: 1fr; 
    text-align: center;
    gap: 40px;
  }
  
  .info-block {
    padding: 50px 16px 60px;
  }
  
  .info-logo img { 
    max-width: 180px; 
  }
  
  .footer-socials a {
    width: 44px;
    height: 44px;
  }
  
  .food-banner {
    min-height: 40vh;
    padding: 40px 16px;
  }
  
  .banner-text {
    font-size: clamp(18px, 4vw, 24px);
  }
  
  /* Auto-switching background animation for mobile */
  /* التصاوير كيتبدلو أوتوماتيكيا على الهاتف - Taswir kayetbadlo automatiquement f mobile */
  .hero::before {
    animation: bgSwitchMobile 12s infinite;
  }
  
  @keyframes bgSwitchMobile {
    /* تصويرة ديال الشاورما - Taswira dyal shawarma */
    0%, 33% {
      background: url("/images/shawarma.jpg") center/cover no-repeat;
      filter: brightness(0.45);
    }
    /* تصويرة ديال المشوي - Taswira dyal lmashwi */
    34%, 66% {
      background: url("/images/grill.jpeg") center/cover no-repeat;
      filter: brightness(0.50);
    }
    /* تصويرة ديال الحلويات - Taswira dyal l7alwiyat */
    67%, 100% {
      background: url("/images/desserts.jpg") center/cover no-repeat;
      filter: brightness(0.55);
    }
  }
}

@media (min-width: 721px) and (max-width: 1024px) {
  .nav {
    padding: 14px 20px;
    gap: 12px;
  }
  
  .brand {
    font-size: 20px;
  }
  
  .nav-right {
    gap: 20px;
  }
  
  nav {
    gap: 10px;
  }
  
  nav a {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .nav-actions a svg {
    width: 16px;
    height: 16px;
  }
  
  .cta {
    padding: 10px 14px;
    font-size: 13px;
  }
  
  .info-grid { 
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
  }
  
  .story-grid { 
    gap: 36px; 
  }
  
  .hero-slogan { 
    gap: 40px; 
    font-size: clamp(30px, 5vw, 50px); 
  }
  
  .info-logo img { 
    max-width: 240px; 
  }
  
  .hero-meta {
    font-size: 16px;
  }
  
  .welcome-section {
    padding: 120px 20px 70px;
  }
  
  .reservation-section {
    padding: 50px 20px;
  }
  
  .story-content {
    padding: 70px 20px;
  }
  
  .info-block {
    padding: 50px 20px 70px;
  }
  
  /* Auto-switching background animation for tablet */
  /* التصاوير كيتبدلو أوتوماتيكيا على التابلت - Taswir kayetbadlo automatiquement f tablet */
  .hero::before {
    animation: bgSwitchTablet 12s infinite;
  }
  
  @keyframes bgSwitchTablet {
    /* تصويرة ديال الشاورما - Taswira dyal shawarma */
    0%, 33% {
      background: url("https://images.squarespace-cdn.com/content/v1/69120c1062de7e492822bcf3/5cb2a982-d4a7-43ca-a090-96e244cbf4d8/PPP_8684.JPG") center/cover no-repeat;
      filter: brightness(0.45);
    }
    /* تصويرة ديال المشوي - Taswira dyal lmashwi */
    34%, 66% {
      background: url("https://images.squarespace-cdn.com/content/v1/69120c1062de7e492822bcf3/73a08c26-6737-4796-adaf-73ef0ad4724e/PPP_8776.JPG") center/cover no-repeat;
      filter: brightness(0.50);
    }
    /* تصويرة ديال الحلويات - Taswira dyal l7alwiyat */
    67%, 100% {
      background: url("https://images.squarespace-cdn.com/content/v1/69120c1062de7e492822bcf3/b1f1b58d-c80c-46e9-bc53-1b0b617780d5/PPP_8806.JPG") center/cover no-repeat;
      filter: brightness(0.55);
    }
  }
}
