/* ============================================
   JUMPY MONKEY COFFEE BAR — STYLESHEET
   Bold editorial design · Teal + Slate palette
   ============================================ */

/* ---- CSS Custom Properties ---- */
:root {
    --color-teal-50: #f0fdfa;
    --color-teal-100: #ccfbf1;
    --color-teal-200: #99f6e4;
    --color-teal-500: #14b8a6;
    --color-teal-600: #0d9488;
    --color-teal-700: #0f766e;
    --color-teal-800: #115e59;
    --color-teal-900: #134e4a;
    
    --color-slate-50: #f8fafc;
    --color-slate-100: #f1f5f9;
    --color-slate-200: #e2e8f0;
    --color-slate-300: #cbd5e1;
    --color-slate-400: #94a3b8;
    --color-slate-500: #64748b;
    --color-slate-600: #475569;
    --color-slate-700: #334155;
    --color-slate-800: #1e293b;
    --color-slate-900: #0f172a;
    --color-slate-950: #020617;
    
    --color-cream: #faf9f6;
    --color-warm-white: #fefcf7;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 8rem;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 20px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 10px 40px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.15);
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-slate-800);
    background-color: var(--color-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-teal-700);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-teal-600);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ---- Typography ---- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal-600);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-slate-900);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-slate-500);
    max-width: 560px;
    line-height: 1.7;
}

.lead {
    font-size: 1.15rem;
    color: var(--color-slate-600);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--color-teal-700);
    color: #ffffff;
    border-color: var(--color-teal-700);
}

.btn-primary:hover {
    background-color: var(--color-teal-800);
    border-color: var(--color-teal-800);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1rem;
}

/* ---- Navbar ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-slate-200);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--color-slate-900);
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-slate-600);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--color-teal-700);
}

/* Mobile menu button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-slate-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero Section ---- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-slate-900);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/4173317/pexels-photo-4173317.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(2, 6, 23, 0.55) 0%,
        rgba(2, 6, 23, 0.7) 50%,
        rgba(2, 6, 23, 0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    max-width: 860px;
}

.hero-eyebrow {
    color: var(--color-teal-200);
    margin-bottom: var(--space-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: var(--space-md);
}

.hero-headline em {
    font-style: italic;
    color: var(--color-teal-200);
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-slate-300);
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-slate-400);
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

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

/* ---- About Section ---- */
.about {
    padding: var(--space-3xl) 0;
    background-color: var(--color-cream);
}

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

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.about-content p {
    color: var(--color-slate-600);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
}

.about-stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-slate-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-teal-700);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-slate-500);
    font-weight: 500;
}

/* ---- Menu Section ---- */
.menu {
    padding: var(--space-3xl) 0;
    background-color: var(--color-slate-900);
}

.menu .section-eyebrow {
    color: var(--color-teal-300);
}

.menu .section-title {
    color: #ffffff;
}

.menu .section-subtitle {
    color: var(--color-slate-400);
}

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

.menu-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.menu-category {
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: all 0.3s ease;
}

.menu-category:hover {
    background-color: rgba(255, 255, 255, 0.07);
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateY(-4px);
}

.category-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.category-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--space-md);
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.menu-list li {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.menu-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item-name {
    font-weight: 600;
    color: var(--color-slate-100);
    font-size: 1rem;
}

.menu-item-desc {
    font-size: 0.875rem;
    color: var(--color-slate-400);
    line-height: 1.5;
}

.menu-note {
    text-align: center;
    padding: var(--space-md);
    background-color: rgba(20, 184, 166, 0.08);
    border: 1px solid rgba(20, 184, 166, 0.2);
    border-radius: var(--radius-sm);
    color: var(--color-teal-200);
    font-size: 0.95rem;
}

/* ---- Visit Section ---- */
.visit {
    padding: var(--space-3xl) 0;
    background-color: var(--color-warm-white);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: start;
}

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

.info-block {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.info-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-teal-50);
    border-radius: var(--radius-sm);
    color: var(--color-teal-700);
}

.info-block h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-slate-900);
    margin-bottom: 0.25rem;
}

.info-block p {
    color: var(--color-slate-600);
    line-height: 1.7;
}

.info-block a {
    color: var(--color-teal-700);
}

.visit-map {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.visit-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.map-overlay {
    position: absolute;
    bottom: var(--space-md);
    left: var(--space-md);
    right: var(--space-md);
}

/* ---- CTA Section ---- */
.cta {
    padding: var(--space-3xl) 0;
    background-color: var(--color-teal-800);
}

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

.cta .section-eyebrow {
    color: var(--color-teal-200);
}

.cta .section-title {
    color: #ffffff;
}

.cta-text {
    color: var(--color-teal-100);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--space-xl);
}

.contact-form {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: var(--space-sm);
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-teal-100);
}

.form-group input,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: all 0.2s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-teal-300);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-teal-300);
    background-color: rgba(255, 255, 255, 0.12);
}

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

.form-success {
    display: none;
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background-color: rgba(20, 184, 166, 0.2);
    border: 1px solid rgba(20, 184, 166, 0.4);
    border-radius: var(--radius-sm);
    color: var(--color-teal-100);
    text-align: center;
}

.form-success.show {
    display: block;
}

.cta-alternatives {
    color: var(--color-teal-200);
    font-size: 0.95rem;
}

.cta-alternatives a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.4);
    text-underline-offset: 3px;
}

.cta-alternatives a:hover {
    text-decoration-color: #ffffff;
}

/* ---- Footer ---- */
.footer {
    background-color: var(--color-slate-950);
    padding: var(--space-2xl) 0 var(--space-md);
}

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

.footer-brand .logo {
    margin-bottom: var(--space-sm);
}

.footer-brand p {
    color: var(--color-slate-400);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-slate-200);
    margin-bottom: var(--space-sm);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--color-slate-400);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--color-teal-300);
}

.footer-contact p {
    color: var(--color-slate-400);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.25rem;
}

.footer-bottom {
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-slate-800);
    text-align: center;
}

.footer-bottom p {
    color: var(--color-slate-500);
    font-size: 0.85rem;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .menu-categories {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background-color: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--color-slate-200);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .about-grid,
    .visit-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .about-stats {
        gap: var(--space-md);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .stat {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .hero-scroll {
        animation: none;
    }
    
    .menu-category {
        transform: none;
    }
    
    .menu-category:hover {
        transform: none;
    }
}
