/* Custom styles for Padre & Pops Bayou Grill */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a843, #e0bc5e);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e0bc5e, #f0d078);
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-pulse-slow {
    animation: pulse 3s ease-in-out infinite;
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(212, 168, 67, 0.2);
}

/* Gold gradient text */
.gold-gradient-text {
    background: linear-gradient(90deg, #d4a843, #f0d078, #d4a843);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 168, 67, 0.15);
}

/* Image hover zoom */
.img-zoom {
    transition: transform 0.5s ease;
}

.img-zoom:hover {
    transform: scale(1.1);
}

/* Button hover effects */
.btn-gold {
    background: linear-gradient(135deg, #d4a843, #e0bc5e);
    color: #1a0a10;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #e0bc5e, #f0d078);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 168, 67, 0.3);
}

.btn-outline {
    border: 2px solid #d4a843;
    color: #d4a843;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #d4a843;
    color: #1a0a10;
}

/* Navigation link underline animation */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: linear-gradient(90deg, #d4a843, #f0d078);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Section divider */
.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4a843, transparent);
}

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

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

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

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

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

/* Form focus styles */
input:focus,
textarea:focus {
    outline: none;
    border-color: #d4a843 !important;
    box-shadow: 0 0 0 3px rgba(212, 168, 67, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-gradient {
        background: linear-gradient(135deg, #1a0a10 0%, #2d0f1c 50%, #4a1530 100%);
    }
}
