/* ========================================
   RISE & GRIND - CLASSIC & ELEGANT
   Palette: Terracotta + Sand
======================================== */

:root {
    /* Primary Colors */
    --color-terracotta: #b45309;
    --color-terracotta-dark: #8a3f06;
    --color-terracotta-light: #d97706;
    
    /* Sand / Neutral Palette */
    --color-sand: #f5f0e8;
    --color-sand-light: #faf8f4;
    --color-sand-dark: #e8e0d0;
    --color-cream: #fffdf8;
    
    /* Text Colors */
    --color-text-dark: #1c1610;
    --color-text-body: #3d3229;
    --color-text-muted: #6b5b4f;
    --color-text-light: #f5f0e8;
    
    /* Functional */
    --color-white: #ffffff;
    --color-black: #0a0a0a;
    
    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Borders */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(28, 22, 16, 0.06);
    --shadow-md: 0 4px 20px rgba(28, 22, 16, 0.08);
    --shadow-lg: 0 8px 40px rgba(28, 22, 16, 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-sans);
    color: var(--color-text-body);
    background-color: var(--color-sand-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-terracotta);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   HEADER / NAVIGATION
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 244, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-sand-dark);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--color-text-dark);
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-terracotta);
    border: 2px solid var(--color-terracotta);
    padding: 0.25rem 0.5rem;
    letter-spacing: 0.05em;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    list-style: none;
}

.nav-menu a {
    color: var(--color-text-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-terracotta);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.mobile-toggle .line {
    width: 24px;
    height: 2px;
    background: var(--color-text-dark);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: var(--color-sand-light);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--color-terracotta);
    border-color: var(--color-terracotta);
}

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

.btn-full {
    width: 100%;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--color-text-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://images.pexels.com/photos/30797205/pexels-photo-30797205.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(28, 22, 16, 0.65) 0%,
        rgba(28, 22, 16, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding-top: 80px;
}

.hero-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-terracotta-light);
    margin-bottom: var(--spacing-md);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.hero-headline .accent {
    color: var(--color-terracotta-light);
    font-style: italic;
}

.hero-subheadline {
    font-size: 1.15rem;
    color: rgba(245, 240, 232, 0.85);
    max-width: 560px;
    margin: 0 auto var(--spacing-lg);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   SECTIONS
======================================== */
.section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--spacing-lg);
}

.section-eyebrow {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-terracotta);
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-text-dark);
    line-height: 1.15;
}

.lead {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
}

/* ========================================
   FEATURES GRID
======================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--spacing-md);
    color: var(--color-terracotta);
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-sm);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ========================================
   OFFERINGS SPLIT
======================================== */
.offerings {
    background: var(--color-sand);
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.split-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.split-content {
    padding: var(--spacing-md);
}

.split-content .section-title {
    margin-bottom: var(--spacing-md);
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.feature-list li {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.feature-list .bullet {
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: var(--color-terracotta);
    border-radius: 50%;
    margin-top: 0.6rem;
}

.feature-list strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}

.feature-list span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ========================================
   DRIVE-THRU SECTION
======================================== */
.drive-thru {
    background: var(--color-text-dark);
}

.drive-thru-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    background: rgba(255, 253, 248, 0.04);
    border: 1px solid rgba(245, 240, 232, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    overflow: hidden;
}

.dt-content {
    color: var(--color-text-light);
}

.dt-content .section-eyebrow {
    color: var(--color-terracotta-light);
}

.dt-content .section-title {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.dt-content p {
    color: rgba(245, 240, 232, 0.75);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.dt-stats {
    display: flex;
    gap: var(--spacing-lg);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-terracotta-light);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.6);
}

.dt-image {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.dt-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

/* ========================================
   VISIT / CONTACT
======================================== */
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.contact-item svg {
    color: var(--color-terracotta);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.contact-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-terracotta);
}

.contact-item a:hover {
    color: var(--color-terracotta-dark);
    text-decoration: underline;
}

/* Form */
.visit-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text-dark);
    margin-bottom: var(--spacing-md);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-dark);
    background: var(--color-sand-light);
    border: 1px solid var(--color-sand-dark);
    border-radius: var(--radius-sm);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-terracotta);
    box-shadow: 0 0 0 3px rgba(180, 83, 9, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.form-success {
    display: none;
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: var(--radius-sm);
    color: #166534;
    font-size: 0.9rem;
    text-align: center;
}

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

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background: var(--color-text-dark);
    color: var(--color-text-light);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid rgba(245, 240, 232, 0.1);
    margin-bottom: var(--spacing-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-brand .logo-mark {
    display: inline-block;
    color: var(--color-terracotta-light);
    border-color: var(--color-terracotta-light);
}

.footer-brand .logo-text {
    color: var(--color-white);
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(245, 240, 232, 0.6);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: var(--spacing-md);
}

.footer-links a {
    color: rgba(245, 240, 232, 0.7);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-terracotta-light);
}

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

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.4);
}

/* ========================================
   SCROLL REVEAL ANIMATIONS
   (Progressive enhancement - content visible without JS)
======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.hidden {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* Content always visible by default for no-JS users */
.reveal {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal.hidden {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .drive-thru-card {
        grid-template-columns: 1fr;
    }
    
    .dt-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .split-layout {
        grid-template-columns: 1fr;
    }
    
    .split-image {
        order: -1;
    }
    
    .visit-grid {
        grid-template-columns: 1fr;
    }
    
    .visit-form-wrapper {
        order: -1;
    }
    
    .footer-inner {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .dt-stats {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .hero-headline {
        font-size: 2.25rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }
}
