/* CSS Stylesheet for Website 4 - Dynamic / Kinetic Sporty Editorial */

:root {
    --color-primary: #1e1b4b; /* Deep Indigo */
    --color-accent: #f97316; /* Vibrant Coral / Orange */
    --color-light: #f8fafc; /* Soft Pearl */
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-light);
}

/* Tailwind custom extensions */
.bg-theme-primary { background-color: var(--color-primary); }
.bg-theme-accent { background-color: var(--color-accent); }
.bg-theme-light { background-color: var(--color-light); }

.text-theme-primary { color: var(--color-primary); }
.text-theme-accent { color: var(--color-accent); }
.text-theme-light { color: var(--color-light); }

.border-theme-primary { border-color: var(--color-primary); }
.border-theme-accent { border-color: var(--color-accent); }

/* Typography */
.font-oswald {
    font-family: 'Oswald', sans-serif;
}
.font-lato {
    font-family: 'Lato', sans-serif;
}

/* Cinematic Background - Active / Sporty / Balance Theme */
.cinematic-bg {
    background-image: url('/img/image_1.avif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* Smooth fade-in animation for hero */
.fade-in {
    animation: fadeInScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .cinematic-bg {
        background-attachment: scroll; /* Performance on mobile */
        background-position: 70% center;
    }
}
