/* ===== Custom Styles for Tornado Coffee Company ===== */

:root {
    --burgundy-700: #a11537;
    --burgundy-800: #831434;
    --burgundy-950: #3b0512;
    --blush-300: #ffbec6;
    --blush-400: #ff94a3;
    --cream: #FFF8F0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: #a11537;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    z-index: 100;
    font-weight: 600;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* Navbar */
#navbar {
    background: transparent;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
#navbar.scrolled {
    background: rgba(255, 248, 240, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(161, 21, 55, 0.08);
}

.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #a11537;
    border-radius: 1px;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
.mobile-link {
    position: relative;
}

/* Hero */
.hero-section {
    position: relative;
}

/* Feature cards */
.feature-card {
    transition: transform 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
}

/* Menu cards */
.menu-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.menu-card:hover {
    transform: translateY(-6px);
}

/* Gallery */
.gallery-item {
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.gallery-item:hover {
    box-shadow: 0 20px 60px rgba(161, 21, 55, 0.15);
}

/* Scroll reveal base — content is always visible */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 0;
    transform: translateY(30px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
    .menu-card, .gallery-item, .feature-card {
        transition: none;
    }
    .gallery-item:hover {
        transform: none;
    }
    .animate-bounce {
        animation: none;
    }
}

/* Form styles */
input:focus, textarea:focus {
    border-color: #a11537 !important;
    box-shadow: 0 0 0 3px rgba(161, 21, 55, 0.1) !important;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FFF8F0;
}
::-webkit-scrollbar-thumb {
    background: #f9d0d9;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ec7491;
}

/* Selection */
::selection {
    background: #f9d0d9;
    color: #6e1332;
}
