/* =====================================================================
   New Bistrò — visual enhancement layer
   Loaded AFTER templatemo-klassy-cafe.css. Adds a refined, modern look
   while preserving the brand (scarlet red, script logo, serif type) and
   staying consistent with the elegant /menu/ page (Playfair Display).
   This file only restyles the homepage; it is fully reversible.
   ===================================================================== */

/* ---------------------------------------------------------------------
   01. Design tokens
   --------------------------------------------------------------------- */
:root {
  --brand-red: #f70000;          /* kept exactly — existing brand accent */
  --brand-red-deep: #9e0a05;     /* richer red for gradients / depth     */
  --brand-red-dark: #5e0703;
  --ink: #1d1b1a;                /* charcoal body text                   */
  --ink-soft: #6b635d;           /* muted text                           */
  --cream: #faf6f0;              /* warm ivory section background        */
  --cream-2: #f3ebdf;
  --line: rgba(29, 27, 26, 0.12);
  --white: #ffffff;

  --font-script: 'EdwardianScriptITC', 'Brush Script MT', cursive;
  --font-display: 'Playfair Display', 'Times', Georgia, serif;
  --font-body: 'Times', 'Playfair Display', Georgia, serif;

  --shadow-sm: 0 6px 20px rgba(29, 27, 26, 0.08);
  --shadow-md: 0 18px 50px rgba(29, 27, 26, 0.14);
  --shadow-lg: 0 32px 80px rgba(29, 27, 26, 0.22);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------------------
   02. Base typography
   --------------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  background: var(--white);
}

p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.85;
  color: var(--ink-soft);
}

::selection { background: var(--brand-red); color: #fff; }
::-moz-selection { background: var(--brand-red); color: #fff; }

/* Note: smooth in-page scrolling is handled by custom.js (jQuery animate). */

img { max-width: 100%; }

/* ---------------------------------------------------------------------
   03. Section heading system (eyebrow + title)
   --------------------------------------------------------------------- */
.section-heading h6 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-red);
  padding-left: 52px;
}
.section-heading h6:before {
  width: 38px;
  top: 9px;
  background-color: var(--brand-red);
}

.section-heading h2 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(30px, 4vw, 47px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-top: 18px;
  margin-bottom: 26px;
}

.section-heading.text-center { text-align: center; }
.section-heading.text-center h6 { display: inline-block; padding-left: 0; }
.section-heading.text-center h6:before { display: none; }
.section-heading.text-center h6:after {
  content: '';
  display: block;
  width: 54px;
  height: 1px;
  background: var(--brand-red);
  margin: 14px auto 0;
}

/* ---------------------------------------------------------------------
   04. Buttons
   --------------------------------------------------------------------- */
.main-white-button a,
.btn-bistro {
  position: relative;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 38px;
  border-radius: 0;
  overflow: hidden;
  z-index: 0;
  transition: color .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}

/* Hero CTA — light button on the dark hero panel */
#top .left-content .main-white-button a {
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
}
#top .left-content .main-white-button a:before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--ease);
  z-index: -1;
}
#top .left-content .main-white-button a:hover {
  color: var(--brand-red-deep);
  border-color: #fff;
  opacity: 1;
}
#top .left-content .main-white-button a:hover:before { transform: scaleX(1); }

/* ---------------------------------------------------------------------
   05. Header & navigation
   --------------------------------------------------------------------- */
.header-area {
  /* Always-visible sticky header (template default is absolute, which made
     the bar scroll away and then pop back in mid-page). */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  backdrop-filter: saturate(140%) blur(8px);
  box-shadow: 0 1px 0 rgba(29, 27, 26, 0.06);
}
.background-header {
  background-color: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 6px 28px rgba(29, 27, 26, 0.10) !important;
}

/* Nav links — refined letterspaced serif instead of oversized script */
.header-area .main-nav .nav li {
  border-right: none;
  padding-left: 20px;
  padding-right: 20px;
}
.header-area .main-nav .nav li a,
.background-header .main-nav .nav li a {
  font-family: var(--font-display) !important;
  font-size: 14px !important;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink) !important;
  height: 60px;
  line-height: 60px;
  position: relative;
}
.header-area .main-nav .nav li a:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 14px;
  width: 0;
  height: 1.5px;
  background: var(--brand-red);
  transition: width .35s var(--ease);
}
.header-area .main-nav .nav li a:hover,
.header-area .main-nav .nav li a.active,
.background-header .main-nav .nav li:hover a {
  color: var(--brand-red) !important;
}
.header-area .main-nav .nav li a:hover:after,
.header-area .main-nav .nav li a.active:after { width: 100%; }

/* "Il Menù" call-to-action pill in the nav */
.header-area .main-nav .nav li.menu-cta { padding-right: 0; }
.header-area .main-nav .nav li.menu-cta a {
  color: #fff !important;
  background: var(--brand-red);
  padding: 0 26px;
  height: 46px;
  line-height: 46px;
  margin-top: 7px;
  border-radius: 2px;
  transition: background .35s var(--ease), transform .35s var(--ease);
}
.header-area .main-nav .nav li.menu-cta a:after { display: none; }
.header-area .main-nav .nav li.menu-cta a:hover {
  color: #fff !important;
  background: var(--brand-red-deep);
  transform: translateY(-1px);
}

/* ---------------------------------------------------------------------
   06. Hero / banner
   --------------------------------------------------------------------- */
#top { padding-top: 100px; }

#top .left-content {
  background:
    linear-gradient(150deg, rgba(158, 10, 5, 0.86) 0%, rgba(94, 7, 3, 0.92) 55%, rgba(20, 17, 16, 0.95) 100%),
    url(../images/top-left-bg.jpg) center center / cover no-repeat;
}
#top .left-content:after {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

#top .left-content .inner-content {
  width: 100%;
  max-width: 460px;
  padding: 0 28px;
  text-align: center;
}
/* Animate the in-flow children, NOT .inner-content itself — the parent relies
   on translate(-50%,-50%) for centering and a transform animation would clobber it. */
#top .left-content .inner-content > * { animation: bistroRise 0.9s var(--ease) both; }
#top .left-content .inner-content > *:nth-child(1) { animation-delay: 0.05s; }
#top .left-content .inner-content > *:nth-child(2) { animation-delay: 0.13s; }
#top .left-content .inner-content > *:nth-child(3) { animation-delay: 0.21s; }
#top .left-content .inner-content > *:nth-child(4) { animation-delay: 0.30s; }

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 10px;
}

#top .left-content h4 {
  font-family: var(--font-script);
  color: #fff;
  font-size: clamp(46px, 4.6vw, 74px);
  line-height: 1;
  font-weight: 400;
  white-space: nowrap;
  text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

#top .left-content h6 {
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-top: 16px;
  white-space: nowrap;
}
#top .left-content h6:before,
#top .left-content h6:after {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  vertical-align: middle;
  margin: 0 10px;
}

#top .left-content .main-white-button { margin-top: 34px; }

/* Slider — clean, fixed-height, crisp cover images */
.Modern-Slider { background: #14110f; }
#top .Modern-Slider .item .img-fill {
  height: clamp(440px, 64vh, 660px);
  max-height: none;
  background: #14110f;
}
#top .Modern-Slider .item .img-fill img,
#top .Modern-Slider .item .img-fill {
  position: relative;
}
#top .Modern-Slider .item .img-fill img {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
}
/* subtle vignette so the photos feel intentional */
#top .main-banner { position: relative; }
#top .main-banner:after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.10) 0%, transparent 22%, transparent 70%, rgba(0,0,0,0.28) 100%);
}

/* Slider arrows — refined */
.Modern-Slider .NextArrow,
.Modern-Slider .PrevArrow {
  width: 46px;
  height: 46px;
  line-height: 46px;
  font-size: 26px;
  background-color: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0.85;
}
.Modern-Slider .NextArrow:hover,
.Modern-Slider .PrevArrow:hover {
  background-color: var(--brand-red);
  border-color: var(--brand-red);
  opacity: 1;
}

@keyframes bistroRise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------------------------------------------------------------------
   07. Offerings / specialità (new section)
   --------------------------------------------------------------------- */
#offerings {
  background: var(--cream);
  padding: 104px 0 96px;
  margin-top: 0;
  position: relative;
}
#offerings .section-heading { margin-bottom: 60px; }

.offerings-grid {
  justify-content: center;
  /* Bootstrap 4 has no --bs-gutter-y, so add vertical spacing between
     wrapped rows explicitly (matters on mobile/tablet where cards wrap). */
  row-gap: 30px;
}
.offering {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 40px 18px 34px;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.offering:before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--brand-red);
  transform: scaleX(0);
  transition: transform .4s var(--ease);
}
.offering:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.offering:hover:before { transform: scaleX(1); }
.offering i {
  font-size: 34px;
  color: var(--brand-red);
  margin-bottom: 18px;
  display: inline-block;
  transition: transform .4s var(--ease);
}
.offering:hover i { transform: scale(1.12); }
.offering h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.offering p {
  font-size: 14px;
  letter-spacing: 0.4px;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------------------------------------------------------------------
   08. About
   --------------------------------------------------------------------- */
#about {
  margin-top: 0;
  padding: 110px 0 100px;
}
#about .left-text-content p { color: var(--ink-soft); }

/* About thumbnail gallery */
#about .left-text-content .row { margin-top: 30px; }
#about .left-text-content .row img {
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
#about .left-text-content .row img:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Storefront image with elegant framing */
#about .right-content .thumb {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
#about .right-content .thumb img {
  border-radius: 4px;
  transition: transform .8s var(--ease);
}
#about .right-content .thumb:hover img { transform: scale(1.04); }
#about .right-content .thumb a {
  width: 74px;
  height: 74px;
  line-height: 74px;
  z-index: 3;
  box-shadow: 0 10px 30px rgba(158, 10, 5, 0.45);
}
#about .right-content .thumb:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20,17,16,0.30));
  pointer-events: none;
}

/* small feature row under the about copy */
.about-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.about-features span {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.5px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.about-features i { color: var(--brand-red); font-size: 15px; }

/* Storefront (esterno) photo is tall/portrait — clip to a focused crop on the sign + entrance */
#about .right-content .thumb-esterno img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 38%;
}

/* On desktop, fill the column so the photo's bottom lines up with the bottom of
   the left column (the thumbnail row) — the aspect-ratio crop is mobile-only. */
@media (min-width: 992px) {
  #about .right-content,
  #about .right-content .thumb-esterno { height: 100%; }
  #about .right-content .thumb-esterno img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
  }
}

/* ---------------------------------------------------------------------
   08b. Food gallery — "La Nostra Cucina"
   --------------------------------------------------------------------- */
#gallery {
  background: var(--cream);
  padding: 104px 0 96px;
}
#gallery .section-heading { margin-bottom: 54px; }

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

.gallery-item {
  position: relative;
  margin: 0;
  height: 282px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}
.gallery-item--wide { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 1.1rem 0.95rem;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #fff;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.74) 10%, transparent);
  pointer-events: none;
}
.gallery-item figcaption::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--brand-red);
  vertical-align: middle;
  margin-right: 9px;
  transition: width 0.4s var(--ease);
}
.gallery-item:hover figcaption::before { width: 30px; }

.gallery-cta {
  text-align: center;
  margin-top: 44px;
}
.gallery-btn {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  border: 1px solid var(--brand-red);
  border-radius: 2px;
}
.gallery-btn:hover {
  background: var(--brand-red-deep);
  border-color: var(--brand-red-deep);
  color: #fff;
}

@media (max-width: 859px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item { height: 244px; }
  .gallery-item--wide { grid-column: span 2; }
}

@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: 1fr; gap: 12px; }
  .gallery-item,
  .gallery-item--wide { grid-column: span 1; height: 230px; }
}

/* ---------------------------------------------------------------------
   09. Contatti / location
   --------------------------------------------------------------------- */
#reservation {
  margin-top: 0;
  padding: 110px 0;
  position: relative;
  background:
    linear-gradient(150deg, rgba(20,17,16,0.86), rgba(94,7,3,0.78)),
    url(../images/reservation-bg.jpg) center center / cover no-repeat;
}
#reservation .section-heading h2 { font-weight: 700; }
#reservation p { color: rgba(255, 255, 255, 0.85); }

/* Contact cards: a uniform 2×2 grid — every box is the same size */
#reservation .contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 26px;
  row-gap: 56px;
  grid-auto-rows: 1fr;
  margin-top: 52px;
}
#reservation .phone,
#reservation .message {
  background: #fff;
  border-radius: 6px;
  padding: 0 18px 30px;
  margin: 0;
  min-height: 172px;          /* floor; grid stretch keeps all four equal */
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
#reservation .phone:hover,
#reservation .message:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
#reservation .phone i,
#reservation .message i {
  background: var(--brand-red);
  box-shadow: 0 10px 26px rgba(158, 10, 5, 0.4);
  font-size: 22px;
}
#reservation .phone h4,
#reservation .message h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
}
#reservation .phone span,
#reservation .message span { color: var(--ink-soft); font-size: 15px; }
#reservation .phone span a,
#reservation .message span a { font-size: 15px; }

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.map-container iframe { display: block; }

/* Desktop: let the map fill its column so its height matches the cards block */
@media (min-width: 992px) {
  #reservation .contact-form,
  #reservation .map-container { height: 100%; }
  #reservation .map-container { min-height: 460px; }
  #reservation .map-container iframe { height: 100% !important; }
}

/* ---------------------------------------------------------------------
   10. Footer
   --------------------------------------------------------------------- */
footer {
  margin-top: 0;
  padding: 54px 0 46px;
  background: #14110f;
  border-top: 3px solid var(--brand-red);
}
footer .logo img {
  width: auto;
  max-width: 260px;
  max-height: 120px;
  /* invert the pure-black script logo to white on the dark footer */
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
footer .left-text-content p,
footer .right-text-content p { color: rgba(255, 255, 255, 0.62); }
footer .left-text-content p strong { color: #fff; }
footer .right-text-content ul li a {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
}
footer .right-text-content ul li a:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  transform: translateY(-3px);
}

/* TripAdvisor uses an inline SVG (this template's icon font lacks the glyph) */
footer .social-icons .ta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
footer .social-icons .ta-link svg {
  width: 22px;
  height: 22px;
  display: block;
}

/* ---------------------------------------------------------------------
   11. Preloader
   --------------------------------------------------------------------- */
#preloader { background-color: var(--brand-red-deep); }

/* Failsafe: custom.js hides the preloader on window.load, but if JS is blocked
   or very slow, auto-reveal the page after a few seconds so no one gets stuck
   on the red loading screen. */
#preloader { animation: preloaderFailsafe 0.6s ease 4s forwards; }
@keyframes preloaderFailsafe { to { opacity: 0; visibility: hidden; } }

/* Before the slick slider initializes (or if JS never runs), show only the
   first hero image instead of all of them stacked vertically. */
.Modern-Slider:not(.slick-initialized) .item:not(:first-child) { display: none; }

/* ---------------------------------------------------------------------
   12. Responsive
   --------------------------------------------------------------------- */
@media (max-width: 991px) {
  #top .left-content {
    text-align: center;
    padding: 84px 24px;
  }
  #top .left-content .inner-content { position: static; transform: none; padding: 0; }
  #reservation .contact-cards { grid-template-columns: 1fr; row-gap: 50px; }
  .map-container { margin-top: 46px; }

  /* Tablet + phone use the slide-down hamburger menu (full-width stacked items) */
  .header-area { background-color: #fff; }
  .header-area .main-nav .nav li a,
  .header-area .main-nav .nav li a.active {
    height: 52px !important;
    line-height: 52px !important;
    font-size: 15px !important;
    letter-spacing: 1.5px;
    background: #fff !important;
    color: var(--ink) !important;
  }
  .header-area .main-nav .nav li a:after { display: none; }
  .header-area .main-nav .nav li a:hover,
  .header-area .main-nav .nav li a.active { color: var(--brand-red) !important; }
  .header-area .main-nav .nav li.menu-cta a {
    background: var(--brand-red) !important;
    color: #fff !important;
    margin-top: 0;
    height: 52px !important;
    line-height: 52px !important;
    border-radius: 0;
  }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .section-heading h2 { font-size: 30px; }
  #offerings, #about, #reservation { padding-top: 72px; padding-bottom: 64px; }
  .about-features { gap: 12px 22px; }

  /* Hero copy fits a narrow phone panel without clipping */
  #top .left-content h4 { font-size: 44px; }
  #top .left-content h6 {
    font-size: 11px;
    letter-spacing: 1.8px;
    white-space: normal;
  }
  #top .left-content h6:before,
  #top .left-content h6:after { display: none; }
  .hero-eyebrow { letter-spacing: 3px; }
}

/* ---------------------------------------------------------------------
   13. Header controls — language toggle + theme toggle
   --------------------------------------------------------------------- */
.header-area .main-nav .nav li.header-control {
  border-right: none;
  display: flex;
  align-items: center;
  padding-left: 12px;
  padding-right: 8px;
}
.header-area .main-nav .nav li.header-control--lang { gap: 2px; }

.lang-btn {
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--ink);
  opacity: 0.5;
  padding: 4px 5px;
  line-height: 1;
  transition: opacity .25s var(--ease), color .25s var(--ease);
}
.lang-btn:hover { opacity: 1; }
.lang-btn.is-active { opacity: 1; color: var(--brand-red); }
.lang-sep { color: var(--ink); opacity: 0.3; font-size: 12px; }

.theme-btn {
  background: none;
  border: 1px solid var(--line);
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ink);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.theme-btn:hover { color: var(--brand-red); border-color: var(--brand-red); }

@media (max-width: 991px) {
  /* Controls become full-width rows inside the mobile menu */
  .header-area .main-nav .nav li.header-control {
    width: 100%;
    justify-content: center;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 14px 0 !important;
  }
  .header-area .main-nav .nav li.header-control--lang { gap: 6px; }
  .lang-btn { font-size: 15px; padding: 6px 9px; }
  .theme-btn { width: 42px; height: 42px; font-size: 16px; }
}

/* ---------------------------------------------------------------------
   14. Dark mode
   --------------------------------------------------------------------- */
[data-theme="dark"] {
  --ink: #ece4da;
  --ink-soft: #a99f95;
  --cream: #1b1613;
  --cream-2: #241d18;
  --line: rgba(255, 255, 255, 0.12);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, 0.45);
  --shadow-md: 0 16px 44px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.65);
  --white: #15110e;
  background-color: #15110e;
}

/* Header surfaces (were hard-white) */
[data-theme="dark"] .header-area {
  background-color: rgba(26, 20, 17, 0.92);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
[data-theme="dark"] .background-header {
  background-color: rgba(26, 20, 17, 0.97) !important;
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.55) !important;
}
/* The logo art is pure black → invert it to white on the dark header */
[data-theme="dark"] .header-area .main-nav .logo img {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

/* Card / panel surfaces */
[data-theme="dark"] .offering { background: #221c18; }
[data-theme="dark"] #reservation .phone,
[data-theme="dark"] #reservation .message { background: #221c18; }
[data-theme="dark"] #reservation .phone span a,
[data-theme="dark"] #reservation .message span a { color: var(--ink); }
[data-theme="dark"] #reservation .phone span a:hover,
[data-theme="dark"] #reservation .message span a:hover { color: var(--brand-red); }

/* Mobile dropdown surfaces */
@media (max-width: 991px) {
  [data-theme="dark"] .header-area { background-color: #1a1411; }
  [data-theme="dark"] .header-area .main-nav .nav li a {
    background: #1a1411 !important;
    color: var(--ink) !important;
  }
  [data-theme="dark"] .header-area .main-nav .nav li a:hover,
  [data-theme="dark"] .header-area .main-nav .nav li a.active { color: var(--brand-red) !important; }
  [data-theme="dark"] .header-area .main-nav .nav li,
  [data-theme="dark"] .header-area .main-nav .nav li:first-child {
    border-color: rgba(255, 255, 255, 0.08);
  }
  [data-theme="dark"] .header-area .main-nav .nav li.header-control {
    background: #1a1411;
    border-bottom-color: rgba(255, 255, 255, 0.08);
  }
  [data-theme="dark"] .header-area .main-nav .nav li.menu-cta a { background: var(--brand-red) !important; }
}

/* ---------------------------------------------------------------------
   15. v11 polish — accessibility, focus, motion, micro-refinements
   --------------------------------------------------------------------- */

/* Keyboard focus: visible, on-brand ring (only for keyboard users) */
a:focus-visible,
button:focus-visible,
.lang-btn:focus-visible,
.theme-btn:focus-visible,
.btn-bistro:focus-visible,
.main-white-button a:focus-visible {
  outline: 2px solid var(--brand-red);
  outline-offset: 3px;
  border-radius: 2px;
}
.header-area .main-nav .nav li.menu-cta a:focus-visible { outline-offset: 4px; }

/* Generic CTA lift (gallery button etc.) for a touch more life */
.gallery-btn,
.btn-bistro { transition: background .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease); }
.gallery-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(158, 10, 5, 0.30);
}

/* Section-title underline on the centered headings reads a hair more refined */
.section-heading.text-center h6:after { transition: width .4s var(--ease); }

/* Slightly warmer, deeper card hover on the offerings to match the gallery */
.offering:hover { box-shadow: var(--shadow-md), 0 2px 0 rgba(158, 10, 5, 0.04); }

/* Respect users who prefer reduced motion: kill non-essential animation */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  #top .left-content .inner-content > * { animation: none !important; }
  #preloader { animation: none !important; opacity: 0; visibility: hidden; }
}
