/* Custom Styles for T & D Lounge */

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

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

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

.hero-content {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-image {
    animation: fadeInRight 0.8s ease-out 0.2s forwards;
    opacity: 0; /* Starts hidden, JS or animation brings it in */
}

/* Ensure hero image is visible even if animation fails */
.hero-image {
    opacity: 1;
}

/* Mobile Menu Transitions */
#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;
}

/* Subtle hover effects for cards */
.group:hover .group-hover\:bg-amber-450 {
    background-color: #f59e0b;
}

.group:hover .group-hover\:text-white {
    color: #ffffff;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #8c508e;
}

/* Focus styles for accessibility */
a:focus-visible, button:focus-visible {
    outline: 2px solid #f59e0b;
    outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
}
