/* Custom styles for Docside Bar & Grill */

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

/* Hero animations */
.hero-badge {
    animation: fadeInDown 0.8s ease-out both;
}

.hero-title {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero-trust {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Feature items animation */
.feature-item {
    animation: fadeInUp 0.6s ease-out both;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .hero-badge,
    .hero-title,
    .hero-subtitle,
    .hero-cta,
    .hero-trust,
    .feature-item {
        animation: none;
    }
    
    .reveal {
        transition: none;
    }
    
    .reveal.hidden {
        opacity: 1;
        transform: none;
    }
}

/* Geometric decorative elements */
.geometric-shape {
    position: absolute;
    pointer-events: none;
}

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

::-webkit-scrollbar-track {
    background: #3d061d;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #930e40;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Button focus states */
button:focus,
a:focus {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

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

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

/* Navbar scroll effect */
.navbar-scrolled {
    background: rgba(61, 6, 29, 0.98) !important;
}

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

/* Accessibility: focus visible */
*:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}
