/* style.css */
:root {
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --bg-dark: #000000;
}

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

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden; /* Prevent scrolling on splash page */
    background-color: var(--bg-dark);
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    /* Improve text rendering */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Container & Image */
.bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('img/temp.jpg');
    background-size: cover;
    background-position: center 20%;
    transform: scale(1.1); /* Start slightly zoomed in */
    transition: transform 10s ease-out; /* Slow pan/zoom effect */
}

/* Add a loaded state class to start the zoom out */
body.loaded .bg-image {
    transform: scale(1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.3) 0%,
        rgba(0,0,0,0.7) 100%
    );
    z-index: 2;
}

/* Main Content Overlay */
.content {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Align near the bottom, Nike style */
    padding: 5vw;
}

.titles {
    max-width: 1200px;
}

/* Typography */
.title {
    font-size: clamp(4rem, 12vw, 12rem);
    font-weight: 900;
    font-style: italic;
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: -0.05em;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.subtitle {
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.coming-soon {
    font-size: clamp(1.2rem, 2vw, 2.5rem);
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 4px solid var(--text-primary);
}

/* Animations - Initial state */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

/* Loaded state */
body.loaded .animate-up {
    opacity: 1;
    transform: translateY(0);
}

/* Media Query for Mobile Adjustments */
@media (max-width: 768px) {
    .content {
        justify-content: center;
        text-align: center;
    }
    .coming-soon {
        border-bottom-width: 2px;
    }
}
