/* Crown Collectives — Custom Styles */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0e0e14;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #40404c;
}

/* Selection color */
::selection {
    background: rgba(255, 107, 74, 0.3);
    color: #f7f7f8;
}

/* Base typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Fade-in animation for scroll reveals */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Nav scroll state */
.nav-scrolled {
    background: rgba(14, 14, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(64, 64, 76, 0.5);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #f5d78e 0%, #d4a039 50%, #b8860b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Coral glow effect */
.coral-glow {
    box-shadow: 0 0 40px rgba(255, 107, 74, 0.15);
}

/* Image hover zoom */
.group:hover .group-hover\!scale-110 {
    transform: scale(1.1);
}

/* Mobile menu transition */
#mobileMenu {
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Pulse animation for CTA */
@keyframes pulse-gold {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(212, 160, 57, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(212, 160, 57, 0);
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .font-display {
        line-height: 1.1;
    }
}
