/* ===== CSS Custom Properties ===== */
:root {
    --plum-950: #2e0112;
    --plum-900: #500724;
    --plum-800: #831443;
    --plum-600: #be185d;
    --plum-500: #db2777;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
    --amber-300: #fcd34d;
}

/* ===== Base Reset ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===== Geometric Shape Animations ===== */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border: 2px solid rgba(251, 191, 36, 0.4);
    border-radius: 50%;
    top: 10%;
    right: -100px;
    animation: float-slow 20s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(219, 39, 119, 0.3);
    border-radius: 50%;
    bottom: 20%;
    left: 5%;
    animation: float-medium 15s ease-in-out infinite;
}

.shape-circle-3 {
    width: 100px;
    height: 100px;
    border: 2px solid rgba(251, 191, 36, 0.3);
    border-radius: 50%;
    top: 40%;
    left: 15%;
    animation: float-fast 10s ease-in-out infinite;
}

.shape-square-1 {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(219, 39, 119, 0.3);
    top: 25%;
    left: -40px;
    transform: rotate(45deg);
    animation: rotate-slow 25s linear infinite;
}

.shape-square-2 {
    width: 80px;
    height: 80px;
    background: rgba(251, 191, 36, 0.15);
    bottom: 30%;
    right: 10%;
    transform: rotate(30deg);
    animation: rotate-slow 20s linear infinite reverse;
}

.shape-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(219, 39, 119, 0.2);
    top: 60%;
    right: 5%;
    animation: float-medium 12s ease-in-out infinite;
}

.shape-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(251, 191, 36, 0.4) 1px, transparent 1px);
    background-size: 20px 20px;
    top: 15%;
    left: 10%;
    animation: float-slow 18s ease-in-out infinite;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

@keyframes rotate-slow {
    from { transform: rotate(45deg); }
    to { transform: rotate(405deg); }
}

/* ===== Navbar ===== */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(46, 1, 18, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Mobile Menu ===== */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

.mobile-link {
    display: block;
}

/* ===== Scroll Reveal Animations ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

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

/* ===== Utility ===== */
@media (max-width: 768px) {
    .geo-shape {
        opacity: 0.08;
    }
}

/* ===== Selection ===== */
::selection {
    background: rgba(219, 39, 119, 0.4);
    color: white;
}
