/* ============================================
   BESTEA — Boba & Froyo | Cleburne, TX
   Clean Minimalist | Forest Green + Off-White
   ============================================ */

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

:root {
    --green-deep: #1A3C2A;
    --green-mid: #2D5A3F;
    --green-light: #3D7A56;
    --green-pale: #E8F0EB;
    --off-white: #F5F5F0;
    --cream: #FAFAF6;
    --text-dark: #1A1A18;
    --text-mid: #4A4A46;
    --text-light: #7A7A74;
    --line: rgba(26, 60, 42, 0.12);
    --line-strong: rgba(26, 60, 42, 0.25);
    
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Jost', 'Helvetica Neue', sans-serif;
    
    --nav-height: 72px;
    --container-max: 1200px;
    --radius: 12px;
    --radius-sm: 8px;
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--off-white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
    background: rgba(245, 245, 240, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 var(--line);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--green-deep);
    letter-spacing: -0.01em;
}

.logo-mark {
    width: 28px;
    height: 28px;
    background: var(--green-deep);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.logo-mark::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--off-white);
    border-radius: 50%;
    top: 6px;
    left: 6px;
    box-shadow: 8px 0 0 var(--off-white);
}

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

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

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

.nav-links a:hover {
    color: var(--green-deep);
}

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

.nav-cta {
    background: var(--green-deep);
    color: var(--off-white) !important;
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.8125rem;
    transition: background 0.3s ease, transform 0.2s ease !important;
}

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

.nav-cta:hover {
    background: var(--green-mid);
    transform: translateY(-1px);
}

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

.menu-toggle span {
    width: 22px;
    height: 1.5px;
    background: var(--green-deep);
    transition: all 0.3s ease;
    display: block;
}

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

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

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--off-white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--green-deep);
    transition: opacity 0.3s ease;
}

.mobile-menu-link:hover {
    opacity: 0.6;
}

.mobile-phone {
    font-family: var(--font-body);
    font-size: 1rem !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.7;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(
        160deg,
        var(--green-deep) 0%,
        #1E4432 30%,
        #255C42 55%,
        #2D7A56 80%,
        #3D9A6E 100%
    );
    padding-top: var(--nav-height);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 50%, rgba(61, 154, 110, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse 60% 80% at 80% 30%, rgba(45, 90, 63, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 90% 80%, rgba(26, 60, 42, 0.5) 0%, transparent 40%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 80px 24px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 245, 240, 0.6);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--off-white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    font-weight: 400;
    color: #A8D5BA;
}

.hero-sub {
    font-size: 1.0625rem;
    font-weight: 300;
    color: rgba(245, 245, 240, 0.7);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 420px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-details {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
    color: rgba(245, 245, 240, 0.5);
    letter-spacing: 0.04em;
}

.detail-dot {
    width: 4px;
    height: 4px;
    background: rgba(245, 245, 240, 0.3);
    border-radius: 50%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--off-white);
    color: var(--green-deep);
}

.btn-primary:hover {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-ghost {
    background: transparent;
    color: var(--off-white);
    border: 1px solid rgba(245, 245, 240, 0.3);
}

.btn-ghost:hover {
    border-color: var(--off-white);
    background: rgba(245, 245, 240, 0.08);
}

.btn-large {
    padding: 18px 40px;
    font-size: 0.9375rem;
}

/* Hero Images */
.hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    height: 520px;
}

.hero-img {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
}

.hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hero-img:hover img {
    transform: scale(1.04);
}

.hero-img-1 {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
    height: 260px;
}

.hero-img-2 {
    grid-row: 2 / 3;
    grid-column: 1 / 3;
    height: 244px;
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 245, 240, 0.4);
}

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

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

/* --- Section Divider --- */
.section-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 24px;
    max-width: var(--container-max);
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--line);
}

.divider-mark {
    color: var(--green-light);
    font-size: 0.5rem;
    opacity: 0.6;
}

/* --- Section Headers --- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-light);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 300;
    color: var(--green-deep);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-title em {
    font-style: italic;
    font-weight: 400;
}

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

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

.menu-card {
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 40px 32px;
    border: 1px solid var(--line);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--green-deep), var(--green-light));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(26, 60, 42, 0.08);
    border-color: transparent;
}

.menu-card:hover::before {
    opacity: 1;
}

.menu-card-featured {
    background: var(--green-deep);
    border-color: var(--green-deep);
}

.menu-card-featured .menu-card-icon {
    color: #A8D5BA;
}

.menu-card-featured .menu-card-title {
    color: var(--off-white);
}

.menu-card-featured .menu-card-desc {
    color: rgba(245, 245, 240, 0.65);
}

.menu-card-featured .menu-items li {
    border-color: rgba(245, 245, 240, 0.1);
}

.menu-card-featured .item-name {
    color: var(--off-white);
}

.menu-card-featured .item-dots {
    color: rgba(245, 245, 240, 0.3);
}

.menu-card-featured .item-note {
    color: rgba(245, 245, 240, 0.5);
}

.menu-card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(245, 245, 240, 0.15);
    color: #A8D5BA;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 100px;
}

.menu-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-deep);
    margin-bottom: 24px;
    opacity: 0.8;
}

.menu-card-title {
    font-family: var(--font-display);
    font-size: 1.625rem;
    font-weight: 400;
    color: var(--green-deep);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.menu-card-desc {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 28px;
}

.menu-items {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-items li {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--line);
    padding-bottom: 12px;
}

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

.item-name {
    font-weight: 400;
    color: var(--text-dark);
    white-space: nowrap;
}

.item-dots {
    flex: 1;
    color: var(--text-light);
    opacity: 0.4;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

.item-note {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-weight: 300;
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    background: var(--off-white);
}

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 75%;
    border-radius: var(--radius);
    overflow: hidden;
}

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

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 45%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 6px solid var(--off-white);
}

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

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--text-mid);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
}

.stat {
    flex: 1;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    color: var(--green-deep);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    line-height: 1.5;
    letter-spacing: 0.02em;
}

.stat-divider {
    width: 1px;
    background: var(--line);
    align-self: stretch;
}

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

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

.visit-info {
    padding-top: 10px;
}

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

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

.visit-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--green-deep);
    flex-shrink: 0;
}

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

.visit-detail-value {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.visit-detail-value a {
    transition: color 0.3s ease;
}

.visit-detail-value a:hover {
    color: var(--green-deep);
}

.visit-map {
    margin-top: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
}

.map-link {
    position: relative;
    display: block;
    overflow: hidden;
}

.map-link img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.map-link:hover img {
    transform: scale(1.03);
}

.map-overlay {
    position: absolute;
    bottom: 16px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--green-deep);
    color: var(--off-white);
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    transition: background 0.3s ease;
}

.map-link:hover .map-overlay {
    background: var(--green-mid);
}

/* CTA Card */
.visit-cta {
    padding-top: 20px;
}

.cta-card {
    background: var(--green-deep);
    border-radius: var(--radius);
    overflow: hidden;
}

.cta-card-img {
    height: 280px;
    overflow: hidden;
}

.cta-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cta-card:hover .cta-card-img img {
    transform: scale(1.04);
}

.cta-card-content {
    padding: 40px 36px;
}

.cta-card-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 300;
    color: var(--off-white);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.cta-card-title em {
    font-style: italic;
    color: #A8D5BA;
}

.cta-card-text {
    font-size: 0.9375rem;
    color: rgba(245, 245, 240, 0.6);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* --- Footer --- */
.footer {
    background: var(--green-deep);
    padding: 64px 0 32px;
    color: var(--off-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand .logo {
    color: var(--off-white);
    margin-bottom: 16px;
}

.footer-brand .logo-mark {
    background: var(--off-white);
}

.footer-brand .logo-mark::after {
    background: var(--green-deep);
    box-shadow: 8px 0 0 var(--green-deep);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: rgba(245, 245, 240, 0.5);
    line-height: 1.6;
}

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

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(245, 245, 240, 0.6);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-links a:hover {
    color: var(--off-white);
    padding-left: 8px;
}

.footer-address p {
    font-size: 0.9375rem;
    color: rgba(245, 245, 240, 0.5);
    line-height: 1.7;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(245, 245, 240, 0.1);
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(245, 245, 240, 0.3);
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

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

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

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

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

    .hero-images {
        max-width: 600px;
        margin: 0 auto;
        height: 400px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }

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

    .about-images {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

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

    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-content {
        padding: 60px 24px 80px;
    }

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

    .hero-images {
        height: 320px;
        gap: 12px;
    }

    .hero-img-1 {
        height: 180px;
    }

    .hero-img-2 {
        height: 128px;
    }

    .hero-scroll {
        display: none;
    }

    .menu-section,
    .about-section,
    .visit-section {
        padding: 72px 0;
    }

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

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

    .about-images {
        height: 320px;
    }

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

    .stat-divider {
        width: 100%;
        height: 1px;
    }

    .cta-card-img {
        height: 200px;
    }

    .cta-card-content {
        padding: 28px 24px;
    }

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

    .footer-bottom {
        text-align: center;
    }
}

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

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

    .hero-images {
        height: 260px;
    }

    .hero-img-1 {
        height: 140px;
    }

    .hero-img-2 {
        height: 108px;
    }

    .about-images {
        height: 260px;
    }

    .menu-card-featured {
        position: relative;
    }

    .menu-card-badge {
        position: static;
        display: inline-block;
        margin-bottom: 16px;
    }
}
