/* ============================================
   TATANKA TRADING POST — Custom Styles
   Color Palette: Burgundy (#7B2D3B) + Blush (#F5E6D3)
   Typography: Playfair Display (serif headlines) + Inter (sans body)
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-dark: #5C1F2B;
    --burgundy-light: #9A3D4E;
    --blush: #F5E6D3;
    --blush-light: #FDF6EE;
    --blush-dark: #E8D5C0;
    --cream: #FFFAF5;
    --charcoal: #1A1A1A;
    --text: #2C2C2C;
    --text-light: #5A5A5A;
    --text-muted: #8A8A8A;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(123, 45, 59, 0.08);
    --shadow-md: 0 8px 30px rgba(123, 45, 59, 0.12);
    --shadow-lg: 0 20px 60px rgba(123, 45, 59, 0.15);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--text);
    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: var(--burgundy);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.15;
    color: var(--charcoal);
}

h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

em {
    font-style: italic;
    color: var(--burgundy);
}

strong {
    font-weight: 600;
    color: var(--charcoal);
}

/* ---------- SECTION EYEBROW ---------- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 16px;
    display: block;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

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

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

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

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

.btn-large {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- HEADER / NAV ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 250, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(123, 45, 59, 0.08);
    transition: all var(--transition);
}

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

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

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--burgundy);
}

.logo-icon {
    flex-shrink: 0;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.logo-light {
    color: var(--blush);
}

/* Nav */
.main-nav {
    display: flex;
    align-items: center;
}

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

.nav-menu a {
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.nav-menu a:hover {
    color: var(--burgundy);
    background: rgba(123, 45, 59, 0.06);
}

.nav-cta {
    background-color: var(--burgundy) !important;
    color: var(--white) !important;
    margin-left: 8px;
}

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

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--burgundy);
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 26, 26, 0.55) 0%,
        rgba(123, 45, 59, 0.45) 50%,
        rgba(26, 26, 26, 0.7) 100%
    );
    z-index: -1;
}

.hero-content {
    text-align: center;
    padding: 120px 24px 80px;
    max-width: 820px;
}

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 24px;
    opacity: 0.9;
}

.hero-headline {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 24px;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.hero-headline em {
    color: var(--blush);
    font-style: italic;
}

.hero-subhead {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: rgba(255, 250, 245, 0.85);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-actions .btn-primary {
    background-color: var(--burgundy);
    border-color: var(--burgundy);
}

.hero-actions .btn-primary:hover {
    background-color: var(--burgundy-light);
    border-color: var(--burgundy-light);
}

.hero-actions .btn-secondary {
    border-color: var(--blush);
    color: var(--blush);
}

.hero-actions .btn-secondary:hover {
    background-color: var(--blush);
    color: var(--burgundy-dark);
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 250, 245, 0.6);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ---------- ABOUT ---------- */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

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

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

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

.about-content p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

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

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--burgundy);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---------- PRODUCTS ---------- */
.products {
    padding: 120px 0;
    background: var(--blush-light);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}

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

.product-card-img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-img img {
    transform: scale(1.08);
}

.product-card h3 {
    padding: 24px 28px 0;
    font-family: var(--font-serif);
    font-weight: 700;
}

.product-card p {
    padding: 12px 28px 28px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- WHY US ---------- */
.why-us {
    padding: 120px 0;
    background: var(--burgundy);
    color: var(--white);
}

.why-us .section-eyebrow {
    color: var(--blush);
}

.why-us .section-title {
    color: var(--white);
    text-align: center;
    margin-bottom: 64px;
}

.why-us-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.feature {
    padding: 36px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(245, 230, 211, 0.15);
    margin-bottom: 20px;
    color: var(--blush);
}

.feature h3 {
    color: var(--white);
    font-family: var(--font-serif);
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.feature p {
    color: rgba(255, 250, 245, 0.75);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- LOCATION ---------- */
.location {
    padding: 120px 0;
    background: var(--cream);
}

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

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

.location-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 40px;
}

.location-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.location-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--blush);
    color: var(--burgundy);
}

.location-item strong {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
    font-weight: 600;
}

.location-item p {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.6;
}

.location-item a {
    color: var(--burgundy);
    font-weight: 600;
}

.location-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    aspect-ratio: 4/3;
    background: var(--blush);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
    text-align: center;
    padding: 40px;
}

.map-placeholder svg {
    color: var(--burgundy);
    opacity: 0.5;
}

.map-placeholder p {
    font-size: 0.9rem;
}

/* ---------- CTA ---------- */
.cta {
    padding: 120px 0;
    background: var(--blush-light);
}

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

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

.cta-text > p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.cta-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--burgundy);
    font-weight: 500;
    font-size: 1rem;
}

.cta-contact-item:hover {
    color: var(--burgundy-dark);
}

/* Form */
.cta-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 32px;
    color: var(--charcoal);
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--blush-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--blush-light);
    transition: all var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--burgundy);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(123, 45, 59, 0.1);
}

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

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

.form-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 16px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 48px 24px;
}

.form-success svg {
    color: var(--burgundy);
    margin-bottom: 20px;
}

.form-success h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin-bottom: 12px;
    color: var(--charcoal);
}

.form-success p {
    color: var(--text-light);
}

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--charcoal);
    color: var(--blush);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(245, 230, 211, 0.12);
}

.footer-brand p {
    color: rgba(245, 230, 211, 0.6);
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-hours h4,
.footer-contact h4 {
    color: var(--blush);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-links ul,
.footer-hours ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(245, 230, 211, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}

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

.footer-hours li {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(245, 230, 211, 0.6);
    gap: 16px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(245, 230, 211, 0.6);
}

.footer-contact a {
    color: rgba(245, 230, 211, 0.6);
}

.footer-contact a:hover {
    color: var(--blush);
}

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

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

/* ---------- ANIMATIONS ---------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .location-grid,
    .cta-inner {
        gap: 48px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }
    
    .nav-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        align-items: stretch;
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
        transition: right var(--transition);
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        padding: 14px 16px;
        font-size: 1rem;
    }
    
    .nav-cta {
        margin-left: 0 !important;
        margin-top: 16px;
        text-align: center;
        justify-content: center;
    }
    
    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    /* Mobile menu close button */
    .nav-toggle::after {
        content: '';
        position: absolute;
        top: -60px;
        right: -60px;
        width: 120px;
        height: 120px;
    }
    
    .hero-content {
        padding: 100px 24px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image-wrapper {
        max-height: 400px;
    }
    
    .about-stats {
        gap: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .location-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .cta-form-wrapper {
        padding: 32px 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .about,
    .products,
    .why-us,
    .location,
    .cta {
        padding: 80px 0;
    }
    
    .hero-headline {
        font-size: 2.4rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
}
