@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CUSTOM PROPERTIES (DESIGN TOKENS) --- */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #121212;
    --bg-card: #181818;
    --bg-input: #1f1f1f;
    --accent-gold: #c5a059;
    --accent-gold-glow: rgba(197, 160, 89, 0.4);
    --accent-gold-hover: #ebd098;
    --accent-bronze: #8c6239;
    --accent-bronze-glow: rgba(140, 98, 57, 0.3);
    --text-primary: #f5f5f0;
    --text-secondary: #b5b5b0;
    --text-muted: #757570;
    --border-color: #262626;
    --border-gold: rgba(197, 160, 89, 0.2);
    --border-gold-hover: rgba(197, 160, 89, 0.5);
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --header-height: 80px;
    --banner-height: 40px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    letter-spacing: 0.05em;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
    background: none;
    border: none;
    outline: none;
}

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

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--accent-bronze);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.text-center { text-align: center; }
.gold-text { color: var(--accent-gold); }
.bronze-text { color: var(--accent-bronze); }

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn-primary {
    background: var(--accent-gold);
    color: #000;
    box-shadow: 0 4px 15px var(--accent-gold-glow);
    border: 1px solid var(--accent-gold);
}

.btn-primary:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-gold-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
}

.btn-secondary:hover {
    background: rgba(197, 160, 89, 0.08);
    color: var(--accent-gold-hover);
    border-color: var(--accent-gold-hover);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-outline-white:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* --- ANNOUNCEMENT BANNER --- */
.announcement-banner {
    height: var(--banner-height);
    background: linear-gradient(90deg, var(--accent-bronze) 0%, #4a2f1b 50%, var(--accent-bronze) 100%);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.05em;
    padding: 0 10px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.2);
    z-index: 1001;
    position: relative;
}

/* --- GLASS HEADER --- */
header {
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.scrolled {
    height: 70px;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 5px 0;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
    transition: all 0.3s ease;
}

header.scrolled .logo-img {
    height: 50px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-icon {
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.header-icon:hover {
    color: var(--accent-gold);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent-gold);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    height: calc(100vh - var(--header-height) - var(--banner-height));
    min-height: 550px;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(30, 20, 10, 0.4) 0%, rgba(10, 10, 10, 1) 100%);
}

/* Background element simulating military/tactical coffee texture */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(10,10,10,0.5), rgba(10,10,10,0.9)), url('https://images.unsplash.com/photo-1514432324607-a09d9b4aefdd?q=80&w=1974&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.35;
    z-index: -1;
    transform: scale(1.05);
    animation: zoomOut 20s ease-out forwards;
}

@keyframes zoomOut {
    to { transform: scale(1); }
}

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

.hero-tagline {
    font-family: var(--font-heading);
    color: var(--accent-gold);
    font-size: 1.1rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 16px;
    display: block;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 900;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease-out;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 36px;
    animation: fadeInUp 1.2s ease-out;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    animation: fadeInUp 1.4s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- VETERAN MISSION SPOTLIGHT --- */
.mission-spotlight {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.mission-box {
    background: linear-gradient(135deg, rgba(24, 24, 24, 0.9) 0%, rgba(18, 18, 18, 0.9) 100%);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mission-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-gold);
}

.mission-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(197, 160, 89, 0.05);
    user-select: none;
}

.mission-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mission-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* --- PRODUCT CARDS & COLLECTION GRID --- */
.collection-header {
    margin-bottom: 50px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}

.filters-wrapper {
    display: flex;
    gap: 12px;
}

.filter-btn {
    padding: 8px 18px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(197,160,89,0.05);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-gold-hover);
    box-shadow: 0 10px 25px rgba(0,0,0,0.6), 0 0 15px rgba(197,160,89,0.1);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-bronze);
    color: var(--text-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    border-radius: 3px;
    z-index: 2;
}

.product-badge.gold {
    background: var(--accent-gold);
    color: #000;
}

.product-img-wrapper {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: #0d0d0d;
    overflow: hidden;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-stars {
    color: var(--accent-gold);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.product-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Subscribe and Save pricing toggle widget */
.sub-save-widget {
    background: rgba(0,0,0,0.25);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
}

.sub-save-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    cursor: pointer;
    font-size: 0.85rem;
}

.sub-save-option:first-child {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.sub-save-radio {
    margin-right: 8px;
    accent-color: var(--accent-gold);
}

.sub-save-label {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.sub-save-tag {
    background: rgba(197, 160, 89, 0.15);
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 3px;
    margin-left: 6px;
    text-transform: uppercase;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.price-crossed {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
    margin-right: 6px;
}

/* --- THE HEART (OUR STORY SECTION) --- */
.our-story-section {
    background: radial-gradient(circle at bottom right, rgba(140, 98, 57, 0.08) 0%, rgba(10, 10, 10, 1) 70%);
    border-top: 1px solid var(--border-color);
}

.story-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-image-box {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
    aspect-ratio: 4 / 3;
}

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

.story-image-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid var(--accent-gold);
    margin: 15px;
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
}

.story-title {
    font-size: 2.5rem;
    margin-bottom: 24px;
    line-height: 1.2;
}

.story-paragraph {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.story-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--accent-gold);
    border-left: 3px solid var(--accent-gold);
    padding-left: 20px;
    margin: 30px 0;
}

/* --- VETERAN RESOURCES --- */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.resource-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.resource-card:hover {
    border-color: var(--border-gold-hover);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.resource-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.resource-badge {
    font-size: 0.75rem;
    background: rgba(255,255,255,0.08);
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
}

.resource-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.emergency-alert {
    background: linear-gradient(135deg, #3d1010 0%, #1a0808 100%);
    border: 1px solid #ff4d4d33;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(244,67,54,0.1);
}

.emergency-alert h3 {
    color: #ff4d4d;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.emergency-alert p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 24px auto;
}

.crisis-number {
    font-size: 2.2rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--text-primary);
    background: rgba(255, 77, 77, 0.1);
    display: inline-block;
    padding: 10px 30px;
    border-radius: 6px;
    border: 1px dashed #ff4d4d;
}

/* --- CONTACT FORM --- */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-list {
    margin-top: 30px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-info-icon {
    font-size: 1.5rem;
    color: var(--accent-gold);
}

.contact-info-text h4 {
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 5px;
}

.contact-info-text p {
    color: var(--text-secondary);
}

.contact-form {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.15);
}

/* --- MERCH COMING SOON --- */
.coming-soon-wrapper {
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.coming-soon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(140, 98, 57, 0.1) 0%, rgba(10,10,10,0.9) 100%), url('https://images.unsplash.com/photo-1578932750294-f5075e85f44a?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    opacity: 0.2;
    z-index: -1;
}

.coming-soon-title {
    font-size: 3.5rem;
    margin-bottom: 16px;
}

.coming-soon-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 30px;
}

.notify-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    width: 100%;
}

.notify-form input {
    flex-grow: 1;
}

/* --- CHAT DRAWER & LOYALTY WIDGETS --- */
.chat-widget-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--accent-gold);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.3);
    z-index: 999;
    transition: var(--transition-smooth);
}

.chat-widget-btn:hover {
    transform: scale(1.1);
    background: var(--accent-gold-hover);
}

.chat-drawer {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 360px;
    height: 480px;
    background: rgba(24, 24, 24, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    display: flex;
    flex-direction: column;
    z-index: 998;
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-drawer.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chat-header {
    background: var(--accent-bronze);
    padding: 16px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h3 {
    font-size: 1.1rem;
}

.chat-close {
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.chat-close:hover {
    color: var(--accent-gold);
}

.chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-bubble {
    padding: 10px 14px;
    border-radius: 8px;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-bubble.bot {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    align-self: flex-start;
}

.chat-bubble.user {
    background-color: var(--accent-gold);
    color: #000;
    align-self: flex-end;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
}

.chat-input {
    flex-grow: 1;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.chat-send {
    background-color: var(--accent-gold);
    color: #000;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.chat-send:hover {
    background-color: var(--accent-gold-hover);
}

/* Loyalty Points Widget */
.loyalty-widget-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    padding: 10px 18px;
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 999;
}

.loyalty-widget-btn:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.loyalty-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 400px;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 30px;
    z-index: 1010;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 15px 40px rgba(0,0,0,0.8);
    transition: var(--transition-smooth);
}

.loyalty-modal.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.7);
    z-index: 1005;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.loyalty-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.loyalty-points-display {
    font-size: 3rem;
    color: var(--accent-gold);
    font-weight: 700;
    text-align: center;
    margin: 20px 0;
    font-family: var(--font-heading);
}

/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 110px;
    left: 30px;
    background: var(--bg-card);
    border: 1px solid var(--accent-gold);
    border-left: 4px solid var(--accent-gold);
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* --- FOOTER --- */
footer {
    background-color: #050505;
    border-top: 1px solid var(--border-color);
    padding: 70px 0 30px 0;
}

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

.footer-about .logo-img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-about p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links-col h4, .footer-subscribe h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-links-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: var(--accent-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

.footer-subscribe p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.footer-sub-form {
    display: flex;
    gap: 8px;
}

.footer-sub-form input {
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 0.9rem;
    flex-grow: 1;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- RESPONSIVENESS (MEDIA QUERIES) --- */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .story-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-image-box {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .contact-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .logo-img { height: 45px !important; }

    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        padding-top: 50px;
        gap: 30px;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
    }
    
    .nav-menu.open {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .mission-box {
        padding: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .chat-drawer {
        width: calc(100% - 60px);
    }
}

/* --- FOUNDER'S LETTER CARD FOR OUR STORY PAGE --- */
.story-letter-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
}

.story-letter-visual {
    background: linear-gradient(rgba(10,10,10,0.3), rgba(10,10,10,0.85)), url('https://images.unsplash.com/photo-1578932750294-f5075e85f44a?q=80&w=600&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    border-right: 1px solid var(--border-color);
}

.story-letter-content {
    padding: 60px;
}

@media (max-width: 992px) {
    .story-letter-card {
        grid-template-columns: 1fr;
    }
    .story-letter-visual {
        min-height: 280px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 30px;
    }
    .story-letter-content {
        padding: 40px 24px;
    }
}

