/* Shared colourless glass across every page, locale and viewport.
   Blur, edge highlights and rounded corners provide separation without tint. */
:root {
  --site-chrome-ivory: #eadcc5;
  --site-chrome-glass: transparent;
  --site-chrome-blur: blur(24px);
}

.site-header {
  z-index: 100;
  background: var(--site-chrome-glass) !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,.30) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18) !important;
  backdrop-filter: var(--site-chrome-blur) !important;
  -webkit-backdrop-filter: var(--site-chrome-blur) !important;
  color: var(--site-chrome-ivory);
}
.site-header .brand-logo {
  filter: brightness(0) saturate(100%) invert(89%) sepia(20%) saturate(430%) hue-rotate(338deg) brightness(97%) contrast(91%);
}
.site-header .primary-nav a,
.site-header .language-switcher a,
.site-header .menu-toggle {
  color: var(--site-chrome-ivory);
}
.site-header .primary-nav a:hover,
.site-header .language-switcher a:hover { color: #f5ead8; }

/* The current primary section is a compact Liquid Glass control, not merely
   a colour change. The state is supplied by veranda_language_navigation(). */
.site-header .primary-nav li.current-menu-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin: -9px -14px;
  padding: 8px 14px;
  border: 1px solid rgba(234, 220, 197, .58);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255,255,255,.20), rgba(234,220,197,.07));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.34), 0 8px 20px rgba(18,11,8,.13);
  backdrop-filter: blur(14px) saturate(130%);
  -webkit-backdrop-filter: blur(14px) saturate(130%);
  color: var(--site-chrome-ivory);
  opacity: 1;
}
.site-header .header-actions a,
.site-header .header-actions .header-whatsapp,
.site-header .header-actions .header-addresses,
.site-header .header-actions .header-delivery {
  background: transparent !important;
  border-color: rgba(234, 220, 197, .72) !important;
  color: var(--site-chrome-ivory) !important;
}
.site-header .header-actions a:hover {
  background: rgba(234, 220, 197, .94) !important;
  border-color: var(--site-chrome-ivory) !important;
  color: #21140f !important;
}

.site-footer {
  margin: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: var(--site-chrome-glass) !important;
  border: 0 !important;
  border-top: 1px solid rgba(255,255,255,.30) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18) !important;
  backdrop-filter: var(--site-chrome-blur) !important;
  -webkit-backdrop-filter: var(--site-chrome-blur) !important;
  color: var(--site-chrome-ivory);
}
.site-footer::before,
.site-footer::after { display: none !important; }
body.home .site-footer {
  margin: 0 !important;
  border-radius: 0 !important;
  background: var(--site-chrome-glass) !important;
}
.site-footer .footer-bottom {
  border-color: rgba(255,255,255,.25) !important;
}
.site-footer a { color: inherit; }

/* One shared liquid-glass language for every interactive site button.
   The home video buttons already use this treatment in home-editorial.css. */
body:not(.home) .button,
body:not(.home) .wp-block-button__link,
body:not(.home) .contact-actions a,
body:not(.home) .location-links a,
body:not(.home) .menu-categories a,
.site-header .header-actions a {
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(234,220,197,.08)) !important;
  border: 1px solid rgba(234,220,197,.58) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 10px 26px rgba(18,11,8,.14) !important;
  backdrop-filter: blur(16px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(135%) !important;
  color: var(--site-chrome-ivory) !important;
}

body:not(.home) .button:hover,
body:not(.home) .wp-block-button__link:hover,
body:not(.home) .contact-actions a:hover,
body:not(.home) .location-links a:hover,
body:not(.home) .menu-categories a:hover,
.site-header .header-actions a:hover {
  background: linear-gradient(135deg, rgba(255,255,255,.40), rgba(234,220,197,.18)) !important;
  border-color: rgba(255,255,255,.84) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 14px 30px rgba(18,11,8,.22) !important;
  color: #fff7e9 !important;
  transform: translateY(-1px);
}

/* Header actions use the same liquid layer even when legacy page styles load. */
body .site-header .header-actions a {
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(234,220,197,.08)) !important;
  border: 1px solid rgba(234,220,197,.58) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 10px 26px rgba(18,11,8,.14) !important;
  backdrop-filter: blur(16px) saturate(135%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(135%) !important;
  color: var(--site-chrome-ivory) !important;
}
body .site-header .header-actions a:hover {
  background: linear-gradient(135deg, rgba(255,255,255,.40), rgba(234,220,197,.18)) !important;
  border-color: rgba(255,255,255,.84) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 14px 30px rgba(18,11,8,.22) !important;
  color: #fff7e9 !important;
}

/* The fallback Veranda mark is rendered as a mask, not a tinted raster image:
   its colour is therefore exactly the same #eadcc5 used by the site text. */
.site-header .brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 150px;
  height: 75px;
  background-color: var(--site-chrome-ivory);
  filter: none !important;
  -webkit-mask: url('../images/veranda-logo.png') center / contain no-repeat;
  mask: url('../images/veranda-logo.png') center / contain no-repeat;
}
@media (max-width: 899px) {
  .site-header .brand-logo { width: 118px; height: 59px; }
}

@media (max-width: 899px) {
  .site-footer { margin: 0 !important; border-radius: 0 !important; }
  /* Let the open fixed navigation blur the page itself, rather than being
     confined to the header's backdrop-filter containing block. */
  body.menu-open .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  body.menu-open .site-header .brand,
  body.menu-open .site-header .language-switcher {
    position: relative;
    z-index: 3;
  }
  .site-header .primary-nav.is-open {
    background: var(--site-chrome-glass);
    backdrop-filter: var(--site-chrome-blur);
    -webkit-backdrop-filter: var(--site-chrome-blur);
  }
  .site-header .primary-nav li.current-menu-item > a {
    min-height: auto;
    margin: 8px 0;
    padding: 8px 14px;
  }
}

/* Matching page-facing corners on every page, including the homepage.
   Keep overflow visible so the mobile navigation is not clipped. */
.site-header,
body.home .site-header { border-radius: 0 0 24px 24px !important; }
.site-footer,
body.home .site-footer { border-radius: 24px 24px 0 0 !important; }

/* Neutral glass controls inside the chrome; ivory belongs to the text only. */
body .site-header .header-actions a,
body.home .site-header .header-actions a,
body .site-header .primary-nav li.current-menu-item > a {
  background: linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.08)) !important;
  border-color: rgba(255,255,255,.58) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.36), 0 8px 20px rgba(0,0,0,.14) !important;
}
body .site-header .header-actions a:hover,
body.home .site-header .header-actions a:hover {
  background: linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,.14)) !important;
  border-color: rgba(255,255,255,.84) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 24px rgba(0,0,0,.18) !important;
}

@media (max-width: 899px) {
  .site-header,
  body.home .site-header { border-radius: 0 0 18px 18px !important; }
  .site-footer,
  body.home .site-footer { border-radius: 18px 18px 0 0 !important; }
}

/* Header typography follows the homepage lead copy. Keep navigation and
   action labels in their natural sentence case; language codes stay uppercase. */
body .site-header .primary-nav a,
body .site-header .header-actions a,
body .site-header .language-switcher a,
body.home .site-header .primary-nav a,
body.home .site-header .header-actions a,
body.home .site-header .language-switcher a {
  font-family: 'Poiret One', 'Noto Sans SC', Arial, Helvetica, sans-serif !important;
  font-weight: 600 !important;
}

body .site-header .primary-nav a,
body .site-header .header-actions a,
body.home .site-header .primary-nav a,
body.home .site-header .header-actions a {
  text-transform: none !important;
  letter-spacing: .04em !important;
}

body .site-header .language-switcher a,
body.home .site-header .language-switcher a {
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
}
