/* ===== CUSTOM STYLES ===== */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

.circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 3px solid rgba(255, 213, 79, 0.4);
    top: -100px;
    right: -80px;
    animation: float 8s ease-in-out infinite;
}

.circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(79, 195, 247, 0.2);
    bottom: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.circle-3 {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 138, 101, 0.25);
    top: 30%;
    left: 8%;
    animation: float 7s ease-in-out infinite;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(255, 213, 79, 0.2);
    top: 20%;
    right: 10%;
    transform: rotate(15deg);
    animation: spin-slow 20s linear infinite;
}

.rect-1 {
    width: 80px;
    height: 80px;
    background: rgba(79, 195, 247, 0.15);
    border-radius: 16px;
    bottom: 25%;
    right: 15%;
    transform: rotate(45deg);
    animation: float 9s ease-in-out infinite;
}

.dot-grid {
    width: 120px;
    height: 120px;
    bottom: 10%;
    right: 5%;
    background-image: radial-gradient(circle, rgba(255,255,255,0.3) 1px, transparent 1px);
    background-size: 16px 16px;
    animation: float 5s ease-in-out infinite reverse;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ===== REVEAL ANIMATIONS (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
    .reveal:nth-child(4) { transition-delay: 0.3s; }
}

/* ===== NAVBAR SCROLL STATE ===== */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 252, 250, 0.95);
    backdrop-blur-lg;
    box-shadow: 0 1px 20px rgba(27, 94, 32, 0.08);
}

/* ===== MOBILE MENU ===== */
#mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #faf5eb;
}

::-webkit-scrollbar-thumb {
    background: #aed09a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7fb868;
}

/* ===== SELECTION ===== */
::selection {
    background: #aed09a;
    color: #0f3510;
}
