/* ============================================
   BADGER CANYON COFFEE COMPANY
   Clean Minimalist · Teal & Slate Grey
   ============================================ */

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

:root {
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --white: #ffffff;
    --black: #0a0a0a;

    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 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: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--slate-800);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

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

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--slate-200);
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: 0 1px 0 var(--slate-200);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--slate-900);
    letter-spacing: -0.01em;
}

.nav-logo-icon {
    color: var(--teal-600);
}

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

.nav-links a {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--slate-600);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--teal-600);
    transition: width var(--transition);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--slate-700);
    padding: 0.25rem;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.75rem;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    transition: all var(--transition);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: var(--white);
    border-color: var(--teal-600);
}

.btn-primary:hover {
    background: var(--teal-700);
    border-color: var(--teal-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}

.btn-ghost:hover {
    border-color: var(--teal-600);
    color: var(--teal-600);
}

.btn-outline {
    background: transparent;
    color: var(--teal-600);
    border-color: var(--teal-600);
}

.btn-outline:hover {
    background: var(--teal-600);
    color: var(--white);
}

.btn-sm {
    padding: 0.6rem 1.25rem;
    font-size: 0.78rem;
}

/* HERO */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--slate-50);
    overflow: hidden;
    padding-top: 72px;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, var(--slate-200) 1px, transparent 0);
    background-size: 32px 32px;
    opacity: 0.6;
    pointer-events: none;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 520px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal-700);
    background: var(--teal-50);
    border: 1px solid var(--teal-100);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: var(--space-lg);
}

.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    margin-bottom: var(--space-md);
}

.hero h1 .accent-italic {
    font-style: italic;
    color: var(--teal-600);
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    max-width: 440px;
}

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

.hero-image-wrap {
    position: relative;
}

.hero-image-wrap img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1);
}

.hero-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--slate-100);
}

.card-stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--teal-600);
    line-height: 1;
    margin-bottom: 0.35rem;
}

.card-stat-label {
    font-size: 0.78rem;
    color: var(--slate-500);
    line-height: 1.4;
    max-width: 160px;
}

.card-stat--1 {
    top: 10%;
    left: -12%;
    z-index: 2;
}

.card-stat--2 {
    bottom: 28%;
    right: -8%;
    z-index: 2;
}

.card-stat--3 {
    bottom: 8%;
    left: -6%;
    z-index: 2;
}

.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--slate-200), transparent);
}

/* SECTION EYEBROW */
.section-eyebrow {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: var(--space-sm);
}

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

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.about-img-main img {
    width: 100%;
    height: 560px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    width: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
    border: 4px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-accent-line {
    position: absolute;
    top: -20px;
    right: -10px;
    width: 120px;
    height: 120px;
    border: 1px solid var(--teal-200);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-text {
    padding: var(--space-lg) 0;
}

.about-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    margin-bottom: var(--space-md);
}

.about-text p {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.85;
    margin-bottom: var(--space-sm);
}

.about-divider {
    width: 60px;
    height: 1px;
    background: var(--teal-600);
    margin: var(--space-md) 0;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.about-stat-num {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--teal-600);
    line-height: 1;
}

.about-stat-label {
    font-size: 0.78rem;
    color: var(--slate-500);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 0.35rem;
    display: block;
}

.about-stat-divider {
    width: 1px;
    height: 48px;
    background: var(--slate-200);
}

/* MENU */
.menu {
    padding: var(--space-3xl) 0;
    background: var(--slate-50);
}

.section-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto var(--space-2xl);
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    margin-bottom: var(--space-sm);
}

.section-desc {
    font-size: 1rem;
    color: var(--slate-500);
    line-height: 1.7;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.menu-category {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--slate-100);
    transition: all var(--transition);
}

.menu-category:hover {
    border-color: var(--teal-200);
    box-shadow: 0 8px 30px rgba(13, 148, 136, 0.06);
    transform: translateY(-2px);
}

.menu-cat-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--slate-100);
}

.menu-cat-header h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--slate-900);
    flex: 1;
}

.menu-cat-header svg {
    color: var(--teal-600);
    opacity: 0.6;
}

.menu-list {
    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 var(--slate-50);
}

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

.menu-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--slate-800);
}

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

.menu-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--slate-400);
    margin-top: var(--space-lg);
    font-style: italic;
}

/* SHOP */
.shop {
    padding: var(--space-3xl) 0;
    background: var(--white);
}

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

.shop-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--slate-900);
    line-height: 1.15;
    margin-bottom: var(--space-md);
}

.shop-text p {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.85;
    margin-bottom: var(--space-lg);
    max-width: 420px;
}

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

.shop-product {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.shop-product img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    transition: transform var(--transition);
}

.shop-product:hover img {
    transform: scale(1.03);
}

.shop-product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--teal-600);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
}

/* LOCATION */
.location {
    padding: var(--space-3xl) 0;
    background: var(--slate-900);
    color: var(--white);
}

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

.location-info h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: var(--space-lg);
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.location-item svg {
    color: var(--teal-400);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.location-item strong {
    display: block;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--white);
    margin-bottom: 0.2rem;
}

.location-item span,
.location-item a {
    font-size: 0.9rem;
    color: var(--slate-400);
    line-height: 1.7;
}

.location-item a:hover {
    color: var(--teal-400);
}

.location-map-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.location-map-wrap img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    filter: saturate(0.7) brightness(0.85);
}

.map-overlay {
    position: absolute;
    bottom: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.map-overlay svg {
    color: var(--teal-600);
}

.map-overlay span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--slate-800);
}

/* FOOTER */
.footer {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--slate-800);
    color: var(--slate-400);
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.footer-logo svg {
    color: var(--teal-400);
}

.footer-brand p {
    font-size: 0.88rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-300);
    margin-bottom: var(--space-sm);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--slate-400);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--teal-400);
}

.footer-col li {
    font-size: 0.88rem;
}

.footer-bottom {
    border-top: 1px solid var(--slate-700);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

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

/* MOBILE NAV */
@media (max-width: 1023px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--slate-200);
        transform: translateY(-120%);
        opacity: 0;
        transition: all var(--transition);
        pointer-events: none;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }

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

    .nav-links a {
        font-size: 0.95rem;
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image-wrap {
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-image-wrap img {
        height: 480px;
    }

    .card-stat--1 { left: 0; }
    .card-stat--2 { right: 0; }
    .card-stat--3 { left: 0; }

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

    .about-img-secondary {
        right: 0;
        width: 160px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-text {
        text-align: center;
    }

    .shop-text p {
        max-width: 100%;
    }

    .shop-text .btn {
        margin: 0 auto;
    }

    .location-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    :root {
        --space-lg: 1.25rem;
        --space-xl: 2.5rem;
        --space-2xl: 4rem;
        --space-3xl: 5rem;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: var(--space-xl);
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .card-stat {
        display: none;
    }

    .menu-grid {
        grid-template-columns: 1fr;
    }

    .shop-products {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }

    .shop-product img {
        height: 220px;
    }

    .location-map-wrap img {
        height: 320px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .menu-category {
        transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    }

    .btn {
        transition: all var(--transition);
    }

    .shop-product img {
        transition: transform var(--transition);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
