/* ============================================
   MandRo Teahouse — Styles
   Clean minimalist · Forest green + off-white
   ============================================ */

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

:root {
    --color-forest: #1a3c34;
    --color-forest-light: #2a5c4e;
    --color-forest-dark: #0f241e;
    --color-off-white: #f5f2ec;
    --color-cream: #ebe6dc;
    --color-warm-gray: #8a8578;
    --color-text: #1a1a18;
    --color-text-light: #4a4840;
    --color-white: #ffffff;
    --color-border: rgba(26, 60, 52, 0.12);
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    --space-xxl: 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;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-off-white);
}

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

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

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-sm);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-forest);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
}

.skip-link:focus {
    top: var(--space-sm);
}

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

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--color-off-white);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: var(--color-forest);
    border-radius: 50%;
    position: relative;
}

.logo-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--color-off-white);
    border-radius: 50%;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--color-forest);
    letter-spacing: -0.02em;
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-md);
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    color: var(--color-text-light);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    position: relative;
    padding: 0.25rem 0;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-forest);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--color-forest);
}

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

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

.hamburger-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--color-forest);
    transition: var(--transition);
    transform-origin: center;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

/* ---------- Hero ---------- */
.hero {
    padding-top: 72px;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--color-off-white);
    display: flex;
    align-items: stretch;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    padding-top: var(--space-lg);
    padding-bottom: var(--space-lg);
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.hero-content {
    padding-right: var(--space-md);
}

.hero-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-warm-gray);
    margin-bottom: var(--space-md);
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(2.75rem, 5vw, 4.5rem);
    line-height: 1.08;
    color: var(--color-forest);
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
}

.hero-title .accent {
    font-style: italic;
    font-weight: 400;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-light);
    max-width: 440px;
    margin-bottom: var(--space-lg);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--color-forest-light);
    border-color: var(--color-forest-light);
}

.btn-ghost {
    background: transparent;
    color: var(--color-forest);
    border-color: var(--color-forest);
}

.btn-ghost:hover {
    background: var(--color-forest);
    color: var(--color-white);
}

.hero-image {
    position: relative;
}

.hero-image-inner {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 3 / 4;
}

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

.hero-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background: var(--color-forest);
    border-radius: 50%;
    opacity: 0.08;
    z-index: -1;
}

/* ---------- Section shared ---------- */
.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-warm-gray);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.12;
    color: var(--color-forest);
    letter-spacing: -0.025em;
    margin-bottom: var(--space-md);
}

/* ---------- About ---------- */
.about {
    padding: var(--space-xxl) 0;
    background: var(--color-white);
}

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

.about-image {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 7 / 5;
}

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

.about-content .section-title {
    margin-bottom: var(--space-md);
}

.about-content p {
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    max-width: 480px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

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

.stat-number {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.5rem;
    color: var(--color-forest);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--color-warm-gray);
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--color-border);
}

/* ---------- Menu ---------- */
.menu {
    padding: var(--space-xxl) 0;
    background: var(--color-off-white);
}

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

.section-header .section-title {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.menu-category {
    padding: var(--space-md);
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
}

.category-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--color-forest);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    letter-spacing: -0.01em;
}

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

.menu-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    border-bottom: 1px dotted var(--color-border);
}

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

.menu-item-name {
    font-weight: 400;
    font-size: 0.9375rem;
    color: var(--color-text);
}

.menu-item-desc {
    font-size: 0.8125rem;
    color: var(--color-warm-gray);
    white-space: nowrap;
}

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

/* ---------- Gallery ---------- */
.gallery {
    padding: var(--space-xxl) 0;
    background: var(--color-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 220px);
    gap: var(--space-sm);
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-item--tall {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
}

.gallery-item--wide {
    grid-column: 8 / 13;
    grid-row: 2 / 3;
}

/* ---------- Visit ---------- */
.visit {
    padding: var(--space-xxl) 0;
    background: var(--color-forest);
    color: var(--color-white);
}

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

.visit .section-eyebrow {
    color: rgba(255, 255, 255, 0.5);
}

.visit .section-title {
    color: var(--color-white);
    margin-bottom: var(--space-lg);
}

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

.visit-detail {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.detail-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.detail-value {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-white);
}

.detail-link {
    color: var(--color-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: border-color var(--transition);
}

.detail-link:hover {
    border-color: var(--color-white);
}

.btn-directions {
    background: var(--color-white);
    color: var(--color-forest);
    border-color: var(--color-white);
}

.btn-directions:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.visit-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ---------- Footer ---------- */
.site-footer {
    padding: var(--space-lg) 0;
    background: var(--color-forest-dark);
    color: var(--color-white);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

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

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
}

.footer-brand p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.45);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

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

.footer-copy {
    width: 100%;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: var(--space-sm);
}

/* ---------- Scroll reveal (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        order: 2;
    }
    
    .hero-image {
        order: 1;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        aspect-ratio: 16 / 9;
    }
    
    .menu-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item--tall {
        grid-column: 1 / -1;
        grid-row: auto;
        aspect-ratio: 16 / 9;
    }
    
    .gallery-item--wide {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 9;
    }
    
    .gallery-item {
        aspect-ratio: 16 / 9;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-map {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .site-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--color-off-white);
        border-bottom: 1px solid var(--color-border);
        padding: var(--space-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
    }
    
    .site-nav.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .site-nav ul {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .nav-link {
        font-size: 1rem;
    }
    
    .hero {
        min-height: auto;
        padding-top: 72px;
        padding-bottom: var(--space-lg);
    }
    
    .hero-grid {
        padding-top: var(--space-md);
        padding-bottom: var(--space-md);
    }
    
    .hero-title {
        font-size: clamp(2.25rem, 8vw, 3rem);
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .stat-divider {
        width: 48px;
        height: 1px;
    }
    
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}
