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

:root {
    --color-bg: #FFFFFF;
    --color-surface: #FFFFFF;
    --color-surface-alt: #F5F5F5;
    --color-text: #000000;
    --color-text-muted: #555555;
    --color-primary: #000000;
    --color-accent: #000000;
    --color-accent-hover: #333333;
    --color-border: #E0E0E0;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --container-max: 1140px;
    --header-height: 72px;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.1);
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

em {
    font-family: var(--font-serif);
    font-style: italic;
    color: inherit;
}

/* ===== LAYOUT ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    transition: background var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: inline-flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    display: block;
}

/* Hamburger */
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger {
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.menu-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Nav */
.main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    background: var(--color-surface);
    padding: calc(var(--header-height) + 32px) 32px 32px;
    transition: right 0.35s ease;
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.main-nav.is-open {
    right: 0;
}

.main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main-nav a {
    display: block;
    padding: 12px 16px;
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    background: var(--color-surface-alt);
    color: var(--color-accent);
}

.nav-cta {
    margin-top: 8px;
    background: var(--color-accent) !important;
    color: #fff !important;
    text-align: center;
    border-radius: var(--radius-sm) !important;
}

.nav-cta:hover {
    background: var(--color-accent-hover) !important;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

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

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

.btn-outline:hover {
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1rem;
}

/* ===== HERO ===== */
.hero {
    padding: calc(var(--header-height) + 60px) 0 80px;
    background: linear-gradient(170deg, var(--color-bg) 0%, var(--color-surface-alt) 100%);
}

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

.hero-tagline {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.hero h1 {
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ===== PAGE HERO ===== */
.page-hero {
    padding: calc(var(--header-height) + 60px) 0 60px;
    background: linear-gradient(170deg, var(--color-bg) 0%, var(--color-surface-alt) 100%);
}

.page-hero h1 {
    margin-bottom: 16px;
    max-width: 700px;
}

.page-hero-subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    max-width: 560px;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    margin-bottom: 48px;
}

.section-label {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--color-text-muted);
    max-width: 520px;
    margin-top: 12px;
}

/* ===== SERVICES OVERVIEW ===== */
.services-overview {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-alt);
    border-radius: var(--radius-sm);
    color: var(--color-accent);
    margin-bottom: 16px;
}

.service-card h3 {
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.services-cta {
    text-align: center;
    margin-top: 40px;
}

/* ===== STATS ===== */
.stats-section {
    padding: 60px 0;
    background: var(--color-primary);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--color-accent);
}

.stat-label {
    display: block;
    font-size: 0.9375rem;
    opacity: 0.8;
    margin-top: 4px;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: var(--color-surface-alt);
}

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

.cta-content h2 {
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

/* ===== SERVICE DETAIL (Services Page) ===== */
.service-detail {
    padding: 60px 0;
}

.service-detail.alt-bg {
    background: var(--color-surface-alt);
}

.service-detail-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    color: var(--color-accent);
    margin-bottom: 20px;
}

.service-detail.alt-bg .service-detail-icon {
    background: var(--color-surface);
}

.service-detail-content h2 {
    margin-bottom: 16px;
}

.service-detail-content > p {
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 24px;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-features li {
    position: relative;
    padding-left: 24px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
}

/* ===== ABOUT PAGE ===== */
.about-story {
    padding: 60px 0;
}

.story-block {
    max-width: 700px;
}

.story-block h2 {
    margin-bottom: 20px;
}

.story-block p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.story-block p:last-child {
    margin-bottom: 0;
}

/* Timeline */
.about-timeline {
    padding: 60px 0;
    background: var(--color-surface-alt);
}

.about-timeline h2 {
    margin-bottom: 40px;
}

.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--color-border);
}

.timeline-item {
    position: relative;
    padding-bottom: 40px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -32px;
    top: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid var(--color-surface-alt);
    z-index: 1;
}

.timeline-content h3 {
    margin-bottom: 8px;
    color: var(--color-primary);
}

.timeline-content p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* Values */
.about-values {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.value-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.value-card h3 {
    margin-bottom: 8px;
    color: var(--color-accent);
}

.value-card p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* ===== CONTACT PAGE ===== */
.coffee-spots {
    padding: 60px 0;
}

.spots-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.spot-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.spot-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.spot-emoji {
    font-size: 2rem;
    margin-bottom: 12px;
}

.spot-card h3 {
    margin-bottom: 4px;
}

.spot-vibe {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.spot-card > p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.spot-location {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-muted);
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

/* Contact Form Section */
.contact-form-section {
    padding: 60px 0;
    background: var(--color-surface-alt);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-info h2 {
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
}

.contact-item svg {
    flex-shrink: 0;
    color: var(--color-accent);
}

.contact-item a {
    transition: color var(--transition);
}

.contact-item a:hover {
    color: var(--color-accent);
}

/* Form */
.contact-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group:last-of-type {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition), box-shadow var(--transition);
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B6B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 44px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

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

.contact-form .btn {
    width: 100%;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-primary);
    color: #fff;
    padding: 60px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
}

.footer-brand .logo {
    margin-bottom: 12px;
    display: inline-flex;
}

.footer-brand .logo-img {
    filter: brightness(1.5);
}

.footer-brand p {
    font-size: 0.875rem;
    opacity: 0.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.5;
    margin-bottom: 16px;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
    font-size: 0.9375rem;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-bottom p {
    font-size: 0.8125rem;
    opacity: 0.5;
}

/* ===== HERO IMAGE ===== */
.hero-inner {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-image {
    border-radius: var(--radius);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: grayscale(1);
}

/* ===== SECTION IMAGES ===== */
.section-image {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.section-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    filter: grayscale(1);
}

.about-story .story-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.page-hero-image {
    margin-top: 32px;
    border-radius: var(--radius);
    overflow: hidden;
}

.page-hero-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    filter: grayscale(1);
}

/* Section Break */
.section-break {
    padding: 0 0 20px;
}

.section-image.full-width img {
    height: 300px;
    border-radius: var(--radius);
}

/* ===== RESPONSIVE — TABLET (600px+) ===== */
@media (min-width: 600px) {
    .container {
        padding: 0 32px;
    }

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

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

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

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

    .hero {
        padding: calc(var(--header-height) + 80px) 0 100px;
    }

    .hero-image img {
        height: 360px;
    }

    .section-image img {
        height: 340px;
    }

    .page-hero-image img {
        height: 300px;
    }

    .section-image.full-width img {
        height: 360px;
    }

    .page-hero {
        padding: calc(var(--header-height) + 80px) 0 80px;
    }
}

/* ===== RESPONSIVE — DESKTOP (900px+) ===== */
@media (min-width: 900px) {
    .container {
        padding: 0 40px;
    }

    /* Desktop Nav */
    .menu-toggle {
        display: none;
    }

    .main-nav {
        position: static;
        width: auto;
        max-width: none;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
    }

    .main-nav ul {
        flex-direction: row;
        align-items: center;
        gap: 4px;
    }

    .main-nav a {
        font-size: 0.9375rem;
        padding: 8px 16px;
    }

    .nav-cta {
        margin-top: 0;
        margin-left: 8px;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-detail {
        padding: 80px 0;
    }

    .service-detail-inner {
        max-width: 700px;
    }

    .about-story {
        padding: 80px 0;
    }

    .about-timeline {
        padding: 80px 0;
    }

    .timeline {
        padding-left: 48px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-marker {
        left: -48px;
        width: 18px;
        height: 18px;
    }

    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
        gap: 60px;
        align-items: start;
    }

    .contact-form {
        padding: 36px 32px;
    }

    .hero {
        padding: calc(var(--header-height) + 100px) 0 120px;
    }

    .hero-inner {
        flex-direction: row;
        align-items: center;
    }

    .hero-content {
        flex: 1;
        max-width: 580px;
    }

    .hero-image {
        flex: 1;
        max-width: 480px;
    }

    .hero-image img {
        height: 420px;
    }

    .section-image img {
        height: 400px;
    }

    .page-hero-image img {
        height: 360px;
    }

    .section-image.full-width img {
        height: 420px;
    }

    .about-story .story-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .about-story .story-block {
        flex: 1;
    }

    .about-story .section-image {
        flex: 1;
        max-width: 420px;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .services-overview {
        padding: 100px 0;
    }

    .cta-section {
        padding: 100px 0;
    }

    .about-values {
        padding: 100px 0;
    }

    .coffee-spots {
        padding: 80px 0;
    }

    .contact-form-section {
        padding: 80px 0;
    }

    .page-hero {
        padding: calc(var(--header-height) + 100px) 0 80px;
    }
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}
