/* Custom styles for Rachelle's Island Tea */

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

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

::-webkit-scrollbar-track {
    background: #05130E;
}

::-webkit-scrollbar-thumb {
    background: rgba(212, 168, 67, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 168, 67, 0.5);
}

/* Selection color */
::selection {
    background: rgba(212, 168, 67, 0.3);
    color: #FAF9F6;
}

/* Gold gradient text */
.gold-gradient {
    background: linear-gradient(135deg, #D4A843 0%, #F0D48A 50%, #D4A843 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero card styling */
.hero-card {
    background: linear-gradient(145deg, rgba(20, 60, 40, 0.9) 0%, rgba(8, 31, 22, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 168, 67, 0.2);
}

/* Stat card styling */
.stat-card {
    background: linear-gradient(145deg, rgba(20, 60, 40, 0.85) 0%, rgba(8, 31, 22, 0.9) 100%);
    border: 1px solid rgba(212, 168, 67, 0.15);
}

/* Menu card styling */
.menu-card {
    background: linear-gradient(145deg, rgba(20, 60, 40, 0.6) 0%, rgba(8, 31, 22, 0.7) 100%);
    border: 1px solid rgba(212, 168, 67, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover {
    border-color: rgba(212, 168, 67, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Gold button styling */
.btn-gold {
    background: linear-gradient(135deg, #D4A843 0%, #F0D48A 100%);
    color: #05130E;
    transition: all 0.3s ease;
}

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

/* Outline button styling */
.btn-outline {
    border: 1px solid rgba(212, 168, 67, 0.5);
    color: #D4A843;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(212, 168, 67, 0.1);
    border-color: #D4A843;
}

/* Navbar scroll effect */
.nav-scrolled {
    background: rgba(5, 19, 14, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
}

/* Floating animation */
.floating {
    animation: float 6s ease-in-out infinite;
}

.floating-delay {
    animation: float 6s ease-in-out 2s infinite;
}

.floating-delay-2 {
    animation: float 6s ease-in-out 4s infinite;
}

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

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Focus states for accessibility */
input:focus,
textarea:focus {
    outline: none;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .floating {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
}
