/* ========================
   La Vida Mocha - Main Styles
   ======================== */

:root {
    /* Colors */
    --primary-dark: #1a1a1a;
    --primary-light: #ffffff;
    --accent-purple: #8b5cf6;
    --accent-blue: #38bdf8;
    --accent-green: #34d399;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --bg-dark: #0a0a0a;
    --hero-image: url('../assets/Pic%201.png') center/cover no-repeat fixed;

    /* Typography */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-heading: 'Georgia', serif;
    
    /* Spacing */
    --spacing-unit: 1rem;
    --spacing-s: calc(var(--spacing-unit) * 0.5);
    --spacing-m: var(--spacing-unit);
    --spacing-l: calc(var(--spacing-unit) * 2);
    --spacing-xl: calc(var(--spacing-unit) * 3);
    --spacing-xxl: calc(var(--spacing-unit) * 4);

    /* Transitions */
    --transition-base: 0.3s ease-in-out;
    --transition-smooth: 0.5s ease-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================
   Typography
   ======================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--spacing-m);
}

h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.05em;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 600;
}

p {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    margin-bottom: var(--spacing-m);
}

a {
    color: var(--accent-purple);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--accent-blue);
}

/* ========================
   Utility Classes
   ======================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-m);
}

.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.hidden {
    display: none;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ========================
   Animations
   ======================== */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes neonGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(139, 92, 246, 0.8);
    }
    50% {
        text-shadow: 0 0 28px rgba(56, 189, 248, 1);
    }
}

/* ========================
   Scroll-reveal
   ======================== */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.reveal--left {
    transform: translateX(-50px);
}

.reveal.reveal--right {
    transform: translateX(50px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

.fade-in {
    animation: fadeIn 0.6s ease-in-out;
}

.slide-in-up {
    animation: slideInUp 0.6s ease-out;
}

.slide-in-down {
    animation: slideInDown 0.6s ease-out;
}

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

@media (max-width: 768px) {
    :root {
        --spacing-unit: 0.875rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-unit: 0.75rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.25rem;
    }
}