/* Custom CSS for Spudnuts Donuts */

/* Base Styles */
* {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
}

/* Gold Gradient Button */
.gold-button {
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 50%, #d97706 100%);
    transition: all 0.3s ease;
}

.gold-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.3);
}

.gold-button-lg {
    box-shadow: 0 15px 50px rgba(251, 191, 36, 0.4);
}

/* Navbar */
.nav-scrolled {
    background: rgba(2, 44, 34, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-link {
    position: relative;
}

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

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

/* Hero Section */
.hero {
    background: linear-gradient(180deg, rgba(2, 44, 34, 0.7) 0%, rgba(6, 78, 59, 0.8) 100%);
}

.hero-overlay {
    background: radial-gradient(ellipse at center, rgba(2, 44, 34, 0.4) 0%, rgba(2, 44, 34, 0.8) 100%);
}

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

.hero-subtitle {
    animation: fadeInUp 1s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-description {
    animation: fadeInUp 1s ease-out 0.4s forwards;
    opacity: 0;
}

.hero-cta {
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

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

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delay {
    animation: float 6s ease-in-out 3s infinite;
}

/* Feature Cards */
.feature-card {
    background: rgba(6, 78, 59, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(6, 78, 59, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Menu Items */
.menu-item {
    transition: all 0.5s ease;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item img {
    transition: transform 0.7s ease;
}

/* Mobile Menu */
.mobile-menu {
    animation: slideDown 0.3s ease-out;
}

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

.mobile-link {
    position: relative;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

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

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

::-webkit-scrollbar-track {
    background: #022c22;
}

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

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

/* Gold Glow Effect */
.shadow-gold {
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.3);
}

.shadow-gold-lg {
    box-shadow: 0 15px 50px rgba(251, 191, 36, 0.4);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
}
