@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');
/* -------- Reset -------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

/* -------- Theme variables (LIGHT defaults) -------- */
:root{
  --title-font: "Great Vibes", cursive;
	
  --bg: #ffffff;
  --text: #0b0b0b;
  --muted: #333333;

  --gold: #fbf598;
  --brown: #6b4b2a;

  --shadow: rgba(0,0,0,0.12);

  --menu-bg: rgba(255,255,255,0.96);
  --menu-border: 2px solid var(--gold);
  --menu-shadow: 16px 0 40px rgba(0,0,0,0.12);

  --hamb-bg: rgba(255,255,255,0.85);
  --hamb-border: 1px solid rgba(0,0,0,0.20);
  --hamb-bar: var(--brown);

  --overlay: rgba(0,0,0,0.35);

  --banner-url: url("images/banner.jpg");
  --fade-top: rgba(255,255,255,0.00);
  --fade-mid: rgba(255,255,255,0.65);
  --fade-bot: rgba(255,255,255,1.00);

  /* Layout controls */
  --logo-top: 64px;
  --logo-height: clamp(220px, 28vh, 320px);
  --fade-height: 40px;
  --hero-h: calc(var(--logo-top) + var(--logo-height));
}

/* -------- System dark mode (only when NOT overridden) -------- */
@media (prefers-color-scheme: dark) {
  html:not([data-theme]){
    --bg: #0b0b0b;
    --text: #f2f2f2;
    --muted: #cfcfcf;

    --shadow: rgba(0,0,0,0.55);

    --menu-bg: rgba(15,15,15,0.94);
    --menu-border: 2px solid var(--gold);
    --menu-shadow: 16px 0 40px rgba(0,0,0,0.35);

    --hamb-bg: rgba(20,20,20,0.72);
    --hamb-border: 1px solid rgba(255,255,255,0.15);
    --hamb-bar: var(--gold);

    --overlay: rgba(0,0,0,0.60);

    --banner-url: url("images/banner-dark.jpg");
    --fade-top: rgba(11,11,11,0.00);
    --fade-mid: rgba(11,11,11,0.65);
    --fade-bot: rgba(11,11,11,1.00);

    --brown: #d6b24c;
  }
}

/* -------- Toggle override (when user flips switch) -------- */
html[data-theme="dark"]{
  color-scheme: dark;

  --bg: #0b0b0b;
  --text: #f2f2f2;
  --muted: #cfcfcf;

  --shadow: rgba(0,0,0,0.55);

  --menu-bg: rgba(15,15,15,0.94);
  --menu-border: 2px solid var(--gold);
  --menu-shadow: 16px 0 40px rgba(0,0,0,0.35);

  --hamb-bg: rgba(20,20,20,0.72);
  --hamb-border: 1px solid rgba(255,255,255,0.15);
  --hamb-bar: var(--gold);

  --overlay: rgba(0,0,0,0.60);

  --banner-url: url("images/banner-dark.jpg");
  --fade-top: rgba(11,11,11,0.00);
  --fade-mid: rgba(11,11,11,0.65);
  --fade-bot: rgba(11,11,11,1.00);

  --brown: #d6b24c;
}

html[data-theme="light"]{
  color-scheme: light;
  /* Light is already default variables; this just forces it */
}

/* -------- Base -------- */
body{
  font-family: Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

/* -------- Fixed Hero Banner -------- */
.hero{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--hero-h);
  overflow: hidden;
  z-index: 30;

  background-image: var(--banner-url);
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;

  filter: saturate(1.05) contrast(1.05);
}

/* Vignette */
.hero::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.00) 40%, rgba(0,0,0,0.22) 100%);
  pointer-events:none;
}

/* -------- Title over banner -------- */
.hero-title-wrap{
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(920px, 92vw);
  text-align: center;
  z-index: 62;
  pointer-events: auto;
}

.hero-title{
  font-size: clamp(2.0rem, 4.4vw, 3.2rem);
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--gold);
  -webkit-text-stroke: 0;
  text-stroke: 0;
  text-shadow: 0 0 2px rgba(0,0,0,0.18);
}

/* -------- Logo -------- */
.hero-logo{
  position: absolute;
  top: var(--logo-top);
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  pointer-events: none;
}

.hero-logo img{
  height: var(--logo-height);
  width: auto;
  display: block;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,0.20));
}

/* -------- Fade begins at bottom of logo -------- */
.hero-fade{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  z-index: 55;
  pointer-events: none;

  top: calc(var(--logo-top) + var(--logo-height));
  height: var(--fade-height);

  background: linear-gradient(
    to bottom,
    var(--fade-top) 0%,
    var(--fade-mid) 60%,
    var(--fade-bot) 100%
  );
}

/* -------- Top-left controls -------- */
.top-left{
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 80;
}
/* Top-left bar: hamburger + flags */
.top-left-bar{
  display: flex;
  align-items: center;
  gap: 10px;
}
/* Active language flag indicator */
.flag-btn.is-active{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  opacity: 1;
}
html:not(.is-dark) .flag-btn.is-active {
  outline-color: var(--brown);
}
/* Flags row: animate in/out instead of popping */
.lang-flags{
  display: flex;
  gap: 8px;
  align-items: center;

  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;

  transition: opacity 0.22s ease, transform 0.22s ease;
}

/* When menu opens, flags slide/fade in (slightly delayed to match menu) */
.menu-open .lang-flags{
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;

  transition-delay: 0.12s;
}

/* When closing, remove delay so it hides immediately */
.menu-open:not(.closing) .lang-flags{
  transition-delay: 0.12s;
}


/* Each flag button matches hamburger box height */
.flag-btn{
  width: 36px;            /* same as hamburger height */
  height: 36px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: 8px;     /* matches hamburger radius */
  overflow: hidden;       /* rounds the image corners */
  box-shadow: 0 10px 22px var(--shadow);
}

/* Flag image fills button, keeps rectangular proportion nicely */
.flag-btn img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle hover */
.flag-btn:hover{
  transform: translateY(-1px);
}
.flag-btn{
  transition: transform 0.15s ease, opacity 0.15s ease;
  opacity: 0.92;
}
.flag-btn:hover{
  opacity: 1;
}

/* Dark-mode tweak (optional): make flags sit nicely on dark background */
html.is-dark .flag-btn{
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}

/* Hamburger */
.hamburger{
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  border: var(--hamb-border);
  background: var(--hamb-bg);
  backdrop-filter: blur(4px);
  border-radius: 8px;

  cursor: pointer;
  padding: 0;
  box-shadow: 0 10px 22px var(--shadow);
}

.hamburger .bar{
  width: 18px;
  height: 2px;
  background: var(--hamb-bar);
  border-radius: 2px;
  margin: 2.6px 0;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

/* Hamburger -> X */
.menu-open .bar-1{ transform: translateY(4.6px) rotate(45deg); }
.menu-open .bar-2{ opacity: 0; }
.menu-open .bar-3{ transform: translateY(-4.6px) rotate(-45deg); }

/* -------- Slide-out menu -------- */
.menu{
  position: fixed;
  top: 0;
  left: -290px;
  width: 290px;
  height: 100%;

  background: var(--menu-bg);
  backdrop-filter: blur(8px);
  border-right: var(--menu-border);
  padding: 110px 22px 22px;

  transition: left 0.28s ease;
  z-index: 75;
  box-shadow: var(--menu-shadow);
}

.menu a{
  display: block;
  text-decoration: none;
  color: var(--text);
  font-size: 1.08rem;
  padding: 12px 10px;
  border-radius: 10px;
  margin-bottom: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.menu a:hover{
  background: rgba(251,245,152,0.18);
  color: var(--brown);
}

/* -------- Current page indicator (menu) -------- */
.menu a[aria-current="page"]{
  color: var(--text);
  position: relative;
  opacity: 1;
}
html[data-theme="light"] .menu a[aria-current="page"]::before{
  background: var(--brown);
}
.menu a[aria-current="page"]::before{
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background: var(--gold);
  border-radius: 2px;
}

.menu a:not([aria-current="page"]){
  opacity: 0.78;
}

/* Menu divider */
.menu-divider{
  height: 1px;
  width: 100%;
  background: rgba(0,0,0,0.10);
  margin: 18px 0 14px;
}

html[data-theme="dark"] .menu-divider{
  background: rgba(255,255,255,0.14);
}

/* Overlay */
.overlay{
  position: fixed;
  inset: 0;
  background: var(--overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 70;
}

.menu-open .menu{ left: 0; }
.menu-open .overlay{
  opacity: 1;
  pointer-events: auto;
}

/* -------- Theme toggle row -------- */
.theme-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.theme-left{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.theme-label{
  font-size: 0.95rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Sun/Moon crossfade */
.theme-icon{
  position: relative;
  width: 44px;
  height: 44px;
}

.theme-icon img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 220ms ease, transform 220ms ease;
}

.icon-sun{ opacity: 1; transform: scale(1); }
.icon-moon{ opacity: 0; transform: scale(0.92); }

/* We'll use a class to represent effective dark so icons always match. */
html.is-dark .icon-sun{ opacity: 0; transform: scale(0.92); }
html.is-dark .icon-moon{ opacity: 1; transform: scale(1); }

.theme-right{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

/* Toggle switch (oval) */
.switch{
  position: relative;
  display: inline-block;
  width: 54px;
  height: 30px;
}

.switch input{
  opacity: 0;
  width: 0;
  height: 0;
}

.slider{
  position: absolute;
  inset: 0;
  cursor: pointer;
  border-radius: 999px;
  background: rgba(0,0,0,0.12);
  border: 1px solid rgba(0,0,0,0.15);
  transition: background 200ms ease, border-color 200ms ease;
}

.slider::before{
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  transition: transform 200ms ease, background 200ms ease;
}

.switch input:checked + .slider{
  background: rgba(251,245,152,0.28);
  border-color: rgba(251,245,152,0.55);
}

.switch input:checked + .slider::before{
  transform: translate(24px, -50%);
  background: #ffffff;
}

/* Dark appearance tweaks for the switch */
html.is-dark .slider{
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.18);
}
html.is-dark .switch input:checked + .slider{
  background: rgba(251,245,152,0.20);
  border-color: rgba(251,245,152,0.45);
}

/* Reset to device button */
.theme-reset{
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}

.theme-reset:hover{
  color: var(--text);
}

/* -------- Page content -------- */
.page{
  position: relative;
  z-index: 5;
  margin-top: var(--hero-h);
  padding: 22px 22px 60px;
}

.intro, .block, .footer{
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.lede{
  font-size: 1.10rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto 14px;
}

.intro p, .block p{
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 780px;
  margin: 0 auto 14px;
}

.accent{
  color: var(--text);
  border-left: 4px solid var(--gold);
  display: inline-block;
  padding-left: 12px;
  margin-top: 12px;
}
html[data-theme="light"] .accent{
  border-left-color: var(--brown);
}
.block{
  margin-top: 34px;
  padding-top: 20px;
}

h2{
  font-size: 1.35rem;
  margin-bottom: 10px;
  color: var(--brown);
  letter-spacing: 0.02em;
}

.cta{
  display: inline-block;
  margin-top: 6px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(107,75,42,0.35);
  text-decoration: none;
  color: var(--text);
  background: rgba(251,245,152,0.10);
}

.cta:hover{
  background: rgba(251,245,152,0.20);
}
/* -------- UI Button (used for Return / actions) -------- */
.ui-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 10px 18px;
  border-radius: 999px;

  font-size: 0.95rem;
  letter-spacing: 0.03em;
  text-decoration: none;
  cursor: pointer;

  color: var(--text);
  background: rgba(251,245,152,0.18);
  border: 1px solid rgba(251,245,152,0.45);

  box-shadow: 0 10px 22px var(--shadow);
  transition:
    background 160ms ease,
    transform 140ms ease,
    box-shadow 140ms ease;
}

.ui-btn:hover{
  background: rgba(251,245,152,0.28);
  transform: translateY(-1px);
}

/* Light mode accent tweak */
html[data-theme="light"] .ui-btn{
  background: rgba(107,75,42,0.10);
  border-color: rgba(107,75,42,0.45);
}

html[data-theme="light"] .ui-btn:hover{
  background: rgba(107,75,42,0.18);
}
.footer{
  margin-top: 46px;
  padding-top: 18px;
  border-top: 1px solid rgba(0,0,0,0.10);
  font-size: 0.95rem;
  color: var(--muted);
}

html.is-dark .footer{
  border-top: 1px solid rgba(255,255,255,0.12);
}

/* -------- Mobile -------- */
@media (max-width: 600px){
  :root{
    --logo-top: 58px;
    --logo-height: clamp(180px, 26vh, 260px);


    --fade-height: 140px;
  }

  .hero-title-wrap{ top: 14px; }
  .page{ padding-left: 16px; padding-right: 16px; }

  .theme-row{
    flex-direction: column;
    align-items: flex-start;
  }
  .theme-right{
    align-items: flex-start;
  }
}


/* ===== Talent page layout ===== */
.talent-feature{
  max-width: 980px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 22px;
  align-items: start;
  text-align: left;
}

.talent-feature__photo{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 18px 40px var(--shadow);
}

.talent-feature__copy{
  padding-top: 6px;
}

.talent-name{
  margin: 0 0 6px;
}

.talent-role{
  margin: 0 0 14px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* Smaller secondary card */
.talent-card{
  max-width: 980px;
  margin: 26px auto 0;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  align-items: center;
  text-align: left;
  padding: 14px;
  border-radius: 16px;
  background: rgba(0,0,0,0.03);
}
/* Talent page CTA */
.talent-cta{
  max-width: 980px;
  margin: 26px auto 0;
  padding-top: 18px;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.10);
}

html.is-dark .talent-cta{
  border-top: 1px solid rgba(255,255,255,0.12);
}

.talent-cta .cta-link{
  display: inline-block;
  margin-top: 10px;
  font-weight: 500;
}

/* Honourary talent (pets) */
.talent-pet{
  opacity: 0.92;
}
.talent-pet .talent-role{
  font-style: italic;
}

.talent-pets{
  margin-top: 46px;                 
  padding-top: 18px;                
  border-top: 1px solid rgba(0,0,0,0.10);
}

html.is-dark .talent-pets{
  border-top: 1px solid rgba(255,255,255,0.12);
}

html.is-dark .talent-card{
  background: rgba(255,255,255,0.06);
}
.pets-title{
  margin: 0 0 18px;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--gold);
}

html[data-theme="light"] .pets-title{
  color: var(--brown);
}

/* Card photos */
.talent-card__photo{
  width: 220px;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 14px;
  box-shadow: 0 14px 30px var(--shadow);
}

.talent-card__copy p{
  margin-bottom: 0;
}

/* Mobile */
@media (max-width: 800px){
  .talent-feature{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .talent-feature__copy{
    text-align: center;
  }
  .talent-card{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .talent-card__photo{
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ===== Talent socials (YT / TT) ===== */
.talent-socials{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 0.95rem;
  color: var(--muted);
}

.talent-socials-label{
  margin-right: 6px;
}

/* Base icon button — DOUBLED SIZE */
.social-link{
  width: 44px;
  height: 44px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.social-link:hover{
  opacity: 1;
  transform: translateY(-1px);
}

/* Light mode icons */
.social-link.youtube{
  background-image: url("images/youtube.png");
}

.social-link.tiktok{
  background-image: url("images/tiktok.png");
}
.social-link.instagram{
  background-image: url("images/ig.png");
}

.social-link.x{
  background-image: url("images/x.png");
}

/* Dark mode icons */
html.is-dark .social-link.youtube{
  background-image: url("images/youtubed.png");
}

html.is-dark .social-link.tiktok{
  background-image: url("images/tiktokd.png");
}
html.is-dark .social-link.instagram{
  background-image: url("images/igd.png");
}

html.is-dark .social-link.x{
  background-image: url("images/xd.png");
}

/* Smooth language swap */
[data-i18n]{
  transition: opacity 140ms ease;
}
html.lang-switching [data-i18n]{
  opacity: 0;
}
/* Force Return-to-site button styling on Thanks page */
#thanks .ui-btn{
  display: inline-flex !important;
  margin-top: 14px !important;
  padding: 12px 20px !important;
  border-radius: 999px !important;
  font-size: 1rem !important;
}
.thanks-actions{
  margin: 10px auto 18px;
}
/* ===== Join form styling (clean Veela UI) ===== */
.join-form{
  max-width: 780px;
  margin: 16px auto 0;
  padding: 18px 16px;

  border-radius: 18px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(107,75,42,0.18);

  box-shadow: 0 14px 34px var(--shadow);
  text-align: left;
}

html.is-dark .join-form{
  background: rgba(255,255,255,0.04);
  border-color: rgba(251,245,152,0.20);
}

.form-row{
  margin: 12px 0;
}

.form-row label{
  display: block;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  margin: 0 0 6px;
  color: var(--text);
}

.join-form input,
.join-form textarea{
  width: 100%;
  padding: 11px 12px;

  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.82);
  color: var(--text);

  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

html.is-dark .join-form input,
html.is-dark .join-form textarea{
  background: rgba(15,15,15,0.55);
  border-color: rgba(255,255,255,0.16);
}

/* Placeholder */
.join-form input::placeholder,
.join-form textarea::placeholder{
  color: rgba(0,0,0,0.45);
}
html.is-dark .join-form input::placeholder,
html.is-dark .join-form textarea::placeholder{
  color: rgba(255,255,255,0.45);
}

/* Focus ring (gold in dark, brown in light) */
.join-form input:focus,
.join-form textarea:focus{
  border-color: rgba(251,245,152,0.70);
  box-shadow: 0 0 0 4px rgba(251,245,152,0.22);
}
html[data-theme="light"] .join-form input:focus,
html[data-theme="light"] .join-form textarea:focus{
  border-color: rgba(107,75,42,0.60);
  box-shadow: 0 0 0 4px rgba(107,75,42,0.18);
}

/* Submit button matches your UI button style */
.join-form button.btn{
  margin-top: 12px;
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;

  color: var(--text);
  background: rgba(251,245,152,0.22);
  border: 1px solid rgba(251,245,152,0.55);

  box-shadow: 0 10px 22px var(--shadow);
  transition: background 160ms ease, transform 140ms ease;
}

.join-form button.btn:hover{
  background: rgba(251,245,152,0.32);
  transform: translateY(-1px);
}

html[data-theme="light"] .join-form button.btn{
  background: rgba(107,75,42,0.12);
  border-color: rgba(107,75,42,0.45);
}
html[data-theme="light"] .join-form button.btn:hover{
  background: rgba(107,75,42,0.18);
}

/* Mobile spacing */
@media (max-width: 600px){
  .join-form{
    padding: 16px 14px;
    border-radius: 16px;
  }
}
