/* ============================================
   VELVET BEAN COFFEE CO. - DESIGN SYSTEM
   ============================================ */

/* CSS Variables - Terracotta Studio Palette */
:root {
    /* Primary Colors */
    --color-terracotta: #B5563E;
    --color-terracotta-light: #D4896A;
    --color-cream: #F2E6D9;
    --color-espresso: #3D2B1F;
    
    /* Extended Palette */
    --color-cream-dark: #E8D5C4;
    --color-terracotta-dark: #8B4230;
    --color-warm-white: #FDF9F5;
    --color-charcoal: #2C2C2C;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;
    
    /* Spacing Scale */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(61, 43, 31, 0.05);
    --shadow-md: 0 4px 12px rgba(61, 43, 31, 0.08);
    --shadow-lg: 0 8px 24px rgba(61, 43, 31, 0.12);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-espresso);
    background-color: var(--color-warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-espresso);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--color-terracotta);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-terracotta-dark);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-xl);
    background: rgba(253, 249, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-cream);
    transition: all var(--transition-base);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-logo {
    font-size: 1.5rem;
}

.nav-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-espresso);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
}

.nav-links a {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--color-espresso);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-terracotta);
    transition: width var(--transition-base);
}

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

.nav-cta {
    padding: var(--space-sm) var(--space-lg);
    background: var(--color-terracotta);
    color: white;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--color-terracotta-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: calc(80px + var(--space-4xl)) var(--space-xl) var(--space-4xl);
    gap: var(--space-4xl);
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    max-width: 600px;
}

.hero-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.125rem;
    color: var(--color-terracotta);
    margin-bottom: var(--space-md);
    letter-spacing: 0.02em;
}

.hero-title {
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-charcoal);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--color-terracotta-dark);
    border-color: var(--color-terracotta-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-espresso);
    border: 2px solid var(--color-espresso);
}

.btn-secondary:hover {
    background: var(--color-espresso);
    color: var(--color-warm-white);
    transform: translateY(-2px);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.hero-image-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.hero-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--color-terracotta);
    border-radius: 8px;
    z-index: 1;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    padding: var(--space-4xl) var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
    background: var(--color-cream);
}

.feature {
    text-align: center;
    padding: var(--space-xl);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: var(--space-md);
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--color-espresso);
}

.feature-text {
    font-size: 0.9375rem;
    color: var(--color-charcoal);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ============================================
   MENU SECTION
   ============================================ */
.menu {
    padding: var(--space-4xl) var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.menu-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-tagline {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1rem;
    color: var(--color-terracotta);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: 0;
}

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

.menu-item {
    padding: var(--space-lg);
    background: white;
    border-radius: 8px;
    border: 1px solid var(--color-cream);
    transition: all var(--transition-base);
}

.menu-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-terracotta-light);
}

.menu-item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: var(--space-sm);
}

.menu-item-name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-espresso);
}

.menu-item-price {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--color-terracotta);
    font-size: 1.125rem;
}

.menu-item-desc {
    font-size: 0.9375rem;
    color: var(--color-charcoal);
    margin-bottom: 0;
    line-height: 1.5;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    padding: var(--space-4xl);
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.about-content {
    max-width: 600px;
}

.about-content .section-tagline {
    text-align: left;
}

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

.about-text {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    margin-bottom: var(--space-lg);
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-terracotta);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: var(--space-xs);
}

.about-visual {
    display: flex;
    justify-content: center;
}

.about-image-placeholder {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-cream-dark) 0%, var(--color-cream) 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    box-shadow: var(--shadow-lg);
}

/* ============================================
   VISIT SECTION
   ============================================ */
.visit {
    background: var(--color-espresso);
    color: var(--color-cream);
    padding: var(--space-4xl) var(--space-xl);
    text-align: center;
}

.visit-content {
    max-width: 800px;
    margin: 0 auto;
}

.visit .section-tagline {
    color: var(--color-terracotta-light);
}

.visit .section-title {
    color: var(--color-cream);
    margin-bottom: var(--space-3xl);
}

.visit-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.visit-block {
    padding: var(--space-lg);
}

.visit-label {
    font-family: var(--font-display);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-terracotta-light);
    margin-bottom: var(--space-sm);
}

.visit-info {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-cream);
    margin-bottom: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-espresso);
    border-top: 1px solid rgba(242, 230, 217, 0.1);
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo {
    font-size: 1.5rem;
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-cream);
}

.footer-tagline {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--color-terracotta-light);
    margin-bottom: var(--space-xl);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.social-link {
    color: var(--color-cream);
    font-size: 0.9375rem;
    font-weight: 500;
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-terracotta-light);
    transition: width var(--transition-base);
}

.social-link:hover {
    color: var(--color-terracotta-light);
}

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

.footer-copy {
    font-size: 0.875rem;
    color: rgba(242, 230, 217, 0.6);
    margin-bottom: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-3xl);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .about {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-content {
        max-width: 100%;
    }
    
    .about-content .section-tagline {
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .features {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
    
    .visit-details {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 768px) {
    .nav {
        padding: var(--space-md);
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding-top: calc(70px + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: column;
        gap: var(--space-xl);
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }

/* Scroll reveal animation class */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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