@import 'variables.css';

/* --- Font Definitions --- */
@font-face {
    font-family: 'Roxborough CF';
    src: url('../assets/fonts/Roxborough-CF.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Thesignature';
    src: url('../assets/fonts/Thesignature.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lausanne';
    src: url('../assets/fonts/Lausanne-300.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Legan';
    src: url('../assets/fonts/Legan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Inter';
    src: url('../assets/fonts/Inter-VariableFont_slnt,wght.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: 'Ovo';
    src: url('../assets/fonts/Ovo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Candlefish';
    src: url('../assets/fonts/Candlefish.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* --- Typography Overrides --- */
:root {
    --font-primary: 'Roxborough CF', serif;
    --font-secondary: 'Lausanne', sans-serif;
    --font-accent: 'Thesignature', cursive;
    --font-body: 'Inter', sans-serif;
    --font-legan: 'Legan', sans-serif;
    --font-ovo: 'Ovo', serif;
    --font-candlefish: 'Candlefish', sans-serif;
}

/* Modern CSS Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
h5,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

ul[role='list'],
ol[role='list'] {
    list-style: none;
}

html:focus-within {
    scroll-behavior: smooth;
}

html {
    width: 100%;
}

body {
    min-height: 100vh;
    width: 100%;
    text-rendering: optimizeSpeed;
    line-height: 1.6;
    font-family: var(--font-body);
    background-color: #0a0a0a;
    color: #f0f0f0;
}


a:not([class]) {
    text-decoration-skip-ink: auto;
}

img,
picture {
    max-width: 100%;
    display: block;
}

input,
button,
textarea,
select {
    font: inherit;
}

/* --- Layout Utilities --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Split Screen Layout (Desktop) --- */
.main-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.left-panel {
    width: 70%;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
}

.right-panel {
    width: 30%;
    min-height: 100vh;
    /* Scrollable content handled by window */
    background-color: #0a0a0a;
    position: relative;
    scroll-behavior: smooth;
    /* Snap scrolling might need adjustment or removal if using window scroll */
}

/* Hide mobile elements on desktop */
.mobile-only {
    display: none;
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-primary);
    font-weight: normal;
    letter-spacing: 0.05em;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 15px 40px;
    font-family: var(--font-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* --- Animations --- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeIn 1s ease-out forwards;
    min-height: 100vh;
    /* Full height for all sections */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: clip;
}

/* --- Responsive Layout --- */
@media (max-width: 1024px) {
    .main-layout {
        flex-direction: column;
        height: auto;
        overflow: visible;
    }

    .left-panel {
        display: none;
        /* Hide left panel on mobile/tablet */
    }

    .right-panel {
        width: 100%;
        height: auto;
        overflow: visible;
    }

    .mobile-only {
        display: flex !important;
    }

    .desktop-only {
        display: none !important;
    }
}