/* ============================================
   Coffee Folk — Fort Worth Café
   Clean minimalist · Charcoal + Coral
   ============================================ */

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

:root {
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --coral: #E86550;
    --coral-light: #f07860;
    --coral-pale: #fdf0ee;
    --cream: #faf8f6;
    --cream-dark: #f3efe9;
    --warm-gray: #8a8580;
    --warm-gray-light: #b5b0aa;
    --white: #ffffff;
    --font-serif: 'Instrument Serif', 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--charcoal);
    background-color: var(--cream);
    line-height: 1.7;
    -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;
}

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

/* ---- Typography ---- */
h1, h2 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

em {
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 300;
}

.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: var(--charcoal);
    margin-bottom: 1.5rem;
}

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 5%;
    transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
    background: rgba(250, 248, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(26, 26, 26, 0.08);
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a {
    color: var(--charcoal);
}

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

.nav-logo {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: color 0.3s ease;
}

.nav-logo-icon {
    color: var(--coral);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    position: relative;
}

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

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

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

.nav-cta {
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    padding: 0.5rem 1.2rem;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease !important;
}

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

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

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

.nav-toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

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

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

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

.mobile-menu-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--charcoal);
    padding: 1rem 0;
    transition: color 0.3s ease;
}

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

.mobile-menu-divider {
    width: 40px;
    height: 1px;
    background: var(--warm-gray-light);
    margin: 1.5rem 0;
}

.mobile-menu-phone {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--warm-gray);
    margin-bottom: 0.5rem;
}

.mobile-menu-cta {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--coral);
    border-bottom: 1px solid var(--coral);
    padding-bottom: 2px;
}

/* ---- Hero ---- */
.hero {
    min-height: 100vh;
    background: var(--charcoal);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero-container {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 5% 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    padding-right: 2rem;
}

.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-headline {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero-headline em {
    color: var(--coral);
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 380px;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
    border: 1px solid var(--coral);
}

.btn-primary:hover {
    background: var(--coral-light);
    border-color: var(--coral-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 101, 80, 0.3);
}

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

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Images */
.hero-right {
    position: relative;
    height: 100%;
    min-height: 500px;
}

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

.hero-img {
    overflow: hidden;
}

.hero-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    height: 85%;
}

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

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

.hero-img-accent {
    position: absolute;
    bottom: 5%;
    left: 0;
    width: 55%;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.hero-accent-line {
    position: absolute;
    top: 10%;
    left: -10%;
    width: 60px;
    height: 1px;
    background: var(--coral);
    opacity: 0.6;
}

/* Hero Scroll Indicator */
.hero-scroll {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0 5% 2rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.35);
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* ---- Section Divider ---- */
.section-divider {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: var(--warm-gray-light);
    opacity: 0.4;
}

.divider-mark {
    font-size: 0.75rem;
    color: var(--warm-gray-light);
    letter-spacing: 0.2em;
}

/* ---- About Section ---- */
.about {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-col {
    position: relative;
}

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

.about-image-accent {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    background: var(--coral-pale);
    z-index: -1;
}

.about-content {
    padding: 1rem 0;
}

.about-text {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-weight: 300;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--cream-dark);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--coral);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--warm-gray);
}

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

/* ---- Menu Section ---- */
.menu {
    padding: 6rem 5% 8rem;
    background: var(--white);
}

.menu-header {
    max-width: 600px;
    margin: 0 auto 4rem;
    text-align: center;
}

.menu-intro {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.8;
    font-weight: 300;
}

.menu-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.menu-col {
    padding: 2rem;
    border: 1px solid var(--cream-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.menu-col:hover {
    border-color: var(--coral);
    box-shadow: 0 8px 32px rgba(232, 101, 80, 0.08);
}

.menu-col-label {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--coral);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--cream-dark);
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.menu-item-name {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.2rem;
}

.menu-item-desc {
    font-size: 0.82rem;
    color: var(--warm-gray);
    line-height: 1.5;
    font-weight: 300;
}

.menu-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--warm-gray-light);
    margin-top: 3rem;
    font-weight: 300;
    line-height: 1.8;
}

/* ---- Space Section ---- */
.space {
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.space-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.space-text {
    font-size: 1rem;
    color: var(--warm-gray);
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 2.5rem;
}

.space-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.space-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    color: var(--charcoal);
    font-weight: 400;
}

.space-feature svg {
    color: var(--coral);
    flex-shrink: 0;
}

.space-images {
    position: relative;
}

.space-img-grid {
    position: relative;
    height: 700px;
}

.space-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
}

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

.space-img-small {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

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

/* ---- Visit Section ---- */
.visit {
    padding: 6rem 5% 8rem;
    background: var(--charcoal);
    color: var(--white);
}

.visit-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.visit .section-title {
    color: var(--white);
}

.visit-details {
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.visit-detail-label {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    font-weight: 400;
}

.visit-detail-value {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-weight: 300;
}

.visit-phone {
    transition: color 0.3s ease;
}

.visit-phone:hover {
    color: var(--coral);
}

.btn-map {
    margin-top: 1rem;
    display: inline-flex;
}

.visit-map-placeholder {
    position: relative;
    overflow: hidden;
}

.visit-map-placeholder img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    filter: saturate(0.6) contrast(1.05);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.map-pin {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.map-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--white);
    background: var(--charcoal);
    padding: 0.4rem 0.8rem;
    font-weight: 400;
}

/* ---- Footer ---- */
.footer {
    background: var(--charcoal-light);
    padding: 3rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo-icon {
    color: var(--coral);
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--warm-gray);
    font-weight: 300;
    margin-top: 0.2rem;
}

.footer-center {
    text-align: center;
    font-size: 0.82rem;
    color: var(--warm-gray);
    font-weight: 300;
    line-height: 1.8;
}

.footer-center a {
    color: var(--warm-gray);
    transition: color 0.3s ease;
}

.footer-center a:hover {
    color: var(--coral);
}

.footer-right {
    font-size: 0.75rem;
    color: var(--warm-gray);
    font-weight: 300;
}

/* ---- Scroll Animations ---- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    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; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
    
    .about-grid,
    .space-container,
    .visit-container {
        gap: 3rem;
    }
    
    .about-image-col img,
    .space-img-main img {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-right {
        display: none;
    }
    
    .hero-left {
        padding-right: 0;
    }
    
    .hero-headline {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
    
    .hero-scroll {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-col img {
        height: 400px;
    }
    
    .about-image-accent {
        display: none;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .menu-col {
        padding: 1.5rem;
    }
    
    .space-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .space-images {
        order: -1;
    }
    
    .space-img-grid {
        height: 400px;
    }
    
    .visit-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .visit-map-placeholder img {
        height: 300px;
    }
    
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }
    
    .hero-container {
        padding: 90px 6% 50px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
        width: 100%;
    }
    
    .space-features {
        grid-template-columns: 1fr;
    }
    
    .nav-inner {
        padding: 0;
    }
}
