/* Base & Utilities */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #0c0a07;
}
::-webkit-scrollbar-thumb {
    background: #065f46;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #059669;
}

/* Selection */
::selection {
    background: rgba(5, 150, 105, 0.3);
    color: #fefdf8;
}

/* Navbar */
#navbar {
    background: transparent;
}
#navbar.scrolled {
    background: rgba(12, 10, 7, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(5, 150, 105, 0.15);
}

/* Mobile Menu */
.mobile-link {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
}
#mobileMenu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
}
#mobileMenu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
#mobileMenu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
#mobileMenu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
#mobileMenu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
#mobileMenu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }
#mobileMenu.open .mobile-link:nth-child(6) { transition-delay: 0.3s; }

/* Menu Button */
.menu-line {
    display: block;
    transition: all 0.3s ease;
}
#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}
#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Select styling */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* Gold shimmer on hover for cards */
.group:hover .group-hover\:border-gold-500\/30 {
    border-color: rgba(212, 168, 83, 0.3);
}

/* Image hover zoom container */
.group img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Fade-in hero elements */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#hero .animate-fade-up {
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}
#hero .animate-fade-up:nth-child(1) { animation-delay: 0.1s; }
#hero .animate-fade-up:nth-child(2) { animation-delay: 0.25s; }
#hero .animate-fade-up:nth-child(3) { animation-delay: 0.4s; }
#hero .animate-fade-up:nth-child(4) { animation-delay: 0.55s; }
