/* ============================================================
   lunar.bar - Orbital Lounge Design
   ============================================================ */

:root {
    /* Color Palette */
    --color-bg-dark: #1A1A22;
    --color-bg-light: #2A2A32;
    --color-panel-2: #3A3A44;
    --color-panel-3: #4A4A56;
    --color-accent: #5A5A66;
    --color-text-primary: #D0D0D8;
    --color-text-secondary: #C8C8D0;
    --color-text-tertiary: #6A6A78;

    /* Typography */
    --font-display: 'DM Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(90deg, #1A1A22 0%, #2A2A32 50%, #1A1A22 100%);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-y: hidden;
    overflow-x: auto;
    height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200"><defs><filter id="noise"><feTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="4" seed="1"/><feColorMatrix type="saturate" values="0"/></filter></defs><rect width="200" height="200" fill="%23666" filter="url(%23noise)"/></svg>');
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

/* ============================================================
   Scroll Container & Panels
   ============================================================ */

.scroll-container {
    display: flex;
    flex-direction: row;
    width: 400vw;
    height: 100vh;
    position: relative;
}

.panel {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 2rem;
    overflow: hidden;
}

.panel-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 700px;
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   Panel 1: Approach
   ============================================================ */

.panel-1 {
    background: linear-gradient(135deg, #1A1A22 0%, #2A2A32 100%);
    text-align: center;
}

.panel-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 10rem);
    font-weight: 300;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.2s forwards;
}

.panel-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--color-text-tertiary);
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 2rem;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.4s forwards;
    text-transform: uppercase;
}

.panel-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.6s forwards;
}

.scroll-indicator {
    font-size: 0.9rem;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    animation: pulse 2s ease-in-out infinite;
    opacity: 0;
    animation: slideInUp 1s ease-out 0.8s forwards, pulse 2s ease-in-out 1s infinite;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-10px);
    }
}

/* ============================================================
   Panel 2: Arrival
   ============================================================ */

.panel-2 {
    background: linear-gradient(135deg, #2A2A32 0%, #3A3A44 100%);
}

.panel-heading {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 500;
    color: var(--color-text-primary);
    letter-spacing: -0.01em;
    margin-bottom: 2rem;
}

.panel-text-block {
    line-height: 2;
}

.panel-text-block p {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
}

.panel-text-block p:last-child {
    margin-bottom: 0;
}

.accent-line {
    width: 100px;
    height: 2px;
    background: var(--color-accent);
    margin-top: 3rem;
    opacity: 0.6;
}

/* ============================================================
   Panel 3: Interior
   ============================================================ */

.panel-3 {
    background: linear-gradient(135deg, #3A3A44 0%, #4A4A56 100%);
}

.panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.grid-item {
    background: rgba(106, 106, 120, 0.2);
    padding: 2rem;
    border-left: 2px solid var(--color-accent);
}

.grid-item:nth-child(odd) {
    border-left-color: var(--color-accent);
}

.grid-item:nth-child(even) {
    border-left-color: rgba(90, 90, 102, 0.4);
}

.item-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.item-text {
    font-size: 0.95rem;
    color: var(--color-text-tertiary);
    line-height: 1.7;
}

@media (max-width: 1024px) {
    .panel-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================================
   Panel 4: Experience
   ============================================================ */

.panel-4 {
    background: linear-gradient(135deg, #4A4A56 0%, #1A1A22 100%);
}

.experience-sections {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 2rem 0;
}

.experience-item {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(90, 90, 102, 0.2);
}

.experience-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.experience-item .item-title {
    margin-bottom: 0.75rem;
}

.experience-item .item-text {
    font-size: 1rem;
}

.closing-text {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-accent);
    text-align: center;
}

.closing-text p {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--color-text-primary);
    letter-spacing: 0.02em;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
    body {
        overflow-x: auto;
        overflow-y: auto;
    }

    .scroll-container {
        flex-direction: column;
        width: 100vw;
        height: auto;
    }

    .panel {
        width: 100vw;
        height: auto;
        min-height: 100vh;
    }

    .panel-content {
        max-width: 100%;
    }

    .panel-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .scroll-indicator {
        display: none;
    }

    .panel-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* ============================================================
   Utility Classes
   ============================================================ */

.noise-texture {
    display: none;
}
