/* =========================================
   SCHLOP! DIGITAL DESIGN SYSTEM
   Version: 1.0 - V1 Foundation
   ========================================= */

:root {
  /* Visual DNA (Colors) */
  --color-primary-silver: #C8C8C8;
  --color-charcoal-body: #1C1C1E;
  --color-dark-accent: #2C2C2E;
  --color-mid-grey: #8E8E93;
  --color-pure-black: #000000;
  --color-pure-white: #FFFFFF;

  /* Typography Scales */
  --font-display: 'Dripping Liquid Metal Display', Impact, sans-serif;
  --font-structural: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --font-monospace: 'Roboto Mono', monospace;

  /* Transitions and Viscosity */
  --transition-viscous: all 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-snappy: all 0.2s ease-out;

  /* Spacing System & Constraints */
  --gutter-fluid: clamp(1rem, 4vw, 3rem);
  --logo-min-height: 108px; /* 1.5 inches translated for web */
}

/* Base Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-charcoal-body);
  color: var(--color-primary-silver);
  font-family: var(--font-structural);
  overflow-x: hidden;
}

/* =========================================
   LAYOUT & NAVIGATION
   ========================================= */
   
.site-header {
  position: fixed;
  top: var(--gutter-fluid);
  left: var(--gutter-fluid);
  z-index: 100;
}

.schlop-logo {
  height: clamp(40px, 8vw, var(--logo-min-height));
  width: auto;
  opacity: 0.9;
  transition: var(--transition-viscous);
}

.schlop-logo:hover {
  opacity: 1;
}

/* =========================================
   OBLIQUE UX: "GO OUTSIDE" (Horizontal Track)
   ========================================= */
   
.horizontal-expanse-track {
  display: flex;
  flex-direction: row; /* Explicitly forces horizontal alignment */
  overflow-x: scroll; /* Forces the horizontal scrollbar mechanism */
  overflow-y: hidden; /* Prevents accidental vertical scrolling */
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background: var(--color-pure-black);
  width: 100vw;
  height: 100vh;
}

/* Hiding the scrollbar for a cleaner edge-to-edge bleed */
.horizontal-expanse-track::-webkit-scrollbar {
  display: none; 
}
.horizontal-expanse-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.horizontal-expanse-track figure {
  flex: 0 0 100vw; /* This forces every figure to be exactly 100% of the screen width */
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--gutter-fluid);
}

.horizontal-expanse-track img {
  /* Maintains the precise 24:43 aspect ratio without distortion */
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* =========================================
   OBLIQUE UX: "SHUT THE DOOR" (Immersive Stage)
   ========================================= */

.immersive-stage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-pure-black);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-viscous);
}

.immersive-stage.active {
  opacity: 1;
  pointer-events: all;
}

.back-out-btn {
  position: fixed;
  top: var(--gutter-fluid);
  right: var(--gutter-fluid);
  background: none;
  border: none;
  color: var(--color-primary-silver);
  font-size: 2rem;
  font-family: var(--font-structural);
  cursor: pointer;
  z-index: 10000;
  transition: var(--transition-snappy);
}

.back-out-btn:hover {
  color: var(--color-pure-white);
  transform: scale(1.1);
}

/* =========================================
   FOYER & CTA STYLING
   ========================================= */

.gallery-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: var(--gutter-fluid);
}

.foyer-content {
  text-align: center;
  margin-bottom: 10vh; /* Pushes the CTA down */
}

.foyer-content h1 {
  font-weight: 300;
  letter-spacing: 0.3em;
  margin-bottom: 2rem;
  color: var(--color-pure-white);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

/* Project Trigger Button */
.project-trigger {
  background: transparent;
  border: 1px solid var(--color-mid-grey);
  color: var(--color-primary-silver);
  padding: 1rem 2rem;
  font-family: var(--font-structural);
  font-size: 1rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition-snappy);
  text-transform: uppercase;
}

.project-trigger:hover {
  border-color: var(--color-primary-silver);
  color: var(--color-pure-white);
  background: rgba(255, 255, 255, 0.05); /* Very subtle highlight */
}

/* Mailing List CTA */
.schlop-cta {
  width: 100%;
  max-width: 450px;
  text-align: center;
  border-top: 1px solid var(--color-dark-accent);
  padding-top: 2rem;
}

.schlop-cta h3 {
  font-weight: 300;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--color-mid-grey);
}

.schlop-cta form {
  display: flex;
  gap: 0.5rem;
}

.schlop-cta input[type="email"] {
  flex: 1;
  background: var(--color-dark-accent);
  border: 1px solid var(--color-mid-grey);
  color: var(--color-pure-white);
  padding: 0.8rem 1rem;
  font-family: var(--font-structural);
  outline: none;
  transition: var(--transition-snappy);
}

.schlop-cta input[type="email"]:focus {
  border-color: var(--color-primary-silver);
  background: var(--color-charcoal-body);
}

.schlop-cta button[type="submit"] {
  background: var(--color-primary-silver);
  color: var(--color-pure-black);
  border: none;
  padding: 0.8rem 1.5rem;
  font-family: var(--font-structural);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-snappy);
  letter-spacing: 0.05em;
}

.schlop-cta button[type="submit"]:hover {
  background: var(--color-pure-white);
}

/* =========================================
   GALLERY NAVIGATION (Chevrons)
   ========================================= */

.nav-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--color-primary-silver);
  font-size: 2.5rem;
  font-family: var(--font-structural);
  font-weight: 300;
  cursor: pointer;
  z-index: 10000;
  padding: 0 var(--gutter-fluid); /* Uses your fluid spacing for the edges */
  transition: var(--transition-snappy);
  opacity: 0.7;
}

.nav-btn:hover {
  color: var(--color-pure-white);
  opacity: 1;
  /* Slight outward push on hover for tactile feedback */
}

.nav-left:hover {
  transform: translateY(-50%) translateX(-5px);
}

.nav-right:hover {
  transform: translateY(-50%) translateX(5px);
}

.nav-left {
  left: 0;
}

.nav-right {
  right: 0;
}

/* Hide the arrows on touch devices where users will naturally swipe */
@media (pointer: coarse) {
  .nav-btn {
      display: none;
  }
}
