/* main.css - migrated from index.html */

/* iOS Safari viewport fixes and CSS custom properties */
:root {
    --vh: 1vh;
    --full-height: 100vh;
    --safe-area-inset-top: env(safe-area-inset-top, 0px);
    --safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
}

@supports (-webkit-touch-callout: none) {
    :root {
        --full-height: calc(var(--vh, 1vh) * 100);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

body {
    width: 100%;
    height: 300vh;
    min-height: calc(var(--full-height) * 3);
    overflow-x: hidden;
    overflow-y: auto;
    background: #0a0a0a;
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    -webkit-overflow-scrolling: touch;
    padding-top: var(--safe-area-inset-top);
    padding-bottom: var(--safe-area-inset-bottom);
}

.logo-section {
    scroll-snap-align: start;
}

.carousel-section {
    scroll-snap-align: center;
}

.statement-section {
    scroll-snap-align: start;
}

.gradient-background {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    background: 
        radial-gradient(ellipse 150% 80% at 0% 100%, rgba(15, 25, 45, 0.7) 0%, rgba(20, 35, 55, 0.4) 25%, rgba(25, 45, 65, 0.2) 50%, transparent 80%),
        linear-gradient(160deg, transparent 0%, rgba(70, 90, 140, 0.3) 25%, transparent 45%),
        radial-gradient(ellipse 500px 250px at 85% 15%, rgba(45, 65, 95, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse 600px 300px at 15% 50%, rgba(55, 70, 100, 0.3) 0%, transparent 70%),
        radial-gradient(ellipse 900px 450px at 95% 85%, rgba(40, 60, 90, 0.5) 0%, rgba(50, 75, 110, 0.2) 50%, transparent 80%),
        radial-gradient(ellipse 750px 400px at 5% 25%, rgba(20, 30, 50, 0.6) 0%, rgba(30, 45, 70, 0.15) 55%, transparent 85%),
        linear-gradient(110deg, transparent 0%, rgba(35, 55, 85, 0.25) 30%, transparent 65%),
        radial-gradient(ellipse 130% 70% at 50% 95%, rgba(18, 28, 48, 0.4) 0%, rgba(25, 40, 65, 0.12) 40%, transparent 75%),
        linear-gradient(52deg, #1a1f35, #1e2540, #222a4a, #263055, #2a3560);
    background-size: 120% 120%, auto, auto, auto, auto, auto, auto, auto, auto;
}

/* Lightbox styles */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 80vw;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

/* Inline style for #debugPanel */
#debugPanel {
    position: fixed;
    top: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: white;
    padding: 10px;
    font-family: monospace;
    font-size: 12px;
    z-index: 9999;
    border-radius: 5px;
    max-width: 200px;
}

/* Inline style for .statement-section */
.statement-section {
    margin-top: 200vh;
}

/* Inline style for .content-container > .main-content wrapper */
.content-container > div[style] {
    padding-top: 100vh;
    position: relative;
    z-index: 1;
}

/* SVG gradient stop styles (for animated gradients) */
svg stop[offset="0%"] {
    stop-color: #ff6b6b;
    stop-opacity: 1;
}
svg stop[offset="25%"] {
    stop-color: #4ecdc4;
    stop-opacity: 1;
}
svg stop[offset="50%"] {
    stop-color: #45b7d1;
    stop-opacity: 1;
}
svg stop[offset="75%"] {
    stop-color: #96ceb4;
    stop-opacity: 1;
}
svg stop[offset="100%"] {
    stop-color: #feca57;
    stop-opacity: 1;
}
