/* ========================================
   Bean Juice Java — Stylesheet
   Teal + Slate Grey | Clean Minimalist
   ======================================== */

/* --- Reset & Base --- */
*, *::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;
    --slate-950: #080d18;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --nav-height: 72px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* --- Section Eyebrow --- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-600);
    margin-bottom: 16px;
}

/* --- Section Title --- */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: 24px;
}

/* --- Lead --- */
.lead {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--slate-600);
    max-width: 560px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    border-radius: 100px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-primary {
    background: var(--teal-600);
    color: #fff;
    border: 1.5px solid var(--teal-600);
}

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

.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

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

.btn-white {
    background: #fff;
    color: var(--teal-800);
    border: 1.5px solid #fff;
}

.btn-white:hover {
    background: var(--teal-50);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-full {
    width: 100%;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: all var(--transition-medium);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--slate-200);
}

.nav.scrolled .nav-logo {
    color: var(--slate-900);
}

.nav.scrolled .nav-link {
    color: var(--slate-600);
}

.nav.scrolled .nav-link:hover {
    color: var(--teal-600);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: #fff;
    transition: color var(--transition-fast);
}

.nav-logo-icon {
    display: flex;
    align-items: center;
    color: var(--teal-400);
}

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

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

.nav-link {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
    position: relative;
}

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

.nav-link:hover {
    color: #fff;
}

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

.nav.scrolled .nav-link::after {
    background: var(--teal-600);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #fff;
    transition: all var(--transition-fast);
}

.nav.scrolled .nav-toggle span {
    background: var(--slate-700);
}

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

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

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

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(8, 13, 24, 0.45) 0%,
        rgba(8, 13, 24, 0.55) 50%,
        rgba(8, 13, 24, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    padding-top: var(--nav-height);
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
    max-width: 720px;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-headline br {
    display: block;
}

.hero-sub {
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.7);
    max-width: 480px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.9s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.5; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

/* --- Section Spacing --- */
.section {
    padding: 120px 0;
}

/* --- About --- */
.about {
    background: #fff;
}

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

.about-image-wrap {
    overflow: hidden;
    border-radius: 4px;
}

.about-image-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image-wrap:hover img {
    transform: scale(1.02);
}

.about-text .section-title {
    margin-bottom: 24px;
}

.about-text p {
    color: var(--slate-600);
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--slate-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--slate-900);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--slate-400);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

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

/* --- Menu --- */
.menu {
    background: var(--slate-50);
}

.menu-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 72px;
}

.menu-header .section-lead {
    font-size: 0.9375rem;
    color: var(--slate-500);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.menu-category {
    padding: 40px 32px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid var(--slate-100);
    transition: all var(--transition-fast);
}

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

.category-title {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--slate-900);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--slate-100);
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-item {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--slate-100);
}

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

.menu-item-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

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

/* --- Visit --- */
.visit {
    background: #fff;
}

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

.visit-info .section-title {
    margin-bottom: 40px;
}

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

.visit-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.visit-detail svg {
    flex-shrink: 0;
    color: var(--teal-600);
    margin-top: 2px;
}

.visit-detail-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 4px;
}

.visit-detail-value {
    display: block;
    font-size: 0.9375rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.visit-detail-value a {
    color: var(--slate-700);
    transition: color var(--transition-fast);
}

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

.visit-image-wrap {
    overflow: hidden;
    border-radius: 4px;
}

.visit-image-wrap img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.visit-image-wrap:hover img {
    transform: scale(1.02);
}

/* --- CTA --- */
.cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

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

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(8, 13, 24, 0.7) 0%,
        rgba(8, 13, 24, 0.5) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

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

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 36px;
}

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

/* --- Contact --- */
.contact {
    background: var(--slate-50);
}

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

.contact-text .section-title {
    margin-bottom: 20px;
}

.contact-text .lead {
    margin-bottom: 32px;
}

.contact-info-inline {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--slate-600);
    transition: color var(--transition-fast);
}

.contact-link:hover {
    color: var(--teal-600);
}

.contact-link svg {
    color: var(--teal-500);
    flex-shrink: 0;
}

/* Form */
.contact-form-wrap {
    background: #fff;
    padding: 40px;
    border-radius: 4px;
    border: 1px solid var(--slate-100);
}

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

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 0;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--slate-800);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--slate-200);
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-input::placeholder {
    color: var(--slate-300);
}

.form-input:focus {
    border-bottom-color: var(--teal-500);
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
    margin-top: 16px;
    font-size: 0.9375rem;
    color: var(--teal-700);
}

.form-success svg {
    color: var(--teal-500);
    flex-shrink: 0;
}

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

/* --- Footer --- */
.footer {
    background: var(--slate-950);
    padding: 72px 0 40px;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 16px;
}

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

.footer-tagline {
    font-size: 0.875rem;
    color: var(--slate-500);
    line-height: 1.7;
    max-width: 280px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--slate-500);
    margin-bottom: 4px;
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--slate-400);
    transition: color var(--transition-fast);
}

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

.footer-hours {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-hours span {
    font-size: 0.875rem;
    color: var(--slate-400);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    gap: 16px;
}

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

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: all var(--transition-slow);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .visit-grid,
    .contact-grid {
        gap: 48px;
    }

    .menu-grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        gap: 32px;
        transform: translateX(100%);
        transition: transform var(--transition-medium);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-link {
        color: var(--slate-700) !important;
        font-size: 1rem;
    }

    .nav-link:hover {
        color: var(--teal-600) !important;
    }

    .nav-link::after {
        background: var(--teal-600) !important;
    }

    .hero {
        min-height: 600px;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .section {
        padding: 80px 0;
    }

    .about-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap img,
    .visit-image-wrap img {
        height: 360px;
    }

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

    .menu-category {
        padding: 28px 24px;
    }

    .cta {
        padding: 80px 0;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        text-align: center;
    }

    .contact-form-wrap {
        padding: 28px 24px;
    }

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

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

    .about-stats {
        flex-wrap: wrap;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    .hero-scroll {
        display: none;
    }
}
