/* ==========================================================================
   Wix-like split hero + Minimal Mistakes (or similar) theme spacing overrides
   ========================================================================== */

/* --- Design tokens (easy site-wide tweaks) --- */
:root {
  --bg-image: url("/assets/Gl12b_Illustration.jpg");
  --hero-overlay: rgba(0, 0, 0, 0.25);
  --side-bg: rgba(10, 16, 28, 0.55);
  --side-blur: 4px;

  --text-on-dark: rgba(255, 255, 255, 0.92);
  --text-on-dark-muted: rgba(255, 255, 255, 0.75);

  --panel-bg: rgba(255, 255, 255, 0.92);
  --panel-text: #111;

  --panel-radius: 10px;
  --panel-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);

  --side-width: clamp(320px, 34vw, 480px);
  --side-min-width: 320px; /* keep if you still want it */
}

/* ==========================================================================
   Theme overrides: remove top header strip / spacing (Minimal Mistakes style)
   NOTE: if you later want a normal header back, remove this block.
   ========================================================================== */
.masthead {
  display: none !important;
}

.initial-content,
.page,
#main,
.page__content,
.page__inner-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ==========================================================================
   Background + main content panel styling
   ========================================================================== */
body {
  /* Full-page background like Wix (continues after hero) */
  background: center/cover no-repeat fixed var(--bg-image);
}

/* ✅ Keep the hero clean: no panel styling on the whole page wrapper */
.page__content {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;

  /* optional: remove padding so hero can be full-bleed */
  padding: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}

/* ✅ Wix-like translucent sheet ONLY for body content below the hero */
.wix-panel {
  width: min(820px, 62vw);
  margin: 0 0 0 20vw;      /* offset so background shows on left */
  padding: 4rem 4rem 5rem;

  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);

  position: relative;
  z-index: 1;
}

/* Optional soft blending edge */
.wix-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: -40px 0 60px rgba(255,255,255,0.35) inset;
}

/* Mobile: full width */
@media (max-width: 900px) {
  .wix-panel {
    width: 100%;
    margin: 0;
    padding: 2.5rem 1.5rem 3rem;
  }
  .wix-panel::before {
    box-shadow: none;
  }
}

/* Ensure theme typography doesn’t override panel text */
.page__content * {
  color: inherit;
}

/* ==========================================================================
   HERO (split layout)
   ========================================================================== */
.wix-hero {
  position: relative;
  min-height: 100vh;
  width: 100vw;

  /* Full-bleed inside a centered theme wrapper */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  overflow: hidden;
}

/* Background layer.
   Because body already has the same background, we keep this transparent to avoid
   a "double" background rendering. If you later remove the body background, set
   this to: background: center/cover no-repeat var(--bg-image);
*/
.wix-hero__bg {
  position: absolute;
  inset: 0;
  background: transparent;
  filter: saturate(1.05);
}

.wix-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

/* Top nav */
.wix-hero__nav {
  position: absolute;
  top: 1.4rem;
  left: 2.2rem;
  right: calc(var(--side-width) + 24px);
  z-index: 2;

  display: flex;
  justify-content: center;
  gap: 1.2rem;

  font-style: italic;
  font-size: 0.95rem;
}

.wix-hero__nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0);
  padding-bottom: 2px;
  line-height: 1.15;
}

.wix-hero__nav a:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

/* =========================
   Mobile menu (hamburger + drawer)
   ========================= */
.wix-menu-btn {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  z-index: 9999;

  width: 54px;
  height: 54px;
  border-radius: 10px;

  background: rgba(255,255,255,0.10);
  border: 2px solid rgba(255,255,255,0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  display: none;            /* shown on mobile via media query */
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-direction: column;

  cursor: pointer;
}

.wix-menu-btn__bar {
  width: 26px;
  height: 2px;
  background: #fff;
  display: block;
}

/* Drawer panel */
.wix-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(78vw, 340px);
  padding: 5.5rem 2rem 2rem;

  background: #5b6ee1;
  color: #fff;
  z-index: 10000;

  transform: translateX(-105%);
  transition: transform 220ms ease;
}

.wix-drawer a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 1.6rem 0;
}

.wix-drawer__close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 52px;
  height: 52px;

  border-radius: 12px;
  border: 2px solid rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

/* Overlay */
.wix-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 9999;

  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

/* Open state */
body.drawer-open .wix-drawer {
  transform: translateX(0);
}
body.drawer-open .wix-drawer-overlay {
  opacity: 1;
  pointer-events: auto;
}

/* Show hamburger on mobile */
@media (max-width: 900px) {
  .wix-hero {
    min-height: auto;
  }

  .wix-hero__main {
    height: auto;              
    padding: 7rem 7vw 2rem; 
  }

  .wix-hero__side {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }

  .wix-side__photo {
    width: 180px;
    height: 180px;
  }
}

/* Left content area (name + title block) */
.wix-hero__main {
  position: relative;
  z-index: 1;
  height: 100vh;

  display: flex;
  align-items: center;

  /* Controls vertical placement on the page */
  padding: 12vh 6vw 4rem 6vw;
  max-width: calc(100% - var(--side-width));
}

.wix-hero__textblock {
  /* Small nudge only; avoid lots of magic numbers */
  margin-bottom: 2vh;
}

/* Hero typography */
.wix-hero__name {
  font-size: clamp(2.4rem, 5.1vw, 4.6rem);
  white-space: nowrap;
  color: #fff;
}

.wix-hero__tagline {
  font-size: clamp(1.15rem, 1.9vw, 1.65rem);
  font-style: italic;
  margin: 0.5rem 0 0 0;
  color: var(--text-on-dark);
}

/* Instead of inline styles in HTML */
.wix-hero__tagline-strong {
  font-size: 1.12em;
}

/* Right panel */
.wix-hero__side {
  position: absolute;
  top: 0;
  right: 0;

  width: var(--side-width);
  min-width: var(--side-min-width);
  height: 100%;

  background: var(--side-bg);
  backdrop-filter: blur(var(--side-blur));
  color: #fff;

  display: flex;
  align-items: center;
  padding: 2.5rem 2rem;
}

/* Side panel content */
.wix-side {
  width: 100%;
  text-align: center;
}

.wix-side__photo {
  width: 250px;
  height: 250px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.wix-side__line {
  margin: 0.6rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.wix-side__muted {
  color: var(--text-on-dark-muted);
  font-style: italic;
}

/* Icons */
.wix-side__icons {
  margin: 1.2rem 0 1.6rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.wix-side__icons i {
  font-size: 1.35rem;
}

.wix-side__icons a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 1.15rem;
  transition: color 0.2s ease, transform 0.2s ease;
}

.wix-side__icons a:hover {
  color: #fff;
  transform: translateY(-2px);
}

/* Button */
.wix-side__button {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.8rem 1.2rem;

  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;

  color: #fff;
  text-decoration: none;
}

.wix-side__button:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   Responsive: stack side panel underneath
   ========================================================================== */
@media (max-width: 900px) {
  .wix-hero__side {
    position: relative;
    width: 100%;
    min-width: 0;
    height: auto;
  }

  .wix-hero__main {
    max-width: 100%;
    padding: 6rem 7vw 3rem 7vw;
    justify-content: center;
    text-align: center;
  }

  .wix-hero__name {
    white-space: normal;
  }

  .wix-hero__nav {
    left: 0;
    right: 0;
    padding: 0 1rem;
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   Mobile nav activation + overflow safety
   ========================================================================== */

html,
body {
  overflow-x: hidden;
}

@media (max-width: 900px) {
  .wix-menu-btn {
    display: flex;
  }

  .wix-hero__nav {
    display: none;
  }
}

/* Mobile: override desktop hero height */
@media (max-width: 900px) {
  .wix-hero {
    min-height: auto;
  }

  .wix-hero__main {
    height: auto;
    align-items: flex-start;      /* keep layout anchored */
    padding: 7.5rem 7vw 1.2rem;   /* clears burger, tighter bottom */
    text-align: center;
  }

  /* tighten gap between name and photo */
  .wix-hero__textblock {
    margin-bottom: 0.4rem;
  }

  .wix-hero__side {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
  }

  .wix-side__photo {
    margin-bottom: 0.6rem;
  }
}
