:root {
    /* Color Palette (Muted Texan Dark Mode - Soft Red, White, Navy) */
    --bg-main: #0f172a;       /* Soft Navy / Slate */
    --bg-secondary: #1e293b;  /* Lighter Slate */
    --bg-tertiary: #334155;   /* Medium Slate */
    --text-main: #f1f5f9;     /* Soft White */
    --text-muted: #94a3b8;    /* Muted Gray */
    --text-dark: #64748b;     /* Dark Gray */
    --accent: #b91c1c;        /* Classic Brick Red */
    --accent-hover: #991b1b;  /* Darker Brick Red */
    --accent-glow: rgba(185, 28, 28, 0.15);
    --white: #ffffff;
    --blue-accent: #60a5fa;   /* Soft Steel Blue */
    
    /* Typography */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Layout */
    --container-max: 1400px;
    --nav-height: 200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul { list-style: none; }

.font-heading { font-family: var(--font-heading); }
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(to right, var(--bg-tertiary), var(--accent-hover), var(--bg-tertiary));
    color: var(--white);
    text-align: center;
    padding: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bg-secondary);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 140px; /* Reduced from 200px for shop flow */
    transition: height 0.4s ease;
}

.nav-links {
    display: flex;
    gap: 32px;
    flex: 1;
}

.nav-links.left { justify-content: flex-start; }
.nav-links.right { justify-content: flex-end; }

.nav-link {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

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

.btn-outline {
    padding: 10px 20px;
    border: 1px solid var(--accent-hover);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.btn-outline:hover { background-color: var(--accent-hover); }

/* Logo */
.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 0 0 150px;
}

.nav-logo img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    border: 2px solid var(--bg-tertiary);
    object-fit: cover;
    margin-bottom: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.nav-logo-text h1 {
    font-size: 18px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    text-align: center;
}

.nav-logo-text p {
    font-size: 10px;
    color: var(--blue-accent);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-align: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: 8px;
}

/* Mobile Dropdown */
.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--bg-secondary);
    padding: 24px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    z-index: 1000;
}

.mobile-menu.active { display: flex; }

/* Scrolled State */
.navbar.scrolled .nav-container {
    height: 80px;
}
.navbar.scrolled .nav-logo img {
    height: 50px;
    width: 50px;
    margin-bottom: 2px;
}
.navbar.scrolled .nav-logo-text h1 {
    font-size: 14px;
}

/* Hero Section */
.hero {
    position: relative;
    height: 45vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

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

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.6) 0%, rgba(15, 23, 42, 0.95) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-subtitle {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 16px;
}

.highlight {
    background: linear-gradient(to right, var(--blue-accent), #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
}

.loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 0;
    color: var(--text-muted);
}

.loading-state i {
    width: 40px;
    height: 40px;
    margin-bottom: 16px;
    color: var(--accent);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}

/* Grid & Cards */
.section-padding { padding: 80px 0; }
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s ease;
}

.card:hover { 
    transform: translateY(-10px); 
    border-color: var(--accent);
}

.card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    filter: brightness(0.85);
}

.card:hover img { filter: brightness(1.05); }

.card-content { padding: 24px; }
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.card-morph {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
    min-height: 2.4em;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--bg-tertiary);
    padding-top: 20px;
}

.price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
}

.btn-primary {
    padding: 12px 28px;
    background-color: var(--accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    cursor: pointer;
}

.btn-primary:hover { background-color: var(--accent-hover); }

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: var(--bg-main);
    border: 1px solid var(--bg-tertiary);
    margin: 5% auto;
    padding: 40px;
    max-width: 500px;
    position: relative;
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.close {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted);
}

.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.1em;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--bg-tertiary);
    color: var(--white);
    font-family: var(--font-body);
}

.form-group input:focus { outline: none; border-color: var(--accent); }

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.btn-primary-full {
    width: 100%;
    padding: 16px;
    background-color: var(--accent);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.btn-primary-full:hover { background-color: var(--accent-hover); }

.btn-primary-full:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--bg-tertiary);
}

.copyright {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-container { height: 80px; }
    .menu-toggle { display: block; }
    .hero-title { font-size: 2rem; }
    .nav-logo { flex: 1; }
    .nav-logo img { height: 50px; width: 50px; }
    .grid-2-col { grid-template-columns: 1fr; }
}
