/* Custom Styles for Great Ceremonial House */

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

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #e6c35c;
}

/* Reveal animation - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Gold glow effects */
.glow-gold {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Text selection */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: #f5f5f5;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #1a1f1c 0%, #0f1311 100%);
}

/* Subtle pattern overlay for dark sections */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(212, 175, 55, 0.03) 1px, transparent 0);
    background-size: 40px 40px;
}

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

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

/* Navbar scroll state */
nav.scrolled {
    background: rgba(7, 10, 8, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Hover card effect */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Print styles */
@media print {
    nav,
    #mobile-menu-btn,
    .animate-bounce {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .bg-dark-950 {
        background: white !important;
    }
    
    .text-white {
        color: black !important;
    }
    
    .text-gold-400 {
        color: #b8922a !important;
    }
}
