/* Custom Styles for Compean and Sons */

/* Base styles to ensure smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: #1a0d18;
}

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

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

/* Reveal Animation Classes */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Hero Animation */
.hero-content {
    animation: fadeInUp 1s ease-out forwards;
}

.hero-image {
    animation: fadeInRight 1s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Navbar Glass Effect */
.nav-scrolled {
    background: rgba(26, 13, 24, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(217, 119, 6, 0.2);
}

/* Button Hover Glow */
.btn-glow:hover {
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.4);
}

/* Mobile Menu Transition */
#mobile-menu {
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

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