/* Custom styles and animations */
:root {
    --color-dark-900: #0D0D0D;
    --color-dark-800: #1A1A1A;
    --color-dark-700: #2A2A2A;
    --color-gold: #C9A84C;
    --color-gold-light: #D4B86A;
    --color-terracotta: #B84E3F;
    --color-sand: #E8D9CA;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Navigation scroll effect */
nav.scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Mobile menu transitions */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

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

::-webkit-scrollbar-track {
    background: var(--color-dark-900);
}

::-webkit-scrollbar-thumb {
    background: var(--color-dark-700);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

/* Button hover effects */
button,
a {
    transition: all 0.2s ease-in-out;
}

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

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

/* Subtle glow effect */
.glow-gold {
    box-shadow: 0 0 30px rgba(201, 168, 76, 0.2);
}

/* Animation for floating elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

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