/* Custom styles for Plaza Bar */

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

/* Navbar scroll state */
nav.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

nav.scrolled .nav-link {
    color: #0a1628;
}

nav.scrolled .nav-text-color {
    color: #0a1628;
}

nav.scrolled .menu-line {
    background-color: #0a1628;
}

nav.scrolled .mobile-link {
    color: #0a1628;
}

/* Hero section */
#hero {
    position: relative;
}

/* Stat cards animation */
.stat-card {
    animation: float 3s ease-in-out infinite;
}

.stat-card:nth-child(2) {
    animation-delay: 0.5s;
}

.stat-card:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Mobile menu */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.menu-line {
    transition: all 0.3s ease;
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle.active .menu-line:nth-child(3) {
    width: 1.5rem;
    transform: rotate(-45deg) translate(5px, -5px);
}

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

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

/* Decorative line animation */
@keyframes expand {
    from {
        width: 0;
    }
    to {
        width: 3rem;
    }
}

/* Button hover effects */
a[href="tel:+13362708010"] {
    position: relative;
    overflow: hidden;
}

a[href="tel:+13362708010"]::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: rgba(0, 0, 0, 0.1);
    transition: height 0.3s ease;
}

a[href="tel:+13362708010"]:hover::after {
    height: 100%;
}

/* Image hover effects */
.rounded-lg.overflow-hidden img {
    transition: transform 0.7s ease;
}

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

::-webkit-scrollbar-track {
    background: #f5f5f0;
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .stat-card {
        animation: none;
    }
    
    .rounded-lg.overflow-hidden img {
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
