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

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0a1226;
}
::-webkit-scrollbar-thumb {
    background: #1e2c58;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334488;
}

/* Selection color */
::selection {
    background: rgba(52, 211, 153, 0.3);
    color: #e2e8f0;
}

/* Reveal animations — progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .reveal.revealed {
        opacity: 1;
        transform: none;
    }
    img, .group img {
        transition: none;
    }
}

/* Mobile menu button animation */
#menuBtn.active .menu-bar.top {
    transform: translateY(6px) rotate(45deg);
}
#menuBtn.active .menu-bar.mid {
    opacity: 0;
    transform: scaleX(0);
}
#menuBtn.active .menu-bar.bot {
    transform: translateY(-6px) rotate(-45deg);
}

/* Navbar active state */
.nav-link.active {
    color: #34d399 !important;
    background: rgba(52, 211, 153, 0.08) !important;
}

/* Focus visible */
*:focus-visible {
    outline: 2px solid #34d399;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Button ripple effect */
button, a {
    position: relative;
    overflow: visible;
}

/* Form focus styles */
input:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.15);
}

/* Gallery hover overlay */
.gallery-overlay {
    background: linear-gradient(to top, rgba(10, 18, 38, 0.6) 0%, transparent 50%);
}

/* Gradient text utility */
.text-gradient-mint {
    background: linear-gradient(135deg, #34d399, #6ee7b7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(12deg); }
    50% { transform: translateY(-20px) rotate(12deg); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) rotate(-8deg); }
    50% { transform: translateY(15px) rotate(-8deg); }
}

.shape-float {
    animation: float 6s ease-in-out infinite;
}

.shape-float-reverse {
    animation: float-reverse 8s ease-in-out infinite;
}
