/* ==========================================================================
   Culture Counts Splashpage
   ========================================================================== */

/* Geist Font */
@font-face {
    font-family: 'Geist';
    src: url('../assets/fonts/Geist-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('../assets/fonts/Geist-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors */
    --color-background: #00212b;
    --color-accent: #EE8139;
    --color-text-primary: #ffffff;
    --color-text-secondary: #b0c4ca;
    --color-text-muted: #8ba3aa;

    /* Typography */
    --font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;

    /* Layout */
    --max-width: 1400px;
    --padding-x: clamp(1.5rem, 5vw, 4rem);
}

/* Reset & Base
   ========================================================================== */

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-text-primary);
    min-height: 100vh;
    line-height: 1.5;
}

/* Page Layout
   ========================================================================== */

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-width: 1090px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--padding-x);
}

/* Header
   ========================================================================== */

.header {
    flex-shrink: 0;
    padding-bottom: var(--spacing-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-img {
    height: clamp(24px, 3vw, 32px);
    width: auto;
}

.logo-claim {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--color-text-secondary);
    white-space: nowrap;
}

/* Main Content
   ========================================================================== */

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}

/* Quote Section
   ========================================================================== */

.quote-section {
    margin-bottom: var(--spacing-xl);
}

.quote {
    border: none;
    padding: 0;
    position: relative;
}

.quote-text {
    font-size: clamp(2.5rem, 10vw, 8rem);
    font-weight: 500;
    line-height: 0.95;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    white-space: nowrap;
    /* Fixed height for 4 lines: 4 * line-height * font-size */
    height: 3.8em;
    margin-bottom: var(--spacing-md);
}

.quote-text .highlight {
    color: var(--color-accent);
}

.quote-text .cursor {
    display: inline-block;
    width: 0.08em;
    height: 1em;
    background-color: var(--color-accent);
    margin-left: 0.05em;
    animation: blink 1s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.quote-author {
    font-size: clamp(0.75rem, 1.5vw, 1rem);
    font-weight: 500;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-align: right;
    min-height: 1.5em;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.quote-author.visible {
    opacity: 1;
}

/* Content Section
   ========================================================================== */

.content-section {
    max-width: 700px;
}

.headline {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.body-text {
    font-size: clamp(1.5rem, 3vw, 1.75rem);
    font-weight: 500;
    color: var(--color-text-secondary);
    line-height: 1.35;
    margin-bottom: var(--spacing-lg);
}

/* CTA
   ========================================================================== */

.cta {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.cta-text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    color: var(--color-text-primary);
}

.cta-link {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 0.2em;
    transition: opacity 0.2s ease;
}

.cta-link:hover {
    opacity: 0.8;
}

/* Footer
   ========================================================================== */

.footer {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xl);
    margin-top: auto;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-logo {
    height: clamp(18px, 2vw, 22px);
    width: auto;
    opacity: 0.7;
}

.footer-left .logo-claim {
    font-size: clamp(0.6rem, 1vw, 0.75rem);
    opacity: 0.7;
}

.footer-right {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    color: var(--color-text-muted);
}

.footer-copyright,
.footer-partners {
    white-space: nowrap;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-link:hover {
    opacity: 0.7;
}

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

@media (max-width: 768px) {
    .page-wrapper {
        padding: var(--spacing-md) var(--spacing-md);
    }

    .quote-author {
        text-align: left;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .footer-right {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
}



/* Animation States
   ========================================================================== */

.quote-text.fade-out {
    opacity: 0;
    transition: opacity 0.4s ease-out;
}

.quote-text.fade-in {
    opacity: 1;
    transition: opacity 0.3s ease-in;
}
