/* ========================================
   Mountain Coffee & Tropical Drinks
   Premium Dark Luxury Theme
   ======================================== */

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0c1522;
}
::-webkit-scrollbar-thumb {
    background: #1a2740;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a84b;
}

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

body {
    overflow-x: hidden;
}

/* --- Selection Color --- */
::selection {
    background: rgba(212, 168, 75, 0.3);
    color: #f5dfb5;
}

/* --- Scroll Reveal Animations --- */
/* Default state: visible (progressive enhancement) */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hidden state — applied via JS for progressive enhancement */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.is-hidden {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* --- Navbar Scroll State --- */
.navbar-scrolled {
    background: rgba(12, 21, 34, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 75, 0.1);
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

/* --- Gold Gradient Text Utility --- */
.gold-gradient-text {
    background: linear-gradient(135deg, #f5dfb5, #d4a84b, #c49a3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Card Hover Effects --- */
.menu-card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 40px rgba(212, 168, 75, 0.05);
}

/* --- Button Ripple Effect --- */
.btn-luxury {
    position: relative;
    overflow: hidden;
}

.btn-luxury::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-luxury:active::after {
    width: 200px;
    height: 200px;
}

/* --- Image Hover Zoom --- */
.img-zoom {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* --- Input Focus Glow --- */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(212, 168, 75, 0.3),
                0 4px 20px rgba(212, 168, 75, 0.05);
}

/* --- Testimonial Card --- */
.testimonial-card {
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(212, 168, 75, 0.3);
    transform: translateY(-2px);
}

/* --- Decorative Line Animation --- */
.gold-line {
    position: relative;
    overflow: hidden;
}

.gold-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 168, 75, 0.4), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

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

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

/* --- Pulse Glow --- */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 168, 75, 0.2); }
    50% { box-shadow: 0 0 40px rgba(212, 168, 75, 0.4); }
}

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

/* --- Mobile Menu Transition --- */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

#mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#mobile-menu a:last-child {
    border-bottom: none;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}

/* --- Print Styles --- */
@media print {
    nav, #contact, footer, .scroll-reveal {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
