/* ============================================================
   La Virée Gourmande – Custom header (replaces broken Colibri nav)
   ============================================================ */

/* Hide broken Colibri navigation completely */
#colibri .h-navigation_outer,
#colibri .h-navigation_overlap,
#colibri #navigation {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* ---- Custom site header ---- */
.lvg-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(14, 22, 28, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.lvg-site-header.is-scrolled {
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.12);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.lvg-site-header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.lvg-site-header__logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.lvg-site-header__logo-img {
  height: 52px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.lvg-site-header__logo-img--dark {
  display: none;
}

.lvg-site-header.is-scrolled .lvg-site-header__logo-img--light {
  display: none;
}

.lvg-site-header.is-scrolled .lvg-site-header__logo-img--dark {
  display: block;
}

.lvg-site-header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.lvg-nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lvg-nav__item a {
  display: block;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #ffffff;
  text-decoration: none;
  padding: 6px 2px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.lvg-nav__item a:hover,
.lvg-nav__item.is-active a {
  color: #a6dcf4;
}

.lvg-site-header.is-scrolled .lvg-nav__item a {
  color: #1a2a30;
}

.lvg-site-header.is-scrolled .lvg-nav__item a:hover,
.lvg-site-header.is-scrolled .lvg-nav__item.is-active a {
  color: #03a9f4;
}

.lvg-site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.lvg-site-header__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffffff;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lvg-site-header.is-scrolled .lvg-site-header__toggle span {
  background: #1a2a30;
}

/* ---- Page header / hero ---- */
#colibri .page-header {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  padding-top: 72px;
  box-sizing: border-box;
}

#colibri .h-hero {
  background-size: cover !important;
  background-position: center !important;
  min-height: 320px;
}

#colibri .h-navigation-padding {
  padding-top: 24px !important;
  padding-bottom: 48px !important;
  min-height: 200px;
  position: relative;
  z-index: 2;
}

#colibri .h-navigation-padding h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  font-size: clamp(1.3rem, 2.8vw, 2.2rem) !important;
  text-align: center;
  margin: 0;
  line-height: 1.3;
}

/* ---- Content fixes ---- */
#colibri .page-content {
  position: relative;
  z-index: 1;
}

#colibri .style-427 > .h-section-grid-container,
#colibri .style-436 > .h-section-grid-container {
  margin-top: 0 !important;
}

#colibri .style-427 {
  padding-top: 40px !important;
}

#colibri .style-735 {
  transform: none !important;
  padding: 28px 20px !important;
  margin: 0 !important;
}

#colibri .style-739 {
  transform: none !important;
  margin: 20px auto !important;
  min-height: 260px;
  background-size: cover !important;
}

#colibri .style-717,
#colibri .style-731 {
  background-size: cover !important;
  background-position: center center !important;
  min-height: 280px;
}

#colibri .page-content .h-image__frame-container img[class*="style-local-"] {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

#colibri .page-content img.wp-image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

#colibri .h-image__frame.h-hide-lg {
  display: none !important;
}

#colibri .h-section-global-spacing {
  padding-top: 44px;
  padding-bottom: 44px;
}

/* ---- Mobile ---- */
@media (max-width: 960px) {
  .lvg-site-header__toggle {
    display: flex;
  }

  .lvg-site-header__nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(14, 22, 28, 0.98);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .lvg-site-header.is-open .lvg-site-header__nav {
    max-height: 420px;
    padding: 12px 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .lvg-site-header.is-scrolled.is-open .lvg-site-header__nav {
    background: #ffffff;
    border-bottom-color: rgba(0, 0, 0, 0.08);
  }

  .lvg-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 20px;
  }

  .lvg-nav__item a {
    padding: 12px 8px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .lvg-site-header.is-scrolled .lvg-nav__item a {
    border-bottom-color: rgba(0, 0, 0, 0.06);
  }

  .lvg-site-header.is-open .lvg-site-header__toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .lvg-site-header.is-open .lvg-site-header__toggle span:nth-child(2) {
    opacity: 0;
  }
  .lvg-site-header.is-open .lvg-site-header__toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 767px) {
  .lvg-site-header__logo-img {
    height: 42px;
    max-width: 120px;
  }

  #colibri .page-header {
    min-height: 280px;
  }
}

/* ---- Page Adresse (id 641) ---- */
body#colibri.page-id-641 #hero.style-54 {
  min-height: 300px;
  background-position: center center !important;
  background-size: cover !important;
}

body#colibri.page-id-641 #hero .overlay-image-layer {
  background-color: rgba(14, 22, 28, 0.52) !important;
  opacity: 1 !important;
}

body.page-id-641 .lvg-hero-title {
  width: 100%;
  margin: 0;
  padding: 1rem 1.25rem 0;
  text-align: center;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.35rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #ffffff !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

body#colibri.page-id-641 .style-397 > .h-section-grid-container {
  margin-top: 0 !important;
}

body#colibri.page-id-641 .style-local-641-c2 {
  padding-top: 2.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Hanya spacer kosong (br), bukan blok adresse/horaires di bawahnya */
body#colibri.page-id-641 .style-local-641-c11 {
  display: none !important;
}

body#colibri.page-id-641 .style-local-641-c3 > .h-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  align-items: stretch;
  width: 100%;
  flex-wrap: unset !important;
}

body#colibri.page-id-641 .style-local-641-c4-outer,
body#colibri.page-id-641 .style-local-641-c6-outer,
body#colibri.page-id-641 .style-local-641-c8-outer {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
}

body#colibri.page-id-641 .style-local-641-c3 .h-image__frame-container-outer,
body#colibri.page-id-641 .style-local-641-c3 .h-image__frame-container {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(23, 37, 42, 0.14);
}

body#colibri.page-id-641 .style-local-641-c5-image,
body#colibri.page-id-641 .style-local-641-c7-image,
body#colibri.page-id-641 .style-local-641-c9-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  display: block;
}

body#colibri.page-id-641 .style-local-641-c14 {
  padding-top: 2rem !important;
}

body#colibri.page-id-641 .style-local-641-c14 > .h-row {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
  align-items: start;
  width: 100%;
  flex-wrap: unset !important;
}

body#colibri.page-id-641 .style-local-641-c15-outer,
body#colibri.page-id-641 .style-local-641-c18-outer,
body#colibri.page-id-641 .style-local-641-c21-outer {
  width: 100% !important;
  max-width: none !important;
  flex: none !important;
}

body#colibri.page-id-641 .style-local-641-c15 .style-408,
body#colibri.page-id-641 .style-local-641-c18 .style-408,
body#colibri.page-id-641 .style-local-641-c21 .style-408 {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(23, 37, 42, 0.08);
  border: 1px solid rgba(3, 169, 244, 0.12);
  height: 100%;
}

@media (max-width: 960px) {
  body#colibri.page-id-641 .style-local-641-c3 > .h-row,
  body#colibri.page-id-641 .style-local-641-c14 > .h-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  body#colibri.page-id-641 .style-local-641-c2 {
    padding-top: 1.5rem !important;
  }
}
