/* ========== BASE & RESET ========== */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body {
    margin: 0;
    min-height: 100vh;
}

img {
    max-width: 100%;
    display: block;
}

/* ========== DECORATIVE BACKGROUND BLOBS ========== */
.deco-blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.deco-blob--1 {
    width: 600px;
    height: 600px;
    background: #e3503a;
    top: -200px;
    right: -200px;
    animation: blobFloat 20s ease-in-out infinite;
}

.deco-blob--2 {
    width: 500px;
    height: 500px;
    background: #e3ad55;
    bottom: 10%;
    left: -150px;
    animation: blobFloat 25s ease-in-out infinite reverse;
}

.deco-blob--3 {
    width: 400px;
    height: 400px;
    background: #e3503a;
    bottom: -100px;
    right: 10%;
    animation: blobFloat 18s ease-in-out infinite;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ========== NAVBAR ========== */
.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.nav-glass {
    background: rgba(62, 15, 11, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(253, 237, 235, 0.08);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #f5e0b8;
    border-radius: 1px;
    transition: all 0.2s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
    z-index: 40;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    position: relative;
}

/* ========== HERO GRADIENT ========== */
.hero-gradient {
    background: linear-gradient(135deg, #3e0f0b 0%, #87281e 30%, #cc3a25 55%, #e3503a 75%, #e3ad55 100%);
}

/* ========== GEOMETRIC SHAPES ========== */
.geo {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 2px solid rgba(245, 224, 184, 0.15);
    top: 5%;
    right: -8%;
    animation: geoSpin 40s linear infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(227, 173, 85, 0.08);
    border: 2px solid rgba(227, 173, 85, 0.2);
    bottom: 15%;
    left: 5%;
    animation: geoFloat 8s ease-in-out infinite;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: rgba(253, 237, 235, 0.06);
    border: 2px solid rgba(253, 237, 235, 0.12);
    top: 25%;
    left: 8%;
    transform: rotate(45deg);
    animation: geoFloat 6s ease-in-out infinite;
}

.geo-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(227, 80, 58, 0.15);
    border-radius: 16px;
    bottom: 25%;
    right: 12%;
    transform: rotate(20deg);
    animation: geoFloat 7s ease-in-out infinite reverse;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(245, 224, 184, 0.08);
    top: 60%;
    right: 25%;
    animation: geoFloat 9s ease-in-out infinite;
}

.geo-dots {
    background-image: radial-gradient(rgba(253, 237, 235, 0.2) 1px, transparent 1px);
    background-size: 24px 24px;
    width: 300px;
    height: 300px;
    top: 10%;
    left: 30%;
    opacity: 0.5;
}

.geo-dots-reverse {
    background-image: radial-gradient(rgba(253, 237, 235, 0.15) 1px, transparent 1px);
    background-size: 32px 32px;
    width: 100%;
    height: 100%;
}

@keyframes geoSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes geoFloat {
    0%, 100% { transform: translateY(0) rotate(var(--rotate, 0deg)); }
    50% { transform: translateY(-20px) rotate(var(--rotate, 0deg)); }
}

.geo-square-1 { --rotate: 45deg; }
.geo-square-2 { --rotate: 20deg; }

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(253, 237, 235, 0.4);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: rgba(253, 237, 235, 0.6);
    border-radius: 2px;
    animation: scrollWheel 1.5s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(8px); }
}

/* ========== SCROLL REVEAL ========== */
.reveal-on-scroll {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll[data-reveal-delay="100ms"] { transition-delay: 100ms; }
.reveal-on-scroll[data-reveal-delay="200ms"] { transition-delay: 200ms; }
.reveal-on-scroll[data-reveal-delay="300ms"] { transition-delay: 300ms; }

@media (prefers-reduced-motion: no-preference) {
    .reveal-on-scroll {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal-on-scroll.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .geo-circle-1 {
        width: 250px;
        height: 250px;
    }
    
    .geo-circle-2 {
        width: 120px;
        height: 120px;
    }
    
    .geo-square-1 {
        width: 70px;
        height: 70px;
    }
    
    .geo-square-2 {
        width: 50px;
        height: 50px;
    }
    
    .geo-triangle-1 {
        border-left-width: 40px;
        border-right-width: 40px;
        border-bottom-width: 69px;
    }
    
    .geo-dots {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 640px) {
    .deco-blob {
        filter: blur(60px);
        opacity: 0.08;
    }
    
    .deco-blob--1 {
        width: 350px;
        height: 350px;
    }
    
    .deco-blob--2 {
        width: 300px;
        height: 300px;
    }
    
    .deco-blob--3 {
        width: 250px;
        height: 250px;
    }
}
