/*
Theme Name: Istanbleu
Theme URI: https://istanbleu.ch/
Author: L'usine Web
Description: WordPress adaptation of the Istanbleu restaurant concept landing page.
Version: 1.0.0
Text Domain: istanbleu
*/

/* ═══════════════════════════════════════════
   RESET & VARIABLES
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --midnight: #1B2340;
  --midnight-light: #243060;
  --gold: #C9944A;
  --gold-light: #DBA963;
  --ivory: #F5EFE0;
  --ivory-dark: #EDE3CE;
  --charcoal: #2C2C2C;
  --bordeaux: #7A2D3A;
  --sand: #E8DCC8;
  --white: #ffffff;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Lato', Arial, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 20px 60px rgba(27,35,64,0.18);
  --shadow-sm: 0 4px 20px rgba(27,35,64,0.12);
}

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

body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--ivory);
  overflow-x: hidden;
  line-height: 1.7;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ═══════════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════════ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--midnight); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ═══════════════════════════════════════════
   TYPOGRAPHY HELPERS
═══════════════════════════════════════════ */
.serif { font-family: var(--font-serif); }
.label-tag {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.8rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--midnight);
}
.section-title.light { color: var(--ivory); }
.section-subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: #666;
  max-width: 560px;
  line-height: 1.75;
}
.section-subtitle.light { color: rgba(245,239,224,0.75); }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.2rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }
.btn:hover { transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(201,148,74,0.4);
}
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 6px 28px rgba(201,148,74,0.5); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-outline-dark {
  background: transparent;
  color: var(--midnight);
  border: 1.5px solid var(--midnight);
}
.btn-outline-dark:hover { background: var(--midnight); color: var(--white); }

/* ═══════════════════════════════════════════
   GOLD DIVIDER
═══════════════════════════════════════════ */
.gold-divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin: 1.2rem 0 1.8rem;
}
.gold-divider.center { margin: 1.2rem auto 1.8rem; }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.4rem 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: var(--midnight);
  padding: 0.9rem 4%;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
body.istanbleu-view-menu #navbar,
body.istanbleu-view-reservation #navbar {
  background: var(--midnight);
  padding: 0.9rem 4%;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo-image {
  display: block;
  width: auto;
  height: 76px;
}
#navbar.scrolled .nav-logo-image { height: 64px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold);
  color: var(--white) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
#mobile-nav {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--midnight);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.4,0,0.2,1);
}
#mobile-nav.open { transform: translateX(0); }
#mobile-nav a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  transition: color var(--transition);
}
#mobile-nav a:hover { color: var(--gold); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--midnight);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(27,35,64,0.72) 0%, rgba(27,35,64,0.55) 50%, rgba(122,45,58,0.35) 100%),
    url('assets/photos/salle-istanbleu.png') center/cover no-repeat;
  transform: scale(1.05);
  transition: transform 8s ease-out;
}
#hero.loaded .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(27,35,64,0.2) 0%, rgba(27,35,64,0.5) 60%, rgba(27,35,64,0.75) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 800px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease 0.3s, transform 1s ease 0.3s;
}
#hero.loaded .hero-content { opacity: 1; transform: translateY(0); }

.hero-pretitle {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  opacity: 0.9;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
  font-weight: 300;
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(245,239,224,0.85);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: bounce 2.5s ease-in-out infinite;
}
.hero-scroll svg { stroke: rgba(255,255,255,0.5); }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ═══════════════════════════════════════════
   INTRO STRIP (gold bar)
═══════════════════════════════════════════ */
#intro-strip {
  background: var(--gold);
  padding: 1.1rem 4%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
  flex-wrap: wrap;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.45;
  min-width: 0;
}
.strip-item svg { stroke: rgba(255,255,255,0.8); flex-shrink: 0; }
.strip-copy {
  display: block;
  min-width: 0;
}
.strip-item a.strip-copy {
  color: inherit;
  text-decoration: none;
}
.strip-dot {
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
}

/* ═══════════════════════════════════════════
   INTRODUCTION SECTION
═══════════════════════════════════════════ */
#introduction {
  background: var(--ivory);
  padding: 5.5rem 4% 4.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.intro-text { }
.intro-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 1.5rem;
}

.intro-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.pillar {
  padding: 1.5rem;
  border: 1px solid var(--sand);
  border-top: 3px solid var(--gold);
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.pillar:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.pillar-icon {
  width: 36px; height: 36px;
  background: var(--ivory);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.8rem;
}
.pillar-icon svg { stroke: var(--gold); }
.pillar h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--midnight);
  margin-bottom: 0.4rem;
}
.pillar p {
  font-size: 0.85rem !important;
  color: #888 !important;
  margin: 0 !important;
  line-height: 1.5 !important;
}

.intro-visual {
  position: relative;
}
.intro-img-main {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: var(--shadow);
}
.intro-img-accent {
  position: absolute;
  bottom: -2.5rem;
  left: -2.5rem;
  width: 55%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 5px solid var(--ivory);
  box-shadow: var(--shadow);
  border-radius: 2px;
}
.intro-badge {
  position: absolute;
  top: 1.5rem;
  right: -1.5rem;
  background: var(--midnight);
  color: var(--white);
  padding: 1.2rem;
  text-align: center;
  min-width: 110px;
}
.intro-badge-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
}
.intro-badge-text {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 0.3rem;
}

/* ═══════════════════════════════════════════
   MENU TEASER
═══════════════════════════════════════════ */
#menu-teaser {
  background: var(--midnight);
  padding: 6rem 4%;
}
.menu-teaser-inner {
  max-width: 1300px;
  margin: 0 auto;
}
.menu-teaser-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5px;
}

.menu-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.menu-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  filter: brightness(0.7);
}
.menu-card:hover .menu-card-bg { transform: scale(1.06); filter: brightness(0.55); }
.menu-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,35,64,0.9) 0%, transparent 50%);
  transition: var(--transition);
}
.menu-card:hover .menu-card-overlay {
  background: linear-gradient(to top, rgba(27,35,64,0.95) 20%, rgba(27,35,64,0.3) 100%);
}
.menu-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem;
}
.menu-card-content .label-tag { margin-bottom: 0.4rem; }
.menu-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.6rem;
}
.menu-card-desc {
  font-size: 0.82rem;
  color: rgba(245,239,224,0.7);
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.menu-card:hover .menu-card-desc { max-height: 80px; }
.menu-card-arrow {
  position: absolute;
  top: 1.2rem; right: 1.2rem;
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--transition);
}
.menu-card:hover .menu-card-arrow { opacity: 1; transform: scale(1); }
.menu-card-arrow svg { stroke: white; }

/* ═══════════════════════════════════════════
   BRAND STORY / ATMOSPHERE
═══════════════════════════════════════════ */
#brand-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}
.story-visual {
  position: relative;
  overflow: hidden;
}
.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease;
}
#brand-story:hover .story-visual img { transform: scale(1.04); }
.story-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, var(--ivory) 100%);
}
.story-text {
  background: var(--ivory);
  padding: 7rem 5rem 7rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.story-text p {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #555;
  margin-bottom: 1.4rem;
}
.story-signature {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--midnight);
  margin-top: 0.5rem;
}

/* ═══════════════════════════════════════════
   RESERVATION CTA BLOCK
═══════════════════════════════════════════ */
#resa-cta {
  background:
    linear-gradient(rgba(27,35,64,0.88), rgba(27,35,64,0.88)),
    url('assets/photos/lahmacun-four.png') center/cover fixed;
  padding: 7rem 4%;
  text-align: center;
}
.resa-cta-inner { max-width: 700px; margin: 0 auto; }
.resa-cta-inner .section-title { margin-bottom: 0.8rem; }
.resa-cta-inner .section-subtitle { margin: 0 auto 2.5rem; }
.resa-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.resa-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(245,239,224,0.7);
  font-size: 0.85rem;
  margin-top: 1.5rem;
  transition: color var(--transition);
}
.resa-phone:hover { color: var(--gold); }
.resa-phone svg { stroke: var(--gold); }

/* ═══════════════════════════════════════════
   GALLERY TEASER
═══════════════════════════════════════════ */
#gallery-teaser {
  padding: 8rem 4%;
  background: var(--white);
}
.gallery-header { text-align: center; margin-bottom: 3.5rem; }
.gallery-header .section-subtitle { margin: 0 auto; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto 2.5rem;
}
.g-item {
  appearance: none;
  display: block;
  border: 0;
  padding: 0;
  background: transparent;
  width: 100%;
  margin: 0;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 2px;
}
.g-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}
.g-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  filter: brightness(0.88);
}
.g-item:hover img { transform: scale(1.02); filter: brightness(0.78); }
.g-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27,35,64,0.4);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.g-item:hover .g-item-overlay { opacity: 1; }
.g-item-overlay svg { stroke: white; width: 32px; height: 32px; }

@media (max-width: 1100px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
}
.gallery-lightbox.open {
  display: block;
}
.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6,10,18,0.88);
  backdrop-filter: blur(12px);
  cursor: pointer;
}
.gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(92vw, 1240px);
  height: min(88vh, 860px);
  margin: 6vh auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-lightbox-figure {
  margin: 0;
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.gallery-lightbox-topline {
  width: 100%;
  display: flex;
  justify-content: center;
}
.gallery-lightbox-counter {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245,239,224,0.75);
}
.gallery-lightbox-image {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
}
.gallery-lightbox-caption {
  max-width: 720px;
  font-size: 0.94rem;
  line-height: 1.7;
  text-align: center;
  color: rgba(245,239,224,0.82);
}
.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  border: 0;
  color: var(--ivory);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: var(--transition);
}
.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
  background: rgba(201,148,74,0.18);
}
.gallery-lightbox-close {
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
}
.gallery-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  font-size: 2rem;
  line-height: 1;
}
.gallery-lightbox-nav.prev {
  left: 0;
}
.gallery-lightbox-nav.next {
  right: 0;
}
body.gallery-open {
  overflow: hidden;
}

.gallery-cta { text-align: center; }

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
#testimonials {
  background: var(--midnight);
  padding: 8rem 4%;
}
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-header { text-align: center; margin-bottom: 4rem; }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testi-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,148,74,0.2);
  padding: 2.5rem;
  border-radius: 2px;
  transition: var(--transition);
  position: relative;
}
.testi-card:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(201,148,74,0.45);
  transform: translateY(-4px);
}
.testi-quote-icon {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.25;
  line-height: 0.5;
  margin-bottom: 1.5rem;
  position: absolute;
  top: 1.5rem; right: 2rem;
}
.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1.2rem;
}
.testi-stars span {
  color: var(--gold);
  font-size: 0.85rem;
}
.testi-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(245,239,224,0.85);
  line-height: 1.75;
  margin-bottom: 1.8rem;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--midnight-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  border: 1.5px solid rgba(201,148,74,0.3);
}
.testi-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ivory);
  letter-spacing: 0.05em;
}
.testi-city {
  font-size: 0.75rem;
  color: rgba(245,239,224,0.45);
  letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════
   PRACTICAL INFO
═══════════════════════════════════════════ */
#practical {
  background: var(--ivory);
  padding: 7rem 4%;
}
.practical-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.info-block { }
.info-block-icon {
  width: 52px; height: 52px;
  background: var(--midnight);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
}
.info-block-icon svg { stroke: var(--gold); }
.info-block h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--midnight);
  margin-bottom: 1rem;
}
.info-block p, .info-block a {
  font-size: 0.92rem;
  color: #666;
  line-height: 1.8;
  display: block;
}
.info-block a:hover { color: var(--gold); }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--sand);
  color: #666;
}
.hours-row:last-child { border-bottom: none; }
.hours-row .day { font-weight: 700; color: var(--midnight); }
.hours-row.closed .time { color: var(--bordeaux); }

/* ═══════════════════════════════════════════
   MENU PAGE SECTION (hidden by default - shown via JS routing)
═══════════════════════════════════════════ */
#menu-page {
  display: none;
  min-height: 100vh;
  background: var(--ivory);
  padding-top: 100px;
}
#menu-page.active { display: block; }

.menu-page-hero {
  background: var(--midnight);
  padding: 5rem 4% 4rem;
  text-align: center;
}

.menu-tabs-shell {
  background: var(--midnight);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.menu-tabs-toggle {
  display: none;
  width: calc(100% - 8%);
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  color: var(--ivory);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-tabs-toggle-icon {
  font-size: 0.95rem;
  color: rgba(245,239,224,0.7);
  transition: transform var(--transition);
}

.menu-tabs-shell.open .menu-tabs-toggle-icon {
  transform: rotate(180deg);
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  max-width: 100%;
  overflow-x: auto;
  padding: 0.7rem 4% 1rem;
}
.menu-tab {
  padding: 0.55rem 0.95rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: none;
  color: rgba(245,239,224,0.48);
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255,255,255,0.02);
  transition: var(--transition);
  white-space: nowrap;
}
.menu-tab:hover {
  color: rgba(245,239,224,0.82);
  border-color: rgba(201,148,74,0.18);
  background: rgba(255,255,255,0.04);
}
.menu-tab.active {
  color: var(--ivory);
  border-color: rgba(201,148,74,0.34);
  background: rgba(201,148,74,0.12);
}

.menu-category { display: none; padding: 5rem 4%; max-width: 1300px; margin: 0 auto; }
.menu-category.active { display: block; }

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5px;
  background: var(--sand);
  border: 1.5px solid var(--sand);
}
.dish-card {
  background: var(--white);
  padding: 2rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  transition: background var(--transition);
}
.dish-card:hover { background: var(--ivory); }
.dish-info { flex: 1; }
.dish-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--midnight);
  margin-bottom: 0.35rem;
}
.dish-desc {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.65;
  margin-bottom: 0.6rem;
}
.dish-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.dish-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  text-transform: uppercase;
}
.tag-veg { background: #e8f5e8; color: #2e7d32; }
.tag-hot { background: #ffeee8; color: #bf360c; }
.tag-home { background: #fff8e8; color: #795548; }
.tag-chef { background: #e8eaf6; color: #3949ab; }
.tag-share { background: #e8f1fb; color: #1f5f8b; }
.tag-kid { background: #fff0e1; color: #a35a0f; }
.tag-sweet { background: #f8e8ef; color: #8f2958; }
.dish-price {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════
   RESERVATION PAGE
═══════════════════════════════════════════ */
#resa-page {
  display: none;
  min-height: 100vh;
  background: var(--ivory);
  padding-top: 100px;
}
#resa-page.active { display: block; }

.resa-page-hero {
  background: var(--midnight);
  padding: 5rem 4% 4rem;
  text-align: center;
}

.resa-form-section {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 4%;
}

.resa-form {
  background: var(--white);
  padding: 3rem;
  border: 1px solid var(--sand);
  box-shadow: var(--shadow-sm);
}
.form-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--midnight);
  margin-bottom: 0.5rem;
}
.form-subtitle {
  font-size: 0.88rem;
  color: #888;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--sand);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: span 2; }
.form-group label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--midnight);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--sand);
  background: var(--ivory);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--charcoal);
  border-radius: 2px;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-gdpr {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 1.5rem 0;
  font-size: 0.82rem;
  color: #888;
}
.form-gdpr input { width: auto; flex-shrink: 0; margin-top: 3px; }
.form-submit { width: 100%; padding: 1rem; font-size: 0.82rem; letter-spacing: 0.15em; }

.resa-sidebar { }
.resa-assurance {
  background: var(--midnight);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--ivory);
}
.resa-assurance h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  color: var(--gold);
}
.assurance-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: rgba(245,239,224,0.8);
  line-height: 1.6;
}
.assurance-item svg { stroke: var(--gold); flex-shrink: 0; margin-top: 2px; }
.resa-hours {
  background: var(--white);
  padding: 2rem;
  border: 1px solid var(--sand);
}
.resa-hours h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--midnight);
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
#footer {
  background: var(--midnight);
  padding: 5rem 4% 2rem;
  color: rgba(245,239,224,0.6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 4rem;
  max-width: 1300px;
  margin: 0 auto 4rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .nav-logo-image { height: 112px; }
.footer-brand p {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(245,239,224,0.55);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-socials { display: flex; gap: 0.8rem; }
.footer-social {
  width: 38px; height: 38px;
  border: 1px solid rgba(201,148,74,0.25);
  border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.footer-social:hover { border-color: var(--gold); background: rgba(201,148,74,0.1); }
.footer-social svg { stroke: rgba(245,239,224,0.5); }
.footer-social:hover svg { stroke: var(--gold); }

.footer-col h4 {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(245,239,224,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin-bottom: 0.9rem;
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer-contact-item svg { stroke: var(--gold); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(245,239,224,0.3);
}
.footer-bottom a { color: rgba(245,239,224,0.4); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-credit {
  color: rgba(245,239,224,0.42);
}

/* ═══════════════════════════════════════════
   ANIMATIONS (SCROLL)
═══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════
   NOTIFICATION
═══════════════════════════════════════════ */
#notification {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--midnight);
  color: var(--ivory);
  padding: 1rem 2rem;
  border-left: 4px solid var(--gold);
  font-size: 0.88rem;
  box-shadow: var(--shadow);
  z-index: 9999;
  transition: transform 0.4s ease;
  white-space: nowrap;
}
#notification.show { transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  #introduction {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 4.5rem 4% 3.25rem;
  }
  .intro-img-accent { display: none; }
  .intro-badge { right: 1rem; }
  .intro-visual {
    max-width: 34rem;
    margin: 0 auto;
  }
  #brand-story { grid-template-columns: 1fr; }
  .story-visual { height: 350px; }
  .story-text { padding: 4rem 6%; }
  .story-visual::after { display: none; }
  .practical-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .resa-form-section { grid-template-columns: 1fr; }
  .resa-sidebar { display: none; }
  .dishes-grid { grid-template-columns: 1fr; }
  #menu-teaser {
    padding: 4.5rem 4% 5rem;
  }
  .menu-teaser-header {
    margin-bottom: 2.75rem;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo-image { height: 64px; }
  #navbar.scrolled .nav-logo-image { height: 56px; }
  #intro-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    justify-content: stretch;
    align-items: stretch;
    padding: 0.95rem 4%;
  }
  #intro-strip .strip-dot { display: none; }
  #intro-strip .strip-item {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    text-transform: none;
    letter-spacing: 0.04em;
    font-size: 0.72rem;
    padding: 0.85rem 0.9rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
  }
  #intro-strip .strip-item svg {
    width: 17px;
    height: 17px;
    margin-top: 0.1rem;
  }
  #intro-strip .strip-item-primary {
    grid-column: 1 / -1;
  }
  #introduction {
    padding: 3.75rem 4% 2.5rem;
    gap: 1.5rem;
  }
  .intro-pillars {
    gap: 1rem;
    margin-top: 1.75rem;
  }
  .intro-badge {
    top: 1rem;
    right: 1rem;
    padding: 0.9rem;
    min-width: 88px;
  }
  .intro-badge-num { font-size: 2rem; }
  .intro-badge-text { font-size: 0.58rem; }
  .menu-teaser-header { flex-direction: column; align-items: flex-start; }
  #menu-teaser {
    padding: 4rem 4% 4.5rem;
  }
  .menu-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .gallery-lightbox-dialog {
    width: min(100vw, 100%);
    height: 100vh;
    margin: 0;
    padding: 4.5rem 1rem 2rem;
  }
  .gallery-lightbox-image {
    max-height: 60vh;
  }
  .gallery-lightbox-close {
    top: 1rem;
    right: 1rem;
  }
  .gallery-lightbox-nav {
    top: auto;
    bottom: 1rem;
    transform: none;
  }
  .gallery-lightbox-nav.prev {
    left: 1rem;
  }
  .gallery-lightbox-nav.next {
    right: 1rem;
  }
  .intro-pillars { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-group.full { grid-column: span 1; }
  .hero-btns { flex-direction: column; align-items: center; }
  .istanbleu-static-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .menu-tabs-toggle { display: flex; }
  .menu-tabs {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    padding: 0.75rem 4% 1rem;
    overflow: visible;
  }
  .menu-tabs-shell.open .menu-tabs { display: flex; }
  .menu-tab {
    width: 100%;
    text-align: left;
    padding: 0.8rem 0.95rem;
    letter-spacing: 0.06em;
  }
}

@media (max-width: 480px) {
  #intro-strip {
    grid-template-columns: 1fr;
  }
  #intro-strip .strip-item-primary {
    grid-column: auto;
  }
  #introduction {
    padding: 3.25rem 4% 2rem;
  }
  .menu-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.6rem; }
  .nav-logo-image { height: 56px; }
  #navbar.scrolled .nav-logo-image { height: 50px; }
  .footer-brand .nav-logo-image { height: 96px; }
  .istanbleu-static-logo { height: 74px; }
}

/* WordPress adjustments */
.admin-bar #navbar { top: 32px; }
@media (max-width: 782px) {
  .admin-bar #navbar { top: 46px; }
}
body.istanbleu-view-menu #home-page,
body.istanbleu-view-menu #resa-page,
body.istanbleu-view-reservation #home-page,
body.istanbleu-view-reservation #menu-page {
  display: none;
}
body.istanbleu-view-menu #menu-page,
body.istanbleu-view-reservation #resa-page {
  display: block;
}
.istanbleu-default-page {
  max-width: 960px;
  margin: 0 auto;
  min-height: 70vh;
  padding: 9rem 4% 5rem;
}
.istanbleu-static-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.istanbleu-static-home {
  display: inline-flex;
  align-items: center;
}
.istanbleu-static-logo {
  width: auto;
  height: 88px;
}
.istanbleu-static-actions {
  margin-top: 2.5rem;
}
.istanbleu-default-content,
.istanbleu-default-content p,
.istanbleu-default-content li {
  font-size: 1rem;
  line-height: 1.9;
  color: #555;
}
.istanbleu-default-content h2 {
  margin-top: 2.25rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--midnight);
}
.istanbleu-default-content h2:first-child {
  margin-top: 0;
}
.istanbleu-default-content p + p {
  margin-top: 1rem;
}
.istanbleu-default-content ul,
.istanbleu-default-content ol {
  margin: 1rem 0 1rem 1.25rem;
}

@media (max-width: 768px) {
  .istanbleu-static-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .istanbleu-static-logo {
    height: 74px;
  }
}
