/* ===== LANGUAGE SWITCHER ===== */
.lang-switcher {
  display: inline-flex;
  gap: 0.25em;
  align-items: center;
  background: var(--c-dark-light);
  border-radius: 4px;
  padding: 2px 4px;
}
.lang-btn {
  font-family: inherit;
  font-size: 0.85em;
  padding: 2px 10px;
  border: none;
  background: transparent;
  color: var(--c-text-secondary);
  border-radius: 3px;
  cursor: pointer;
  margin: 0 0.1em;
  transition: background 0.2s, color 0.2s;
  min-width: 32px;
  min-height: 24px;
}
.lang-btn.active, .lang-btn:focus {
  background: var(--c-dark-light);
  color: var(--c-white);
  outline: none;
}
.lang-btn:hover {
  background: var(--c-dark-light);
  color: var(--c-white);
}
/* ===== ROOT & VARS ===== */
:root {
  --c-white: #fff;
  --c-dark: rgba(0, 0, 0, 0.85);
  --c-dark-light: rgba(0, 0, 0, 0.4);
  --c-gold: rgba(200, 150, 100, 0.5);
  --c-text: rgba(255, 255, 255, 0.95);
  --c-text-secondary: rgba(255, 255, 255, 0.75);
  --c-text-muted: rgba(255, 255, 255, 0.5);
  --menu-w: 280px;
  --menu-tab-w: 46px;
}

/* ===== BASE ===== */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "calluna", serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('header-image.jpg') no-repeat center/cover;
  background-attachment: fixed;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--c-dark);
  transition: background 1s ease;
  z-index: -1;
}

/* ===== TYPOGRAPHY ===== */
h1 { font-weight: normal; margin: 0 0 1rem; color: var(--c-text);}
h2, h3 { font-weight: normal; margin: 0 0 1rem; color: var(--c-text); padding-top: 2rem;}
h1 { font-size: 2em; }
h2 { font-size: 1.3em; }
h3 { font-size: 1.1em; }


p, li { line-height: 1.7; color: var(--c-text-secondary); }

ul, ol { margin: 1rem 0; padding-left: 1.5rem; }

/* ===== LAYOUT ===== */
.section {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 1.25rem;
}

.page {
  opacity: 0;
  transition: opacity 1s ease;
  padding-top: 9vh;
  padding-bottom: 6vh;
  background: rgba(0, 0, 0, 0.4);
}

.page.visible { opacity: 1; }

/* ===== BUTTONS & LINKS ===== */
/* ===== DEFINITION LISTS ===== */
dl {
  margin: 1.5rem 0;
  color: var(--c-text);
}
dt {
  font-weight: 600;
  margin-top: 1em;
  margin-bottom: 0.2em;
  font-size: 1em;
}
dd {
  margin-left: 0;
  margin-bottom: 1em;
  font-size: 1em;
  color: var(--c-text-secondary);
}
a { color: var(--c-text-secondary); text-decoration: none; }
a:hover { color: var(--c-white); }

.btn, button {
  font-family: "calluna", serif;
  padding: 12px 40px;
  border: 1px solid var(--c-gold);
  background: transparent;
  color: var(--c-text);
  cursor: pointer;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border-radius: 4px;
  font-size: 0.95em;
}

.btn:hover { background: rgba(200, 150, 100, 0.1); border-color: rgba(200, 150, 100, 0.8); }

.btn-submit { background: rgba(200, 150, 100, 0.2); border-color: rgba(200, 150, 100, 0.6); }

.btn-submit:hover { background: rgba(200, 150, 100, 0.3); }

.enter-button { border: 1px solid var(--c-text-secondary); padding: 0.5em 1.2em; font-size: 1em; }

.enter-button:hover { background: var(--c-white); color: #000; }

/* ===== FORMS ===== */
input, textarea, select {
  padding: 12px 15px;
  background: var(--c-dark-light);
  border: 1px solid rgba(200, 150, 100, 0.3);
  color: var(--c-white) !important;
  -webkit-text-fill-color: var(--c-white) !important;
  font-family: "calluna", serif;
  font-size: 0.95em;
  border-radius: 4px;
  transition: all 0.3s ease;
  caret-color: var(--c-white);
}

input::placeholder, textarea::placeholder { color: rgba(255, 255, 255, 0.4); }

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: rgba(200, 150, 100, 0.7);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 8px rgba(200, 150, 100, 0.2);
}

input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--c-white) !important;
  -webkit-box-shadow: inset 0 0 0px 1000px var(--c-dark-light) !important;
}

textarea { resize: vertical; min-height: 120px; }

.form-group {padding-top: 1rem; margin-bottom: 25px; display: flex; flex-direction: column; color: rgba(255,255,255,0.95); }

.form-group label { margin-bottom: 8px; font-size: 0.95em; font-weight: 500; letter-spacing: 0.5px; }

.form-actions { display: flex; gap: 15px; margin-top: 30px; justify-content: center; }

.checkbox-group { margin-bottom: 25px; color: rgba(255,255,255,0.95) }

.checkbox-group label { display: flex; align-items: center; margin-bottom: 12px; cursor: pointer; font-size: 0.95em; }

.checkbox-group input[type="checkbox"] { margin-right: 10px; width: 18px; height: 18px; cursor: pointer; accent-color: rgba(200, 150, 100, 0.7); }

.required { color: rgba(200, 150, 100, 0.8); }

.form-note { font-size: 0.85em; color: var(--c-text-secondary); margin-top: 40px; text-align: center; line-height: 1.6; }

/* ===== HEADER ===== */
.site-brand { position: static; display: flex; justify-content: center; padding: 24px 0 4px; margin-top: 2vh; }

.brand-logo { height: 48px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5)); opacity: 0.95; transition: opacity 0.2s ease; }

.brand-link:hover .brand-logo { opacity: 1; }

.brand-text { font-style: italic; font-size: 2rem; letter-spacing: 0.5px; text-shadow: 0 2px 6px rgba(0,0,0,0.5); }

/* ===== MENU ===== */
.site-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: calc(var(--menu-w) + var(--menu-tab-w));
  transform: translateX(calc(var(--menu-w) * -1 + var(--menu-tab-w)));
  transition: transform 0.28s ease;
  z-index: 10000;
  display: flex;
  flex-direction: row;
}

.site-menu-inner {
  width: var(--menu-w);
  height: 100%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-right: 1px solid rgba(255,255,255,0.18);
  box-shadow: 12px 0 24px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
}

.menu-tab { position: absolute; right: calc(var(--menu-tab-w) * -1); top: 50%; transform: translateY(-50%); width: var(--menu-tab-w); height: 64px; display: grid; place-items: center; background: rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.18); border-left: none; cursor: pointer; }

.menu-tab .arrow { width: 0; height: 0; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-right: 10px solid var(--c-white); opacity: 0.8; }

.menu-header { padding: 18px 18px 10px; color: var(--c-white); font-style: italic; border-bottom: 1px solid rgba(255,255,255,0.18); }

.menu-links { list-style: none; padding: 12px 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }

.menu-links a { display: block; padding: 12px 18px; color: var(--c-white); text-decoration: none; opacity: 0.9; border-right: 2px solid transparent; }

.menu-links a:hover, .menu-links a[aria-current="page"] { background: rgba(255,255,255,0.08); border-right-color: var(--c-white); opacity: 1; }

.menu-footer { margin-top: auto; padding: 14px 18px; border-top: 1px solid rgba(255,255,255,0.18); color: var(--c-white); font-size: 0.95rem; opacity: 0.9; }

body.menu-open .site-menu { transform: translateX(0); }

.menu-proxy { position: fixed; top: 0; left: 0; height: 100vh; width: 80px; z-index: 9999; pointer-events: auto; }

/* ===== HERO ===== */
.hero { position: relative; overflow: hidden; opacity: 0; transition: opacity 1s ease-in; min-height: 100vh; }
@supports (height: 100dvh) { .hero { min-height: 100dvh; } }
.hero.visible { opacity: 1; }

.content { position: relative; z-index: 2; text-align: center; color: var(--c-white); width: 100%; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; align-items: center; box-sizing: border-box; max-width: 1000px; margin: 0 auto; padding: 1rem; }

.galante-logo { display: block; width: auto; max-width: 90%; max-height: 20vh; margin: 0 auto; filter: drop-shadow(0 2px 6px rgba(255,255,255,0.2)); }

.subline { display: block; font-size: 1.4em; font-style: italic; letter-spacing: 1px; margin-top: 1em; margin-bottom: 2em; opacity: 0.9; text-shadow: 0 1px 3px rgba(0,0,0,0.7); }

/* ===== SOCIAL ===== */
.social-icons { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; justify-content: center; align-items: center; gap: 12px; z-index: 100; background: rgba(0, 0, 0, 0.4); padding: 10px 20px; border-radius: 50px; }

.social-icon { width: 24px; height: 24px; }

/* ===== FOOTER ===== */
.footer { text-align: center; font-style: italic; color: var(--c-text-secondary); text-shadow: 0 1px 3px rgba(0,0,0,0.7); padding: 2rem 10px 0; max-width: 900px; margin: 0 auto; }

.footer a, .footer a:visited, .footer a:active { color: var(--c-text-secondary); border-bottom: 1px solid rgba(255,255,255,0.3); transition: color 0.3s, border-color 0.3s; }

.footer a:hover { color: var(--c-white); border-bottom-color: var(--c-white); }

/* ===== AGE GATE ===== */
#age-verification { opacity: 1; animation: fadeIn 0.8s ease-out; position: fixed; inset: 0; background-color: rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: center; z-index: 10002; }

@keyframes fadeIn { to { opacity: 1; } }

.age-modal { background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); padding: 40px; max-width: 500px; text-align: center; }

.button-group { margin-top: 30px; display: flex; justify-content: center; gap: 15px; }

.button-group button { font-size: 1em; padding: 0.6em 1.4em; border-radius: 30px; border-color: var(--c-white); background: rgba(255,255,255,0.05); }

.button-group button:hover { background: rgba(255,255,255,0.2); transform: scale(1.05); }

/* ===== PORTRAIT ===== */
.portrait-right { float: right; width: clamp(260px, 38%, 420px); margin: 0 0 1rem 1.25rem; text-align: center; }

.portrait-right img { width: 100%; height: auto; display: block; border-radius: 4px; border: 1px solid rgba(255,255,255,0.15); box-shadow: 0 4px 24px rgba(0,0,0,0.4); shape-outside: circle(50%); }

.portrait-right figcaption { font-size: 0.9em; font-style: italic; color: var(--c-text-secondary); margin-top: 0.6em; }

.clear { clear: both; }

/* ===== Pic ===== */
.pic-right { float: right; width: clamp(260px, 38%, 420px); margin: 0 0 1rem 1.25rem; text-align: center; }
.pic-right img {padding: 1rem;  width: 100%; height: auto; display: block; box-shadow: 0 4px 24px rgba(0,0,0,0.4); shape-outside: circle(50%); }
.pic-left {
  float: left;
  width: clamp(260px, 38%, 420px);
  margin: 3rem 3.5rem 1rem 0;
  text-align: left;
}
.pic-left img {;
  width: 100%;
  height: auto;
  display: block;
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
  shape-outside: circle(50%);
}
.pic-banner { float: center; width: clamp(100%); text-align: center; }
.pic-banner img {padding: 1rem;  width: 100%; height: auto; display: block; border-radius: 4px; box-shadow: 0 4px 24px rgba(0,0,0,0.4); shape-outside: circle(50%); }
/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .portrait-right { float: none; width: 100%; margin: 1.5rem 0; }
}

@media (max-width: 768px) {
    .pic-right, .pic-left, .pic-banner {
      float: none !important;
      width: 100% !important;
      margin: 1.5rem 0 !important;
      text-align: center !important;
    }
    .pic-right img, .pic-left img, .pic-banner img {
      width: 100% !important;
      height: auto !important;
      display: block !important;
      margin: 0 auto !important;
      padding: 0 !important;
    }
  body::before { background-attachment: scroll; }
  .site-brand { padding: 18px 0 6px; margin-top: 80px; }
  .brand-logo { height: 34px; }
  .brand-text { font-size: 1.5rem; }
  .galante-logo { max-height: 16vh; }
  .subline { font-size: 1.1em; margin-top: 0.5em; margin-bottom: 1.5em; }
  .social-icon { width: 22px; height: 22px; }
  .social-icons { gap: 10px; }
  :root { --menu-w: 100vw; --menu-tab-w: 48px; }
  .form-actions { flex-direction: column; }
  .btn { width: 100%; }

  .site-menu {
    top: 0;
    left: 0;
    width: 100vw;
    height: auto;
    max-height: 100vh;
    flex-direction: column;
    transform: translateY(-100%) !important;
    transition: transform 0.28s ease;
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  }
  body.menu-open .site-menu {
    transform: translateY(0) !important;
  }
  .site-menu-inner {
    width: 100vw;
    background: rgba(0,0,0,0.98);
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
    flex-direction: column;
    padding-top: 56px;
  }
  .menu-tab {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    width: var(--menu-tab-w, 46px);
    height: 64px;
    border-radius: 0 0 8px 8px;
    background: rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.18);
    border-top: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    visibility: visible !important;
    opacity: 1 !important;
    transition: background 0.2s, box-shadow 0.2s;
  }
  .menu-tab:hover {
    background: rgba(0,0,0,0.8);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  }
  .menu-tab .arrow {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid var(--c-white, #fff);
    opacity: 0.8;
    display: block;
    margin: 0;
    transform: none;
    transition: none;
  }
  /* Fallback: show menu if JS fails */
  nav.site-menu:not([aria-label]) {
    display: block !important;
    transform: translateY(0) !important;
    opacity: 1 !important;
  }
  .menu-header {
    padding: 18px 18px 10px;
    color: var(--c-white);
    font-style: italic;
    border-bottom: 1px solid rgba(255,255,255,0.18);
  }
  .menu-links {
    flex-direction: column;
    gap: 2px;
    padding: 12px 0;
    margin: 0;
  }
  .menu-links a {
    display: block;
    padding: 16px 24px;
    color: var(--c-white);
    text-decoration: none;
    opacity: 0.9;
    border-bottom: 2px solid transparent;
    border-right: none;
  }
  .menu-links a:hover, .menu-links a[aria-current="page"] {
    background: rgba(255,255,255,0.08);
    border-bottom-color: var(--c-white);
    opacity: 1;
  }
  .menu-footer {
    margin-top: auto;
    padding: 14px 18px;
    border-top: 1px solid rgba(255,255,255,0.18);
    color: var(--c-white);
    font-size: 0.95rem;
    opacity: 0.9;
  }
  .menu-proxy {
    display: none;
  }
}

@media (max-width: 520px) {
  .footer { font-size: 0.95em; }
  .footer::-webkit-scrollbar { display: none; }
}

@media (max-width: 400px) {
  .social-icon { width: 20px; height: 20px; }
  .social-icons { gap: 8px; }
}

@media (min-width: 1200px) {
  .social-icon { width: 28px; height: 28px; }
}

@media (min-width: 1920px) {
  .social-icon { width: 36px; height: 36px; }
}
