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

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

body {
    font-family: 'Manrope', sans-serif;
    color: #ffffff;
    position: relative;

    /* Fallback background image (shown if video doesn't load) */
    background-image: url('assets/background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #000000;
}

/* ===========================
   Background Video
   =========================== */
.background-video {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

/* ===========================
   Background Overlay
   =========================== */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.25) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

/* ===========================
   Main Content
   =========================== */
.content {
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.logo-container {
    /* Container no longer needs initial transform - children will animate individually */
}

/* ===========================
   Logo Styling
   =========================== */
.logo {
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.logo-meet {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
}

.logo-navia {
    font-family: 'DM Serif Display', serif;
    font-style: italic;
    font-weight: 400;
}

/* ===========================
   Subtext
   =========================== */
.subtext {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: clamp(0.875rem, 2vw, 1.25rem);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.9;
}

/* ===========================
   Footer
   =========================== */
.footer {
    position: fixed;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
}

.footer p {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    opacity: 0.7;
    font-weight: 400;
}

/* ===========================
   Animations
   =========================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animations */
.animate-up-1 {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0s;
}

.animate-up-2 {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.6s;
}

.animate-up-3 {
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.2s;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .content {
        padding: 0 1.5rem;
    }

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

    .subtext {
        font-size: clamp(0.75rem, 2.5vw, 1.125rem);
        letter-spacing: 0.1em;
    }

    .footer {
        bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: clamp(1.5rem, 10vw, 2.5rem);
    }

    .subtext {
        font-size: clamp(0.625rem, 3vw, 0.875rem);
    }

    .footer {
        bottom: 1rem;
    }

    .footer p {
        font-size: 0.7rem;
    }
}

/* ===========================
   Print Styles
   =========================== */
@media print {
    body {
        background: white;
        color: black;
    }

    .overlay {
        display: none;
    }
}
