/* ========================================
   Going Rogue Coffee — Custom Styles
   ======================================== */

/* --- Base & Typography --- */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Montserrat', system-ui, sans-serif;
    background-color: #fefdfb;
    color: #2a1a0e;
}

.font-serif {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

.font-sans {
    font-family: 'Montserrat', system-ui, sans-serif;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf9f3;
}
::-webkit-scrollbar-thumb {
    background: #c44d4d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8c2626;
}

/* --- Navbar --- */
#navbar {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}

#navbar.scrolled {
    background: rgba(254, 253, 251, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(140, 38, 38, 0.08);
}

/* --- Hero --- */
#hero {
    position: relative;
}

/* --- Section Dividers --- */
.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #c44d4d, #f5c4b0);
    border: none;
}

/* --- Card Hover Effects --- */
.menu-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
}

/* --- Button Focus States --- */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #c44d4d;
    outline-offset: 2px;
    border-radius: 4px;
}

/* --- Image Lazy Loading --- */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- Mobile Menu Animation --- */
#mobileMenu {
    animation: slideDown 0.3s ease forwards;
}

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

/* --- Scroll Reveal (progressive enhancement) --- */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Image Grid --- */
.image-grid-item {
    transition: transform 0.5s ease;
}

.image-grid-item:hover {
    transform: scale(1.02);
}

/* --- Experience Cards --- */
.exp-card {
    transition: background 0.3s ease, border-color 0.3s ease;
}

.exp-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, #d95c34 0%, #c44d4d 50%, #8c2626 100%);
}

/* --- Contact Links --- */
a[href^="tel:"],
a[href^="mailto:"] {
    text-decoration: none;
}

a[href^="tel:"]:hover,
a[href^="mailto:"]:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* --- Print Styles --- */
@media print {
    #navbar,
    #mobileMenuBtn,
    .cta-section {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
