/* ============================================
   Green Boba Tea — Styles
   Emerald Green + Cream | Minimalist
   ============================================ */

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

:root {
    --emerald-900: #042f23;
    --emerald-800: #064e3b;
    --emerald-700: #065f46;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --emerald-100: #d1fae5;
    --emerald-50:  #ecfdf5;
    --cream:       #faf9f6;
    --cream-dark:  #f5f4f0;
    --cream-mid:   #ebe9e3;
    --text-dark:   #1a1a18;
    --text-mid:    #4a4a46;
    --text-light:  #7a7a74;
    --white:       #ffffff;
    --font-serif:  'Cormorant Garamond', Georgia, serif;
    --font-sans:   'Inter', -apple-system, sans-serif;
    --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: 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(--text-dark);
    background-color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

address {
    font-style: normal;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Typography --- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.7;
    max-width: 520px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 32px;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
    white-space: nowrap;
}

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

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

.btn-ghost {
    background-color: transparent;
    color: var(--text-dark);
    border-color: var(--cream-mid);
}

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

.btn-light {
    background-color: var(--white);
    color: var(--emerald-800);
    border-color: var(--white);
}

.btn-light:hover {
    background-color: var(--emerald-50);
    transform: translateY(-1px);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-light:hover {
    border-color: var(--white);
    background-color: rgba(255,255,255,0.08);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 0.85rem;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-mid);
    transition: box-shadow 0.3s var(--ease-smooth);
}

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

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

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

.nav-logo-mark::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    top: 6px;
    left: 6px;
}

.nav-logo-mark::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    bottom: 7px;
    right: 6px;
}

.nav-logo-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-mid);
    transition: color 0.3s var(--ease-smooth);
    position: relative;
}

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

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

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

.nav-cta {
    color: var(--emerald-700) !important;
    border: 1px solid var(--emerald-200, #a7f3d0);
    padding: 8px 20px;
    transition: all 0.3s var(--ease-smooth) !important;
}

.nav-cta::after {
    display: none !important;
}

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

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background-color: var(--text-dark);
    transition: all 0.3s var(--ease-smooth);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--cream);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-inner {
    max-width: 400px;
    margin: 0 auto;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 300;
    color: var(--text-dark);
    padding: 16px 0;
    border-bottom: 1px solid var(--cream-mid);
    transition: color 0.3s var(--ease-smooth);
}

.mobile-menu-link:hover {
    color: var(--emerald-700);
}

.mobile-menu-divider {
    height: 1px;
    background-color: var(--cream-mid);
    margin: 24px 0;
}

.mobile-menu-phone {
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--emerald-700);
    margin-bottom: 8px;
}

.mobile-menu-address {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.6;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    padding-top: 72px;
    padding-bottom: 0;
    background-color: var(--cream);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: calc(100vh - 72px);
}

.hero-left {
    padding-right: 24px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero-eyebrow-line {
    width: 40px;
    height: 1px;
    background-color: var(--emerald-600);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.hero-subheadline {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.75;
    max-width: 440px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-meta {
    display: flex;
    gap: 40px;
    padding-top: 8px;
    border-top: 1px solid var(--cream-mid);
    margin-top: 8px;
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-meta-label {
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light);
}

.hero-meta-value {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-dark);
}

.hero-meta-link {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--emerald-700);
    border-bottom: 1px solid var(--emerald-200, #a7f3d0);
    transition: border-color 0.3s var(--ease-smooth);
}

.hero-meta-link:hover {
    border-color: var(--emerald-600);
}

/* Hero Image Stack */
.hero-right {
    position: relative;
    height: calc(100vh - 72px);
    min-height: 600px;
}

.hero-image-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-img {
    position: absolute;
    overflow: hidden;
}

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

.hero-img-main {
    width: 78%;
    height: 85%;
    top: 0;
    right: 0;
    z-index: 1;
}

.hero-img-accent {
    width: 55%;
    height: 38%;
    bottom: 12%;
    left: 0;
    z-index: 2;
    border: 6px solid var(--cream);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.hero-img-small {
    width: 38%;
    height: 28%;
    bottom: 0;
    right: 10%;
    z-index: 3;
    border: 6px solid var(--cream);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

.hero-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--cream-mid);
}

/* --- Marquee --- */
.marquee {
    background-color: var(--emerald-800);
    padding: 18px 0;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    gap: 24px;
    align-items: center;
    animation: marquee-scroll 24s linear infinite;
    width: max-content;
}

.marquee span {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.85);
    white-space: nowrap;
}

.marquee-dot {
    font-size: 0.6rem !important;
    color: rgba(255,255,255,0.4) !important;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- Menu Section --- */
.menu {
    padding: 120px 0;
    background-color: var(--cream);
}

.section-header {
    margin-bottom: 64px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    background-color: var(--cream-mid);
    border: 1px solid var(--cream-mid);
}

.menu-card {
    background-color: var(--cream);
    padding: 48px 40px;
    transition: background-color 0.4s var(--ease-smooth);
    position: relative;
}

.menu-card:hover {
    background-color: var(--white);
}

.menu-card-number {
    font-family: var(--font-serif);
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--emerald-500);
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.menu-card-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.2;
}

.menu-card-desc {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 24px;
}

.menu-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    padding: 6px 12px;
    border: 1px solid var(--cream-mid);
    transition: all 0.3s var(--ease-smooth);
}

.menu-card:hover .tag {
    border-color: var(--emerald-100);
    color: var(--emerald-700);
}

.menu-note {
    margin-top: 48px;
    padding: 24px 0;
    border-top: 1px solid var(--cream-mid);
}

.menu-note p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-light);
    font-style: italic;
}

/* --- About Section --- */
.about {
    padding: 120px 0;
    background-color: var(--cream-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image {
    position: relative;
}

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

.about-image::after {
    content: '';
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 60%;
    height: 60%;
    border: 1px solid var(--emerald-200, #a7f3d0);
    z-index: -1;
}

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

.about-text {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-mid);
    line-height: 1.8;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--cream-mid);
    margin-top: 8px;
}

.about-value {
    display: flex;
    align-items: center;
    gap: 16px;
}

.about-value-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cream-mid);
    color: var(--emerald-600);
    flex-shrink: 0;
}

.about-value span:last-child {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--text-dark);
}

/* --- Feature Strip --- */
.feature-strip {
    padding: 100px 0;
    background-color: var(--cream);
    border-top: 1px solid var(--cream-mid);
    border-bottom: 1px solid var(--cream-mid);
}

.feature-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.feature-item {
    padding: 0 32px;
}

.feature-item:first-child {
    padding-left: 0;
}

.feature-item:last-child {
    padding-right: 0;
}

.feature-number {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 300;
    color: var(--emerald-100);
    line-height: 1;
    margin-bottom: 16px;
}

.feature-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.feature-desc {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.65;
}

.feature-divider {
    width: 1px;
    background-color: var(--cream-mid);
    align-self: stretch;
}

/* --- Visit Section --- */
.visit {
    padding: 120px 0;
    background-color: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

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

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.visit-detail-label {
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 6px;
}

.visit-detail-value {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-dark);
    line-height: 1.7;
}

.visit-detail-value a {
    color: var(--emerald-700);
    border-bottom: 1px solid var(--emerald-200, #a7f3d0);
    transition: border-color 0.3s var(--ease-smooth);
}

.visit-detail-value a:hover {
    border-color: var(--emerald-600);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    gap: 32px;
}

.visit-map {
    height: 480px;
    border: 1px solid var(--cream-mid);
    overflow: hidden;
}

.visit-map iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(30%) contrast(1.05);
    transition: filter 0.4s var(--ease-smooth);
}

.visit-map:hover iframe {
    filter: grayscale(0%) contrast(1);
}

/* --- CTA Section --- */
.cta {
    padding: 120px 0;
    background-color: var(--emerald-800);
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.cta .section-label {
    color: var(--emerald-300, #6ee7b7);
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 300;
    line-height: 1.2;
    color: var(--white);
}

.cta-text {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    max-width: 480px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    background-color: var(--emerald-900);
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    width: 24px;
    height: 24px;
    background-color: var(--emerald-600);
    border-radius: 50%;
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255,255,255,0.5);
    line-height: 1.6;
    max-width: 280px;
}

.footer-info,
.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer p {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

.footer-phone {
    color: var(--emerald-400, #34d399) !important;
    border-bottom: 1px solid rgba(52, 211, 153, 0.3);
    transition: border-color 0.3s var(--ease-smooth);
}

.footer-phone:hover {
    border-color: var(--emerald-400, #34d399);
}

.footer-hours-label {
    font-size: 0.68rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35) !important;
    margin-bottom: 4px;
}

.footer-bottom {
    padding-top: 28px;
}

.footer-bottom p {
    font-size: 0.78rem;
    font-weight: 300;
    color: rgba(255,255,255,0.3);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 32px;
    }

    .hero-right {
        height: 500px;
    }

    .about-grid {
        gap: 48px;
    }

    .feature-strip-grid {
        gap: 0;
    }

    .feature-item {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .hero-left {
        padding-right: 0;
        gap: 24px;
    }

    .hero-right {
        display: none;
    }

    .hero-meta {
        flex-direction: column;
        gap: 16px;
    }

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

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

    .about-image {
        order: -1;
    }

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

    .about-image::after {
        display: none;
    }

    .feature-strip-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 24px;
    }

    .feature-divider {
        display: none;
    }

    .feature-item:first-child,
    .feature-item:last-child {
        padding: 0;
    }

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

    .visit-map {
        height: 320px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .menu-card {
        padding: 32px 24px;
    }

    .feature-strip-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }
}
