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

/* --- CUSTOM PROPERTIES (EDITORIAL LIGHT) --- */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #faf9f6;
    --bg-card: #ffffff;
    --bg-input: #fafafa;
    --accent-gold: #c39a53;
    --accent-gold-glow: rgba(195, 154, 83, 0.1);
    --accent-gold-hover: #b08742;
    --accent-bronze: #705335;
    --accent-bronze-glow: rgba(112, 83, 53, 0.08);
    --text-primary: #111111;
    --text-secondary: #4a4a4a;
    --text-muted: #888888;
    --border-color: #eaeaea;
    --border-gold: rgba(195, 154, 83, 0.3);
    --border-gold-hover: rgba(195, 154, 83, 0.7);
    --transition-smooth: all 0.4s cubic-bezier(0.2, 1, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-subheading: 'Cinzel', serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --header-height: 110px;
    --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-secondary);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 400;
}

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: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: #dddddd;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

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

.section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.text-center { text-align: center; }
.gold-text { color: var(--accent-gold); }
.uppercase-sub {
    font-family: var(--font-subheading);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-gold);
}

/* --- BUTTONS (EDITORIAL SQUARE) --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-subheading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 0px; /* Square */
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text-primary);
    color: #fff;
    border-color: var(--text-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-primary);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--accent-gold);
    color: #fff;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline-white:hover {
    background: var(--bg-secondary);
    border-color: var(--text-primary);
    transform: translateY(-2px);
}

/* --- ANNOUNCEMENT BANNER --- */
.announcement-banner {
    height: var(--banner-height);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-family: var(--font-subheading);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    letter-spacing: 0.15em;
    padding: 0 10px;
    border-bottom: 1px solid var(--border-color);
}

/* --- EDITORIAL HEADER --- */
header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 24px;
    gap: 15px;
}

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.nav-row {
    width: 100%;
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

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

.nav-link {
    font-family: var(--font-subheading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    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-absolute {
    position: absolute;
    right: 24px;
    top: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    color: var(--text-primary);
}

.header-icon {
    font-size: 1.1rem;
    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(--text-primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* --- HERO SECTION --- */
.hero {
    height: 70vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,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.7;
    z-index: -1;
}

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

.hero-tagline {
    margin-bottom: 20px;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 24px;
    font-style: italic;
    color: var(--text-primary);
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* --- SPLIT GRID EDITORIAL STORY --- */
.story-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
    align-items: center;
}

.story-image-box {
    position: relative;
    border: 1px solid var(--border-color);
    padding: 15px; /* Picture Frame look */
    background: #fff;
    aspect-ratio: 4 / 3;
}

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

.story-image-box::after {
    display: none; /* No overlay border */
}

/* --- PRODUCT CARDS (BORDERLESS MINIMALIST) --- */
.collection-header {
    margin-bottom: 60px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.filter-btn {
    font-family: var(--font-subheading);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 8px 0;
    cursor: pointer;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: var(--transition-smooth);
}

.filter-btn.active, .filter-btn:hover {
    color: var(--text-primary);
    border-bottom-color: var(--text-primary);
}

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

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

.product-card:hover {
    border-color: var(--text-primary);
}

.product-badge {
    position: absolute;
    top: 0;
    left: 0;
    background: var(--text-primary);
    color: #fff;
    font-family: var(--font-subheading);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 12px;
    z-index: 2;
}

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

.product-img-wrapper {
    position: relative;
    padding-top: 100%;
    background: #fbfbfb;
    border-bottom: 1px solid var(--border-color);
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

.product-title {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    margin-bottom: 10px;
    font-style: italic;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.sub-save-widget {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 10px;
    margin-bottom: 20px;
}

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

.sub-save-option:first-child {
    border-bottom: 1px solid var(--border-color);
}

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

.sub-save-label {
    display: flex;
    align-items: center;
    color: var(--text-primary);
}

.sub-save-tag {
    background: var(--text-primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 1px 5px;
    margin-left: 6px;
    text-transform: uppercase;
}

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

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

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

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

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

.resource-card:hover {
    border-color: var(--accent-gold);
}

.resource-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-style: italic;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.resource-badge {
    font-family: var(--font-subheading);
    font-size: 0.65rem;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 3px 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

.emergency-alert {
    border: 1px solid var(--text-primary);
    padding: 50px;
    text-align: center;
}

.emergency-alert h3 {
    font-size: 2rem;
    font-style: italic;
    margin-bottom: 15px;
}

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

.crisis-number {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    border-bottom: 2px solid var(--text-primary);
    display: inline-block;
    padding-bottom: 5px;
}

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

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

.contact-info-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

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

.contact-info-text h4 {
    font-family: var(--font-subheading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.contact-info-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form {
    border: 1px solid var(--border-color);
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-family: var(--font-subheading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

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

.form-control:focus {
    border-color: var(--text-primary);
    background-color: var(--bg-primary);
}

/* --- MERCH COMING SOON --- */
.coming-soon-wrapper {
    height: 55vh;
    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(255,255,255,0.7) 0%, rgba(255,255,255,0.95) 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.9;
    z-index: -1;
}

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

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

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

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

/* --- WIDGETS --- */
.chat-widget-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--text-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 999;
    transition: var(--transition-smooth);
}

.chat-widget-btn:hover {
    transform: translateY(-3px);
}

.chat-drawer {
    position: fixed;
    bottom: 95px;
    right: 30px;
    width: 340px;
    height: 460px;
    background: #fff;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    z-index: 998;
    transform: translateY(15px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.chat-header {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header h3 {
    font-family: var(--font-subheading);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.chat-close {
    cursor: pointer;
    font-size: 1rem;
}

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

.chat-bubble {
    padding: 10px 14px;
    font-size: 0.85rem;
    line-height: 1.45;
}

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

.chat-bubble.user {
    background-color: var(--text-primary);
    color: #fff;
    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-input);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    font-size: 0.85rem;
}

.chat-send {
    background-color: var(--text-primary);
    color: #fff;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.loyalty-widget-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #fff;
    border: 1px solid var(--text-primary);
    padding: 10px 20px;
    font-family: var(--font-subheading);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 999;
}

.loyalty-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    background: #fff;
    border: 1px solid var(--text-primary);
    padding: 40px 30px;
    z-index: 1010;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
}

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

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.1);
    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-header h3 {
    font-family: var(--font-subheading);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.toast {
    position: fixed;
    bottom: 95px;
    left: 30px;
    background: #fff;
    border: 1px solid var(--text-primary);
    padding: 12px 20px;
    z-index: 1000;
    opacity: 0;
    font-size: 0.85rem;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    pointer-events: none;
}

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

/* --- FOOTER --- */
footer {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 80px 0 40px 0;
}

footer h4, footer a {
    color: var(--text-primary);
}

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

.footer-about .logo-img {
    height: 50px;
    margin-bottom: 25px;
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-links-col h4, .footer-subscribe h4 {
    font-family: var(--font-subheading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 25px;
}

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

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

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

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

.footer-subscribe p {
    font-size: 0.9rem;
    margin-bottom: 20px;
}

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

.footer-sub-form input {
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    font-size: 0.85rem;
    flex-grow: 1;
}

.footer-sub-form input::placeholder {
    color: var(--text-muted);
}

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

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

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

    header {
        --header-height: 80px;
    }
    
    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: var(--header-height);
    }
    
    .logo-img {
        height: 45px;
    }
    
    .nav-row {
        display: none;
    }
    
    .menu-toggle {
        display: block;
        color: var(--text-primary);
    }
    
    .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;
    }
    
    .header-actions-absolute {
        position: static;
    }
    
    .hero-title {
        font-size: 2.4rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}
