/* Rocky Mountain Cafe - Premium Modern-Vintage Design */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hidden {
    display: none !important;
}

:root {
    /* Warm Premium Palette */
    --primary-color: #5A3322;
    --primary-dark: #40261A;
    --primary-light: #7A4B38;
    --secondary-color: #9C6644;
    --accent-color: #B08D57;
    --accent-light: #D4BD96;
    --text-color: #2C2420;
    --text-muted: #6B5D54;
    --light-text: #8A7B72;
    --white: #FFFFFF;
    --off-white: #FBF8F3;
    --light-bg: #F4EFE8;
    --warm-gray: #E3DCD3;
    --border-color: #D6CEC4;
    --shadow-sm: 0 1px 6px rgba(44, 34, 24, 0.06);
    --shadow: 0 8px 24px rgba(44, 34, 24, 0.10);
    --shadow-lg: 0 18px 40px rgba(44, 34, 24, 0.14);
    --shadow-xl: 0 24px 64px rgba(44, 34, 24, 0.18);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4.5rem;
    --space-3xl: 7rem;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-full: 9999px;
    --transition-fast: 180ms ease;
    --transition-base: 260ms ease;
    --transition-slow: 380ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

[data-theme="dark"] {
    --primary-color: #D4A373;
    --primary-dark: #C08B5C;
    --primary-light: #DEB887;
    --secondary-color: #E6B8A2;
    --accent-color: #B08D57;
    --accent-light: #C9A87C;
    --text-color: #EDE6DE;
    --text-muted: #B8AFA6;
    --light-text: #9A928A;
    --white: #1C1917;
    --off-white: #24211E;
    --light-bg: #28241F;
    --warm-gray: #352F2A;
    --border-color: #3F3A35;
    --shadow-sm: 0 1px 6px rgba(0,0,0,0.35);
    --shadow: 0 8px 24px rgba(0,0,0,0.45);
    --shadow-lg: 0 18px 40px rgba(0,0,0,0.55);
    --shadow-xl: 0 24px 64px rgba(0,0,0,0.65);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.7;
    background: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow-x: hidden;
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
    border-radius: var(--radius-md);
    font-weight: 600;
}

.skip-link:focus {
    top: 10px;
    left: 10px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

main, section, form {
    width: 100%;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

/* ===== MOBILE FORMATTING ===== */
html {
    scroll-padding-top: 90px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
        max-width: 480px;
        margin: 0 auto;
    }

    .container, main, section, form {
        width: 100%;
        max-width: 480px;
        margin-inline: auto;
        padding-inline: 1.25rem;
        box-sizing: border-box;
    }

    h1, h2, h3, p, label {
        text-align: center;
    }

    input, textarea, button {
        width: 100%;
        box-sizing: border-box;
    }

    .info-card, .business-info-card {
        width: 100%;
        margin-inline: auto;
    }

    .btn-small {
        margin-inline: auto;
        display: block;
    }

    section,
    .why-us-section,
    .featured-section,
    .updates-section,
    .testimonials-section,
    .professional-cta-bar,
    .reviews-section,
    .about-section,
    .menu-section,
    .contact-section {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }
}

@media (max-width: 480px) {
    html {
        scroll-padding-top: 80px;
    }

    body > * {
        margin-inline: auto;
    }

    .info-section, .contact-section, .contact-form-wrapper, .business-profile-wrapper, .business-info-card, .info-item {
        text-align: center;
    }

    .contact-grid, .business-info-card, .info-item {
        justify-items: center;
    }

    .contact-form, .form-group, .contact-form-wrapper, .business-info-card, .info-item, .info-item div, .info-item p, .info-item a, .info-item h4, .info-card, .link-arrow, .btn, .btn-secondary, .btn-small {
        width: 100%;
        max-width: 100%;
        text-align: center;
        margin-inline: auto;
    }

    .contact-section h2, .contact-section p, .business-profile-wrapper h3, .info-item h4, .info-item p, .info-item a, .info-card h3, .info-card p, .link-arrow {
        text-align: center;
    }

    input, textarea, .form-field, .input-field, button[type="submit"], .submit-btn, .send-btn, .btn, .btn-primary, .btn-secondary, .btn-small {
        width: 100%;
        box-sizing: border-box;
        max-width: 100%;
        text-align: center;
        margin-inline: auto;
    }

    .info-item a, .info-item button, .link-arrow {
        display: inline-block;
        margin-inline: auto;
    }
}

        text-align: center;
    }

    .info-card {
        width: 100%;
        margin-inline: auto;
    }

    .info-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .info-card a,
    .info-card button {
        display: inline-block;
        margin-inline: auto;
    }
}

.menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.menu-grid {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.features-grid {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
}

.info-grid {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(251, 248, 243, 0.82);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border-bottom: 1px solid rgba(251, 248, 243, 0.55);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
    background: rgba(251, 248, 243, 0.94);
    border-bottom-color: rgba(251, 248, 243, 0.75);
    backdrop-filter: blur(18px) saturate(180%);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
}

[data-theme="dark"] .navbar {
    background: rgba(28, 25, 23, 0.78);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(28, 25, 23, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: var(--space-xs);
}

.navbar-toggle span {
    width: 28px;
    height: 2.5px;
    background: var(--primary-color);
    transition: all var(--transition-base);
    border-radius: var(--radius-full);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-menu-cta {
    display: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.955rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    transition: color var(--transition-base), transform var(--transition-base);
    position: relative;
    padding: 6px 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-menu-cart {
    display: none;
}

.nav-cart-button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    transition: all var(--transition-base);
    min-height: 48px;
    min-width: 48px;
}

.nav-cart-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: width var(--transition-base), left var(--transition-base);
    border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
    left: 0;
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.navbar-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.cart-button {
    position: relative;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

/* Make cart button more visible on mobile */
@media (max-width: 768px) {
    .cart-button {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
        box-shadow: 0 6px 18px rgba(90, 51, 34, 0.35);
        border: 3px solid var(--accent-color);
    }

    .cart-button:hover {
        transform: scale(1.08);
        box-shadow: 0 10px 24px rgba(90, 51, 34, 0.45);
    }

    .cart-count {
        width: 26px;
        height: 26px;
        font-size: 0.8rem;
        top: -6px;
        right: -6px;
    }
}

@media (max-width: 480px) {
    .cart-button {
        width: 60px;
        height: 60px;
        font-size: 1.4rem;
    }
}

.cart-button:hover {
    background: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.cart-button:focus,
.cart-button:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.1);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #e74c3c;
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.theme-toggle {
    position: relative;
    background: var(--light-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.theme-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow);
}

.theme-toggle:focus,
.theme-toggle:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.1);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('images/rmc-collage-v3-bright.jpg') center top / cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
    transition: background-image 1.2s ease-in-out;
    padding-top: 80px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 0%, rgba(20, 12, 6, 0.1) 70%, rgba(20, 12, 6, 0.12) 100%),
        linear-gradient(180deg, rgba(20, 12, 6, 0.12) 0%, rgba(55, 35, 20, 0.08) 50%, rgba(80, 50, 30, 0.12) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.08);
    z-index: 0;
    backdrop-filter: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    width: 100%;
    padding: var(--space-lg);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.4)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    }
    50% {
        filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.5)) drop-shadow(0 2px 12px rgba(0, 0, 0, 0.3));
    }
}

/* Brand Badge */
.hero-brand {
    margin-bottom: var(--space-xl);
    display: inline-flex;
}

.hero-brand-text {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    opacity: 0.95;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.55rem 1.4rem;
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px) saturate(160%);
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.32);
    box-shadow:
        0 4px 16px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.18);
    transition: all var(--transition-base);
}

.hero-brand:hover .hero-brand-text {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow:
        0 8px 28px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.22);
}

/* Hero Title */
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 5.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: var(--space-sm);
    letter-spacing: 0.025em;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFCC99 20%, #FFA726 40%, #FF9800 60%, #FFA726 80%, #FFFFFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.65)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
    font-feature-settings: "liga" 1, "calt" 1, "ss01" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-variant-ligatures: common-ligatures discretionary-ligatures;
    animation: titleGlow 3s ease-in-out infinite;
    overflow-wrap: anywhere;
}

[data-theme="dark"] .hero-title {
    background: linear-gradient(135deg, #FFFFFF 0%, #FFD6A6 25%, #FFB74D 50%, #FFD6A6 80%, #FFFFFF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.85)) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.7));
}

[data-theme="dark"] .hero-tagline {
    color: var(--text-color);
    opacity: 0.92;
}

/* Decorative Accent */
.hero-accent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.hero-accent-line {
    width: 72px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
}

.hero-accent-icon {
    font-size: 1.6rem;
    opacity: 0.95;
    filter: drop-shadow(0 0 8px rgba(255, 200, 140, 0.35));
}

/* Hero Tagline */
.hero-tagline {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 500;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

/* Hours Badge */
.hero-hours-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.28) 0%, rgba(34, 197, 94, 0.12) 100%);
    padding: 0.65rem 1.6rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-xl);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    border: 1px solid rgba(34, 197, 94, 0.5);
    box-shadow:
        0 10px 28px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.22);
    transition: all var(--transition-base);
}

.hero-hours-badge:hover {
    transform: translateY(-3px);
    box-shadow:
        0 16px 36px rgba(0,0,0,0.35),
        inset 0 1px 0 rgba(255,255,255,0.24);
    border-color: rgba(34, 197, 94, 0.7);
}

.hours-dot {
    width: 9px;
    height: 9px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.6);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hours-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    opacity: 0.95;
}

/* Social Proof */
.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

.social-proof-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    background: rgba(255,255,255,0.1);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(8px) saturate(140%);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    transition: all var(--transition-base);
}

.social-proof-item:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.social-proof-icon {
    font-size: 1rem;
    letter-spacing: 0.05em;
}

.social-proof-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.95;
    letter-spacing: 0.01em;
}

.social-proof-separator {
    font-size: 0.8rem;
    opacity: 0.45;
}

/* Hero CTA */
.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
    padding-bottom: 70px;
}

.btn-large {
    padding: 22px 56px;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #fff 0%, #fdf3e5 40%, #fce7d0 100%);
    color: var(--primary-dark);
    border: none;
    box-shadow:
        0 18px 40px rgba(0,0,0,0.28),
        0 0 0 0 rgba(139, 69, 19, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-large::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(139, 69, 19, 0.08) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn-large:hover {
    transform: translateY(-5px);
    box-shadow:
        0 26px 52px rgba(0,0,0,0.34),
        0 0 0 12px rgba(139, 69, 19, 0.14);
}

.btn-large:hover::after {
    opacity: 1;
}

.btn-large:active {
    transform: translateY(-1px);
    box-shadow:
        0 12px 26px rgba(0,0,0,0.28),
        0 0 0 6px rgba(139, 69, 19, 0.18);
}

.hero-cta-secondary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    max-width: 640px;
    width: 100%;
}

.hero-cta-secondary .btn {
    padding: 14px 28px;
    font-size: 1rem;
    gap: var(--space-sm);
}

.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.7;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    animation: bounce 2s infinite;
    cursor: pointer;
    transition: opacity var(--transition-base);
}

.scroll-indicator:hover {
    opacity: 1;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-15px); }
    60% { transform: translateX(-50%) translateY(-8px); }
}

/* ===== BUTTONS ===== */
.btn {
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition:
        transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.26s ease,
        background-color 0.26s ease,
        color 0.26s ease,
        border-color 0.26s ease;
    border: 2px solid transparent;
    cursor: pointer;
    letter-spacing: 0.03em;
    will-change: transform;
    position: relative;
    overflow: hidden;
}

.btn:focus,
.btn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.12);
}

.btn-primary {
    background: linear-gradient(135deg, #fff 0%, #fdf3e5 45%, #fce7d0 100%);
    color: var(--primary-dark);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow:
        0 16px 34px rgba(0,0,0,0.22),
        0 0 0 0 rgba(139, 69, 19, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #fff 0%, #fef4e8 55%, #fbe3c8 100%);
    color: var(--primary-dark);
    transform: translateY(-4px);
    box-shadow:
        0 24px 50px rgba(0,0,0,0.28),
        0 0 0 12px rgba(139, 69, 19, 0.16);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 32px rgba(0,0,0,0.24), 0 0 0 0 rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    transform: translateY(-4px);
    box-shadow:
        0 22px 46px rgba(0,0,0,0.32),
        0 0 0 12px rgba(255, 255, 255, 0.08);
}

.btn-accent {
    background: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    box-shadow: 0 14px 30px rgba(0,0,0,0.22);
}

.btn-accent:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ===== INFO SECTION ===== */
.info-section {
    padding: var(--space-2xl) 0 var(--space-3xl);
    background: var(--white);
}

@media (max-width: 768px) {
    .info-section {
        padding: var(--space-xl) 0;
    }

    .info-grid {
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    html {
        scroll-padding-top: 80px;
    }

    body > * {
        margin-inline: auto;
    }

    .info-section {
        text-align: center;
    }

    .info-card {
        width: 100%;
        margin-inline: auto;
        text-align: center;
    }

    .info-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .info-card a,
    .info-card button {
        display: inline-block;
        margin-inline: auto;
    }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.info-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.info-card i {
    font-size: 2.75rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 4px 6px rgba(90, 51, 34, 0.15));
}

.info-card h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin-bottom: var(--space-md);
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.info-card p {
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.6;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-base);
}

.info-card a:hover {
    color: var(--secondary-color);
}

.link-arrow {
    display: inline-block;
    margin-top: var(--space-sm);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color var(--transition-base);
}

.link-arrow:hover {
    color: var(--secondary-color);
}

.text-muted {
    color: var(--light-text);
    font-size: 0.9rem;
}

/* ===== SECTIONS ===== */
section {
    padding: var(--space-3xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.section-header p {
    color: var(--text-muted);
    font-size: clamp(1rem, 2vw, 1.15rem);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== MENU SECTION ===== */
.menu-section {
    background: var(--light-bg);
    position: relative;
    padding: var(--space-3xl) 0;
    animation: slideInUp 0.8s ease-out;
}

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

.menu-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('images/IMG_3322.png'),
        url('images/IMG_3355.png');
    background-position: left center, right center;
    background-size: contain, contain;
    background-repeat: no-repeat, no-repeat;
    background-attachment: fixed;
    opacity: 0.3;
    z-index: 0;
}

.menu-section > .container {
    position: relative;
    z-index: 1;
}

.coffee-bags-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    background: #d94b1b;
    color: #fff;
    font-weight: 700;
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    text-decoration: none;
    margin: 0 auto var(--space-lg);
    max-width: 420px;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .menu-tabs {
        gap: var(--space-xs);
        margin-bottom: var(--space-xl);
    }

    /* Ensure merchandise tab items display properly on mobile */
    #merchandise-tab .menu-grid {
        grid-template-columns: 1fr;
    }

    #merchandise-tab .menu-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    #merchandise-tab .menu-item img {
        max-width: 200px;
        height: auto;
    }

    #merchandise-tab .menu-item-footer {
        width: 100%;
        justify-content: space-between;
    }
}

.menu-full-image {
    margin: var(--space-lg) auto var(--space-2xl);
    max-width: 1100px;
    text-align: center;
}

.menu-full-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.menu-placeholder {
    display: none;
    padding: var(--space-2xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
    color: var(--text-muted);
}

.order-hint {
    text-align: center;
    font-size: clamp(1.35rem, 3.2vw, 1.8rem);
    font-weight: 700;
    color: #d94b1b;
    margin: var(--space-lg) 0 var(--space-xl);
    letter-spacing: 0.02em;
}

.section-header p.order-hint {
    color: #d94b1b;
    font-size: clamp(1.35rem, 3.2vw, 1.8rem);
    max-width: none;
}

.menu-tab {
    background: var(--white);
    border: 2px solid var(--border-color);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-color);
    min-height: 48px;
}

@media (max-width: 768px) {
    .menu-tab {
        padding: 10px 20px;
        font-size: 0.85rem;
        min-height: 44px;
    }
}

.menu-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.menu-tab:focus,
.menu-tab:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.menu-tab.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.menu-tab i {
    font-size: 1.1rem;
}

.menu-content {
    min-height: 400px;
}

.menu-tab-content {
    display: none;
    animation: fadeIn var(--transition-base) ease;
}

.menu-tab-content.active {
    display: block;
}

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

.menu-category-header {
    grid-column: 1 / -1;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--border-color);
}

.menu-item {
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.menu-item:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.menu-item:hover::before {
    opacity: 1;
}

.menu-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.menu-item .flavor-select {
    width: 100%;
    margin-top: var(--space-xs);
    margin-bottom: var(--space-sm);
    padding: 0.6rem 0.75rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-color);
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--primary-color) 50%), linear-gradient(135deg, var(--primary-color) 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1px + 50%), calc(100% - 15px) calc(1px + 50%);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.menu-item p {
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
    font-size: 0.95rem;
}

.menu-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--border-color);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    contain: layout style paint;
}

.price {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
    letter-spacing: -0.01em;
}

.btn-add-cart {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    min-height: 44px;
    min-width: 44px;
    box-shadow: 0 6px 18px rgba(90, 51, 34, 0.25);
}

.btn-add-cart:hover {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-light) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 26px rgba(90, 51, 34, 0.35);
}

.btn-add-cart:focus,
.btn-add-cart:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(139, 69, 19, 0.12);
}


/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--white);
    padding: var(--space-3xl) 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.feature-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-color);
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
}

.feature-card i {
    font-size: 2.6rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 4px 8px rgba(90, 51, 34, 0.18));
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

.gallery-section {
    margin-top: var(--space-3xl);
}

.gallery-section h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--primary-color);
    text-align: center;
    margin-bottom: var(--space-xl);
    font-weight: 600;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.gallery-item-desktop {
    display: block;
}

.gallery-item-mobile {
    display: block;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light-bg);
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--light-text);
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: var(--space-sm);
}

.product-gallery-section {
    background: linear-gradient(180deg, var(--off-white) 0%, var(--light-bg) 100%);
    padding: var(--space-3xl) 0;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
    max-width: 1100px;
    margin: 0 auto;
}

.product-gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--light-bg);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.product-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.product-gallery-item:hover img {
    transform: scale(1.08);
}

.product-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    padding: 0.75rem;
    background: linear-gradient(0deg, rgba(20, 12, 6, 0.65) 0%, rgba(20, 12, 6, 0) 100%);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    pointer-events: none;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-base);
}
.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}
.lightbox-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}
.lightbox-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}
.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    background: var(--light-bg);
    padding: var(--space-2xl) 0 var(--space-3xl);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.review-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all var(--transition-base);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.review-card:hover::before {
    opacity: 1;
}

.stars {
    color: #FFD700;
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.7;
    font-family: var(--font-body);
}

.review-author {
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.reviews-cta {
    text-align: center;
}

.reviews-cta p {
    color: var(--text-muted);
}

.reviews-cta a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color var(--transition-base);
}

.reviews-cta a:hover {
    color: var(--secondary-color);
}

/* ===== UPDATES SECTION ===== */
.updates-section {
    background: var(--white);
    padding: var(--space-2xl) 0;
}

.updates-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.social-link {
    background: var(--light-bg);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
    border: 1px solid var(--border-color);
}

.social-link i {
    font-size: 3rem;
    color: #1877f2;
    margin-bottom: var(--space-md);
}

.social-link h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.social-link p {
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.updates-note {
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--light-bg);
    padding: var(--space-3xl) 0 var(--space-3xl);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-body);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-base);
    background: var(--off-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-status {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-weight: 600;
    display: none;
}

.form-status.success {
    display: block;
    background: #d4edda;
    color: #155724;
}

.form-status.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

/* ===== CART MODAL ===== */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.cart-modal.active {
    display: flex;
}

.cart-modal-content {
    background: var(--white);
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--border-color);
}

.cart-modal-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: var(--primary-color);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    text-align: center;
    color: var(--light-text);
    padding: 40px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    color: var(--text-color);
}

.cart-item-qty {
    color: var(--light-text);
    font-size: 0.9rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
}

.cart-totals {
    padding: 20px;
    border-top: 2px solid var(--border-color);
}

.total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: var(--light-text);
}

.total-line.total {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.cart-actions {
    padding: 20px;
    border-top: 2px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== CHECKOUT MODAL ===== */
.checkout-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.checkout-modal.active {
    display: flex;
}

.checkout-modal-content {
    background: var(--white);
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid var(--border-color);
}

.checkout-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

.close-checkout {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light-text);
    transition: color 0.3s ease;
}

.close-checkout:hover {
    color: var(--primary-color);
}

.order-type-selector {
    display: flex;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
}

.order-type-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--border-color);
    background: var(--white);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.order-type-btn:hover {
    border-color: var(--primary-color);
}

.order-type-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.checkout-form {
    padding: 20px;
}

.checkout-form.hidden {
    display: none;
}

.checkout-form h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.info-box {
    background: #e3f2fd;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-box i {
    color: #1976d2;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.order-summary {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.order-summary h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--light-text);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid var(--border-color);
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.payment-section {
    margin: 20px 0;
}

.payment-section h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.error-message {
    color: #e74c3c;
    margin-top: 10px;
    font-weight: 600;
}

.doordash-note {
    color: var(--light-text);
    font-style: italic;
    text-align: center;
    margin: 15px 0;
}

.cart-link {
    text-align: center;
    margin-top: 15px;
}

.cart-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.cart-link a:hover {
    text-decoration: underline;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, #2c3e50 0%, #1a252f 100%);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: var(--space-md);
    color: var(--accent-color);
    font-weight: 600;
}

.footer-column p {
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.footer-column a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-column a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-links a {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-bottom a:hover {
    color: var(--white);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .navbar-container {
        padding: var(--space-sm) var(--space-md);
    }

    .nav-menu {
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left var(--transition-base);
        gap: var(--space-md);
        padding: var(--space-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .navbar-actions {
        display: none;
    }

    .nav-menu-cta {
        display: block;
        margin-top: var(--space-md);
    }

    .nav-menu-cart {
        display: block;
        margin-top: var(--space-lg);
    }

    .nav-menu-cta .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .nav-menu-active-text {
        display: inline-block;
    }

    .nav-menu-text {
        display: none;
    }

    .hero {
        min-height: 600px;
        min-height: 100dvh;
        min-height: 100vh;
        background-image: url('images/rmc-mobile-collage-coffee-top.jpg');
        background-attachment: scroll;
        background-size: cover;
        background-position: center 30%;
        padding-top: 0px;
    }

    .hero-content {
        padding: var(--space-md);
        margin-top: 90px;
    }

    .hero-brand-text {
        font-size: 0.65rem;
        padding: 0.3rem 0.8rem;
    }

    .hero-title {
        font-size: clamp(2.25rem, 8vw, 3rem);
    }

    .hero-accent {
        margin-bottom: var(--space-lg);
    }

    .hero-accent-line {
        width: 40px;
    }

    .hero-tagline {
        font-size: clamp(1rem, 3vw, 1.25rem);
        margin-bottom: var(--space-lg);
    }

    .hero-hours-badge {
        padding: 0.4rem 1rem;
        margin-bottom: var(--space-lg);
    }

    .hours-text {
        font-size: 0.8rem;
    }

    .hero-social-proof {
        flex-direction: column;
        gap: var(--space-sm);
        margin-bottom: var(--space-xl);
    }

    .social-proof-separator {
        display: none;
    }

    .hero-cta {
        gap: var(--space-md);
    }

    .btn-large {
        padding: 18px 36px;
        font-size: 1.1rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        width: 100%;
        max-width: 280px;
        box-shadow: 0 16px var(--shadow-lg), 0 0 0 0 rgba(139, 69, 19, 0.45);
    }

    .menu-grid,
    .features-grid,
    .reviews-grid,
    .gallery-grid,
    .info-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .cart-modal-content,
    .checkout-modal-content {
        width: 95%;
        max-height: 85vh;
    }

    .container {
        padding: 0 var(--space-md);
    }
}

@media (max-width: 480px) {
    .navbar-container {
        padding: var(--space-sm) var(--space-md);
    }

    .logo-text {
        font-size: 1.1rem;
    }

    .nav-link {
        font-size: 1.3rem;
        font-weight: 600;
        padding: var(--space-sm) 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-hours {
        font-size: 0.9rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .menu-tabs {
        flex-direction: column;
        align-items: center;
    }

    .menu-tab {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .contact-form {
        padding: var(--space-lg);
    }

    .btn {
        padding: 12px 24px;
    }

    .info-card,
    .feature-card,
    .menu-item,
    .review-card {
        padding: var(--space-lg);
    }

    .info-card {
        padding: var(--space-md);
    }

    .info-card i {
        font-size: 2rem;
        margin-bottom: var(--space-sm);
    }

    .info-card h3 {
        font-size: 1.2rem;
        margin-bottom: var(--space-sm);
    }

    .info-card p {
        font-size: 0.95rem;
    }

    .info-card a {
        display: inline-block;
        padding: 8px 16px;
        min-height: 44px;
        min-width: 44px;
    }

    .menu-item {
        padding: var(--space-md);
    }

    .menu-item h4 {
        font-size: 1.1rem;
    }

    .menu-item p {
        font-size: 0.9rem;
    }

    .menu-item-footer {
        margin-top: var(--space-sm);
    }

    .btn-add-cart {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    .gallery-item-desktop {
        display: none;
    }

    .gallery-item-mobile {
        display: block;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .review-card {
        padding: var(--space-md);
    }

    .review-text {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .review-author {
        font-size: 0.9rem;
    }

    .stars {
        font-size: 0.9rem;
        margin-bottom: var(--space-sm);
    }

    .contact-form {
        padding: var(--space-lg);
    }

    .form-group input,
    .form-group textarea {
        padding: 14px 16px;
        font-size: 1rem;
        min-height: 48px;
    }

    .form-group textarea {
        min-height: 120px;
    }

    .contact-form button {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 48px;
    }

    .footer-column {
        padding: var(--space-md) 0;
    }

    .footer-column h4 {
        font-size: 1.1rem;
    }

    .footer-column p {
        font-size: 0.9rem;
    }

    .footer-column a {
        font-size: 0.9rem;
        padding: 8px 0;
        display: block;
        min-height: 44px;
    }

    .social-links {
        flex-direction: row;
        gap: var(--space-md);
    }

    .social-links a {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Additional hero optimizations for small phones */
    .hero-brand-text {
        font-size: 0.6rem;
        padding: 0.3rem 0.7rem;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.5rem);
        line-height: 1.1;
    }

    .hero-tagline {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem);
    }

    .hero-hours-badge {
        padding: 0.35rem 0.9rem;
    }

    .hours-text {
        font-size: 0.75rem;
    }

    .social-proof-text {
        font-size: 0.85rem;
    }

    .hero-cta {
        gap: var(--space-sm);
    }

    .btn-large {
        padding: 18px 36px;
        font-size: 1.1rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        box-shadow: 0 16px var(--shadow-lg), 0 0 0 0 rgba(139, 69, 19, 0.45);
    }

    .btn-large:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28), 0 0 0 6px rgba(139, 69, 19, 0.18);
    }

    .hero-cta-secondary .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
/* ===== LAZY LOADING ===== */
img[data-src] {
    background: linear-gradient(90deg, var(--warm-gray) 25%, transparent 25%, transparent 50%, var(--warm-gray) 50%, var(--warm-gray) 75%, transparent 75%, transparent) 0 0;
    background-size: 40px 40px;
    background-color: var(--light-bg);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 40px 40px;
    }
}

img.lazy-loaded {
    animation: fadeInImage 0.3s ease-in;
}

@keyframes fadeInImage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ===== RENDERING PERFORMANCE ===== */
/* Hint browser to skip offscreen layout work for major sections */
.why-us-section,
.menu-section,
.about-section,
.reviews-section,
.updates-section,
.newsletter-section,
.contact-section,
.featured-section,
.testimonials-section,
.professional-cta-bar {
    content-visibility: auto;
}

/* ===== Print styles for better printing experience ===== */
@media print {
    .navbar,
    .cart-modal,
    .theme-toggle,
    .hero-cta {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        text-decoration: underline;
    }
    
    .menu-item {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* ===== BATCH 1: ENHANCED FEATURES ===== */

/* ===== DARK MODE TOGGLE ENHANCEMENT ===== */
.theme-toggle {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--warm-gray) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.theme-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(139, 69, 19, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    border-radius: 50%;
}

.theme-toggle:hover::before {
    width: 200%;
    height: 200%;
}

.theme-toggle i {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: inline-block;
}

.theme-toggle:hover i {
    transform: rotate(30deg) scale(1.2);
}

.theme-toggle:active i {
    transform: rotate(60deg) scale(0.95);
}

/* Dark mode specific styling */
[data-theme="dark"] .theme-toggle {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
}

[data-theme="dark"] .theme-toggle:hover {
    background: linear-gradient(135deg, #3d3d3d 0%, #2a2a2a 100%);
}

/* ===== ENHANCED ANIMATIONS ===== */

/* Menu items entrance animation */
.menu-item {
    animation: slideInItem 0.6s ease-out backwards;
}

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

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-item:nth-child(n+5) { animation-delay: 0.5s; }

/* Feature card animations */
.feature-card {
    animation: fadeInScale 0.7s ease-out backwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }

/* Review card animations */
.review-card {
    animation: slideInFromBottom 0.6s ease-out backwards;
}

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

.review-card:nth-child(1) { animation-delay: 0.1s; }
.review-card:nth-child(2) { animation-delay: 0.2s; }
.review-card:nth-child(3) { animation-delay: 0.3s; }

/* Button hover animation improvement */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.5), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    border-radius: 50%;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* Enhanced info card animation */
.info-card {
    animation: slideInInfo 0.6s ease-out backwards;
}

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

.info-card:nth-child(1) { animation-delay: 0.1s; }
.info-card:nth-child(2) { animation-delay: 0.2s; }
.info-card:nth-child(3) { animation-delay: 0.3s; }

/* ===== ENHANCED ONLINE ORDERING CTA ===== */

/* Prominent navbar CTA */
.navbar-cta {
    position: relative;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    animation: subtle-pulse 2s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { 
        transform: translateY(0) scale(1);
        box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    }
    50% { 
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 6px 20px rgba(139, 69, 19, 0.5);
    }
}

.navbar-cta:hover {
    animation: none;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.6);
}

.navbar-cta::after {
    content: '✦';
    display: inline-block;
    margin-left: 8px;
    animation: bounce-arrow 1s ease-in-out infinite;
}

@keyframes bounce-arrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(4px); }
}

/* Hero CTA enhancement */
.hero-cta .btn-primary {
    position: relative;
    background: linear-gradient(135deg, var(--white) 0%, var(--off-white) 100%);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: float-up 0.8s ease-out;
}

@keyframes float-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta .btn-primary:hover {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 100%);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* Navbar Order Now button */
.navbar-cta.btn-primary {
    background: #f4b942;
    color: #3b1f05;
    border-color: rgba(255,255,255,0.9);
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.navbar-cta.btn-primary:hover {
    background: #f7c968;
    transform: translateY(-4px);
}

/* Special CTA badge for delivery */
.hero-cta-secondary .btn::before {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 12px;
    height: 12px;
    background: #e74c3c;
    border-radius: 50%;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { 
        box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.7);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 0 8px rgba(231, 76, 60, 0);
        transform: scale(1.1);
    }
}

.hero-cta-secondary .btn::before {
    display: block;
}

/* Mobile responsiveness for enhanced features */
@media (max-width: 768px) {
    .navbar-cta {
        animation: none;
        box-shadow: 0 2px 10px rgba(139, 69, 19, 0.2);
    }

    .navbar-cta::after {
        display: none;
    }

    .hero-cta-secondary .btn::before {
        display: block;
    }
}

/* ===== SMOOTH TRANSITIONS FOR THEME ===== */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.25s ease, outline-color 0.2s ease;
}

input, textarea {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.25s ease, outline-color 0.2s ease;
}

a {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
}


/* ===== BATCH 2: NEWSLETTER, GOOGLE PROFILE, & ANALYTICS ===== */

/* ===== NEWSLETTER SECTION ===== */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: var(--space-3xl) 0;
    color: var(--white);
    animation: slideInFromSide 0.8s ease-out;
}

@keyframes slideInFromSide {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.newsletter-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.newsletter-text p {
    font-size: 1.05rem;
    opacity: 0.95;
    line-height: 1.6;
}

.newsletter-form {
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.newsletter-input-group {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.newsletter-input-group input {
    flex: 1;
    padding: 14px 20px;
    border: 2px solid var(--white);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 1rem;
    background: var(--white);
    color: var(--text-color);
    transition: all var(--transition-base);
}

.newsletter-input-group input::placeholder {
    color: var(--light-text);
}

.newsletter-input-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.newsletter-input-group .btn {
    padding: 14px 32px;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.newsletter-input-group .btn:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.newsletter-privacy {
    font-size: 0.85rem;
    opacity: 0.85;
}

.newsletter-status {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    display: none;
    font-weight: 600;
}

.newsletter-status.success {
    display: block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.newsletter-status.error {
    display: block;
    background: rgba(231, 76, 60, 0.3);
    color: var(--white);
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: var(--space-2xl) 0;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .section,
    .why-us-section,
    .about-section,
    .reviews-section,
    .updates-section,
    .testimonials-section,
    .social-feeds-section,
    .contact-section,
    .newsletter-section {
        padding-top: var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    .container {
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .business-profile-wrapper {
        padding: var(--space-lg);
    }

    .contact-section .container,
    .contact-grid {
        gap: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .newsletter-section {
        padding: var(--space-xl) 0;
    }

    .section,
    .why-us-section,
    .about-section,
    .reviews-section,
    .updates-section,
    .testimonials-section,
    .social-feeds-section,
    .contact-section {
        padding-top: var(--space-xl);
        padding-bottom: var(--space-2xl);
    }

    .section-header h2,
    .centered-heading {
        font-size: 1.5rem;
    }

    .section-header p,
    .centered-text {
        font-size: 0.9rem;
    }

    .business-profile-wrapper {
        margin-bottom: var(--space-xl);
        width: 100%;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-grid {
        width: 100%;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        grid-template-columns: 1fr;
    }

    .contact-section .container {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .centered-heading,
    .centered-text,
    .contact-form-wrapper,
    .business-profile-wrapper {
        text-align: center;
    }
}

/* ===== CONTACT SECTION LAYOUT ===== */
.contact-section .container {
    padding: var(--space-3xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
}

.contact-form-wrapper {
    animation: slideInFromLeft 0.8s ease-out;
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-form-wrapper .section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.contact-form-wrapper .section-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
}

@media (max-width: 480px) {
    .contact-form-wrapper .section-header {
        text-align: center;
    }
}

/* ===== FLOATING CART NOTIFICATION ===== */
.floating-cart-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: var(--white);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease-out;
    pointer-events: none;
}

.floating-cart-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.floating-cart-notification i {
    font-size: 1.5rem;
}

.floating-cart-notification .notification-text {
    font-weight: 600;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .floating-cart-notification {
        bottom: 20px;
        right: 20px;
        left: 20px;
        justify-content: center;
    }
}

/* ===== FLOATING CART FAB ===== */
#cart-fab {
    position: fixed;
    bottom: 24px;
    right: 20px;
    left: 20px;
    background-color: #5a2d0c;
    color: #fff;
    text-align: center;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

#cart-fab.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ===== BUSINESS PROFILE WRAPPER ===== */
.business-profile-wrapper {
    animation: slideInFromRight 0.8s ease-out;
    padding: var(--space-xl);
    background: var(--light-bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

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

.business-profile-wrapper h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
    font-weight: 700;
}

.business-info-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.info-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
}

.info-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: var(--accent-color);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    min-width: 30px;
    text-align: center;
    margin-top: 2px;
}

.info-item h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: var(--space-xs);
    font-weight: 600;
}

.info-item p {
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.info-item a {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color var(--transition-base);
}

.info-item a:hover {
    color: var(--secondary-color);
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
}

.status-badge.open {
    background: #d4edda;
    color: #155724;
}

.status-badge.closed {
    background: #f8d7da;
    color: #721c24;
}

.google-reviews-badge {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border-radius: var(--radius-md);
    border: 2px solid #FFD700;
}

.badge-stars {
    font-size: 1.2rem;
    color: #FFD700;
    white-space: nowrap;
}

.badge-text {
    flex: 1;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.badge-link {
    padding: 8px 16px;
    background: #1f2937;
    color: var(--white);
    border-radius: var(--radius-full);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.badge-link:hover {
    background: var(--primary-color);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .business-profile-wrapper {
        order: -1;
    }

    .contact-form-wrapper .section-header {
        text-align: center;
        margin-bottom: var(--space-lg);
    }

    .google-reviews-badge {
        flex-direction: column;
        text-align: center;
    }
}


/* ===== BATCH 3: SOCIAL FEEDS, IMAGE OPTIMIZATION, SERVICE WORKER ===== */

/* ===== ENHANCED SOCIAL FEEDS ===== */
.social-feeds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.social-link {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
    animation: slideUpFeed 0.6s ease-out backwards;
    position: relative;
    overflow: hidden;
}

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

.social-link:nth-child(1) { animation-delay: 0.1s; }
.social-link:nth-child(2) { animation-delay: 0.2s; }
.social-link:nth-child(3) { animation-delay: 0.3s; }

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link i {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.social-link.facebook-card i {
    color: #1877f2;
}

.social-link.instagram-card i {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.social-link.google-card i {
    color: #4285f4;
}

.social-link:hover i {
    transform: scale(1.15) rotate(10deg);
}

.social-link h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.social-link p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
}

.social-link .btn {
    margin-bottom: var(--space-lg);
    width: 100%;
}

.social-link:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.social-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-item i {
    font-size: 1rem;
    margin: 0;
}

/* ===== IMAGE OPTIMIZATION - WEBP SUPPORT ===== */
picture {
    display: block;
}

/* Picture elements for responsive images with WebP */
picture img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gallery images with picture element support */
.gallery-item picture {
    width: 100%;
    height: 100%;
    display: block;
}

.gallery-item picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Menu item images with WebP */
.menu-item picture,
.menu-item > img {
    width: 100%;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: block;
}

.menu-item picture img,
.menu-item > img {
    width: 100%;
    height: auto;
    display: block;
}

/* Optimized image loading indicator */
img[loading="lazy"] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Critical images - eager loading */
.hero-section img,
.logo-image {
    loading: eager;
    decoding: async;
}

/* Non-critical images - lazy loading */
.gallery-item img,
.menu-item img,
.review-card img {
    loading: lazy;
    decoding: async;
}

/* ===== SERVICE WORKER SUPPORT ===== */
.offline-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #e74c3c;
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
    z-index: 9999;
    animation: slideInOffline 0.3s ease-out;
}

.offline-indicator.show {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.offline-indicator.online {
    background: #27ae60;
}

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

.offline-indicator i {
    font-size: 1.1rem;
}

/* Disable interactions when offline */
body.offline .btn,
body.offline form input,
body.offline form textarea {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .social-feeds-grid {
        grid-template-columns: 1fr;
    }

    .social-stats {
        flex-wrap: wrap;
        gap: var(--space-md);
    }
}


/* ===== PROFESSIONAL BUSINESS ENHANCEMENTS ===== */

/* ===== WHY CHOOSE US SECTION ===== */
.why-us-section {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-bg) 100%);
    padding: var(--space-3xl) 0;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.why-us-card {
    background: var(--white);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    animation: slideInCard 0.7s ease-out backwards;
}

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

.why-us-card:nth-child(1) { animation-delay: 0.1s; }
.why-us-card:nth-child(2) { animation-delay: 0.2s; }
.why-us-card:nth-child(3) { animation-delay: 0.3s; }
.why-us-card:nth-child(4) { animation-delay: 0.4s; }
.why-us-card:nth-child(5) { animation-delay: 0.5s; }
.why-us-card:nth-child(6) { animation-delay: 0.6s; }

.why-us-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-us-card:hover::before {
    transform: scaleX(1);
}

.why-us-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    display: block;
    letter-spacing: 0.02em;
}

.why-us-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: var(--space-md);
    display: block;
    transition: all var(--transition-base);
}

.why-us-card:hover i {
    color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
}

.why-us-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
    font-weight: 700;
}

.why-us-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .why-us-section {
        padding: var(--space-3xl) 0;
    }

    .why-us-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--space-lg);
    }

    .stat-number {
        font-size: 2rem;
    }

    .why-us-card {
        padding: var(--space-lg);
    }
}


/* ===== FEATURED ITEMS SECTION ===== */
.featured-section {
    background: var(--white);
    padding: var(--space-3xl) 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.featured-card {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--off-white) 100%);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all var(--transition-base);
    animation: slideInFeatured 0.6s ease-out backwards;
}

@keyframes slideInFeatured {
    from {
        opacity: 0;
        transform: translateY(20px) rotateY(-5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotateY(0);
    }
}

.featured-card:nth-child(1) { animation-delay: 0.1s; }
.featured-card:nth-child(2) { animation-delay: 0.2s; }
.featured-card:nth-child(3) { animation-delay: 0.3s; }

.featured-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    animation: rotateBadge 2s ease-in-out infinite;
}

@keyframes rotateBadge {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(2deg); }
}

.featured-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: block;
    animation: float 3s ease-in-out infinite;
}

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

.featured-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.featured-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
    font-weight: 700;
}

.featured-card p {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    font-size: 0.95rem;
}

.featured-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.featured-price .original {
    text-decoration: line-through;
    color: var(--light-text);
    font-size: 0.9rem;
}

.featured-price .discount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

/* ===== TESTIMONIALS CAROUSEL ===== */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: var(--space-3xl) 0;
    color: var(--white);
}

.testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.testimonial-item {
    background: rgba(255, 255, 255, 0.12);
    padding: var(--space-2xl);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
    animation: slideInTestimonial 0.7s ease-out backwards;
}

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

.testimonial-item:nth-child(1) { animation-delay: 0.1s; }
.testimonial-item:nth-child(2) { animation-delay: 0.2s; }
.testimonial-item:nth-child(3) { animation-delay: 0.3s; }

.testimonial-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: var(--space-md);
    letter-spacing: 0.1em;
}

.testimonial-quote {
    font-style: italic;
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}


.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 0.9rem;
}

.testimonial-author strong {
    color: var(--white);
    font-weight: 700;
}

.testimonial-author span {
    opacity: 0.85;
    font-size: 0.85rem;
}

/* ===== PROFESSIONAL CTA BAR ===== */
.professional-cta-bar {
    background: var(--off-white);
    padding: var(--space-2xl) 0;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-xl);
}

.cta-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    animation: slideInCTA 0.5s ease-out backwards;
    box-shadow: var(--shadow-sm);
}

@keyframes slideInCTA {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cta-item:nth-child(1) { animation-delay: 0.1s; }
.cta-item:nth-child(2) { animation-delay: 0.2s; }
.cta-item:nth-child(3) { animation-delay: 0.3s; }
.cta-item:nth-child(4) { animation-delay: 0.4s; }

.cta-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--off-white) 0%, var(--light-bg) 100%);
}

.cta-item i {
    font-size: 2rem;
    color: var(--primary-color);
    min-width: 50px;
    text-align: center;
    filter: drop-shadow(0 2px 4px rgba(90, 51, 34, 0.18));
}

.cta-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary-color);
    margin: 0;
    font-weight: 700;
}

.cta-item a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color var(--transition-base);
    margin-top: 2px;
}

.cta-item:hover a {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-carousel {
        grid-template-columns: 1fr;
    }
}



/* ===== FLOATING CART FAB ===== */
.cart-fab {
  position: fixed;
  bottom: 18px;
  left: 12px;
  right: 12px;
  background-color: #5a2d0c;
  color: #ffffff;
  text-align: center;
  padding: 15px 24px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  transform: translateY(0);
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-wrap: nowrap;
}

.cart-fab.hidden {
  opacity: 0;
  transform: translateY(80px);
  pointer-events: none;
}

.cart-fab-badge {
  background: #ffffff;
  color: #5a2d0c;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  #cart-fab {
    padding: 14px 18px;
    font-size: 0.95rem;
    left: 10px;
    right: 10px;
    bottom: 16px;
    gap: 8px;
  }
}

/* CONTACT + VISIT MOBILE FIX */
@media (max-width: 480px) {
  #contact,
  #visit {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  #contact .container,
  #visit .container {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  #contact .section-header,
  #contact .contact-form-wrapper,
  #visit .business-profile-wrapper,
  #contact .contact-form {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
  #contact .contact-form,
  #contact .form-group {
    width: 100%;
    max-width: 100%;
  }
  #contact input,
  #contact textarea,
  #contact button[type="submit"],
  #visit .btn,
  #visit a {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    text-align: center;
    display: block;
  }
  #visit .info-item {
    text-align: center;
    justify-items: center;
  }
  #visit .info-item > * {
    text-align: center;
  }
  #visit a {
    display: inline-block;
  }
}

.centered-heading,
.centered-text {
    display: block;
    text-align: center;
    width: 100%;
}

@media (max-width: 480px) {
    .contact-grid {
        display: block;
    }
    .contact-form-wrapper {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
}
