/* 
 * Henry Group - Premium Dark Luxury Real Estate Theme
 * Custom styles to complement Tailwind CSS
 */

/* Base Reset & Typography */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #020617; /* Navy 900 */
    color: #e2e8f0; /* Slate 200 */
}

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

::-webkit-scrollbar-track {
    background: #0f172a; /* Navy 800 */
}

::-webkit-scrollbar-thumb {
    background: #334155; /* Slate 700 */
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4af37; /* Gold */
}

/* Gold Gradient Text Utility */
.text-gradient-gold {
    background: linear-gradient(to right, #d4af37, #f59e0b, #d4af37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gold Gradient Border */
.border-gradient-gold {
    border-image: linear-gradient(to right, #d4af37, #f59e0b) 1;
}

/* Fade In Animation for Hero */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

/* Scroll Reveal Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

/* Gold Hover Glow */
.btn-glow:hover {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

/* Image Aspect Ratios */
.aspect-card {
    aspect-ratio: 4/5;
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#mobile-menu.hidden {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

#mobile-menu.show {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .animate-fade-in-up {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
