/* ================= HEADER BASE ================= */

.main-header {
  background: #f4f1ed;
  padding: 8px 0 14px;
  border-bottom: 1px solid #e6e1db;
  position: relative;
  z-index: 999;
}


/* Site-wide container width (loaded on every page via header.php) */
.container {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  box-sizing: border-box;
}

/* ---- Global responsive base (loaded site-wide via header.php) ---- */
html { overflow-x: hidden; }
body { overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; }
* { min-width: 0; }

.logo img {
  height: 92px; /* larger, clearer header logo */
  width: auto;
  display: block;
  margin: -14px 0 0; /* trim top whitespace, keep breathing room below */
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #2a2a2a;
  text-decoration: none;
}

/* ================= NAV ================= */

.nav {
  display: flex;
  align-items: center;
}

/* Centered nav links + right-side actions */
.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  color: #2a2a2a;
  text-decoration: none;
  font-size: 15px;
  opacity: 0.85;
  position: relative;
  transition: opacity 0.2s ease;
}

.nav-links a {
  margin-left: 0;
}

.nav a:hover {
  opacity: 1;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: #2a2a2a;
  transition: width 0.3s ease;
}

.nav a:hover::after {
  width: 100%;
}

.nav-btn {
  padding: 8px 18px;
  margin-left: 12px;
  background: #c05621;
  color: #ffffff;
  border-radius: 4px;
  opacity: 1;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.nav-btn:hover {
  background: #9c4318;
  transform: translateY(-1px);
}

.nav-btn::after {
  display: none;
}

/* ================= LANGUAGE SWITCH ================= */

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-left: 16px;
  padding: 6px 9px 6px 10px;
  border: 1px solid #e2d9cd;
  border-radius: 999px;
  background: #faf7f2;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.lang-switch:hover {
  border-color: #c05621;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(192, 86, 33, 0.12);
}

.lang-switch svg {
  width: 17px;
  height: 17px;
  stroke: #c05621;
  fill: none;
  stroke-width: 1.7;
  flex-shrink: 0;
}

.lang-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  background: transparent url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c05621' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 0 center;
  background-size: 12px;
  padding-right: 18px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  color: #2a2a2a;
  cursor: pointer;
  outline: none;
  width: auto;
  max-width: 92px;
  text-overflow: ellipsis;
}

.lang-select option {
  color: #2a2a2a;
  background: #ffffff;
  font-weight: 400;
}

/* Mobile drawer variant */
.drawer-lang {
  display: flex;
  width: 100%;
  margin-left: 0;
  margin-bottom: 18px;
  padding: 11px 14px;
  justify-content: flex-start;
  border-radius: 10px;
}

.drawer-lang .lang-select {
  flex: 1;
  max-width: none;
  font-size: 16px;
}

/* Hide Google Translate's injected banner / branding */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
#goog-gt-tt,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

#google_translate_element {
  position: absolute;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* ================= HAMBURGER ================= */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #2a2a2a;
  margin-bottom: 5px;
  border-radius: 2px;
}

/* ================= SIDE DRAWER ================= */

.side-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: #ffffff;
  color: #2a2a2a;
  z-index: 1001;
  padding: 25px;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.side-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 20px;
  margin-bottom: 30px;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
}

.drawer-nav a {
  display: block;
  color: #2a2a2a;
  text-decoration: none;
  font-size: 16px;
  margin-bottom: 18px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.drawer-nav a:hover {
  opacity: 0.75;
  transform: translateX(4px);
}

.drawer-nav .drawer-btn {
  padding: 12px;
  background: #c05621;
  color: #ffffff;
  border-radius: 4px;
  text-align: center;
  margin-top: 8px;
}

.drawer-nav .drawer-btn:hover {
  background: #9c4318;
  opacity: 1;
}

/* Overlay */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.drawer-open {
  overflow: hidden;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}
