/**
 * PROJECT: Christine's Crochet Closet (CCC)
 * VERSION: 4.0.0 (Vibrant Patriot Update)
 * THEME: Bright Sci-Fi Patriotic
 * CHANGES: Lightened background overlays, shifted panels to Deep Blue.
 */

/* --- 1. THEME VARIABLES --- */
:root {
    /* Primary Patriotic Palette */
    --ccc-blue: #00A2FF;      /* Electric Sci-Fi Blue */
    --ccc-red:  #FF0000;      /* Vibrant Patriot Red */
    --ccc-white: #FFFFFF;     /* Pure White for maximum contrast */
    
    /* NEW: Surface & UI Colors (Shifted from Grey/Black to Blue) */
    --panel-blue: rgba(0, 35, 102, 0.8); /* Deep Patriot Blue Translucent */
    --nav-blue: rgba(0, 20, 60, 0.95);
    --glass-blur: blur(12px);
    
    /* Animation & Glows */
    --glow-blue: 0 0 15px rgba(0, 162, 255, 0.8);
    --glow-red: 0 0 20px rgba(255, 0, 0, 0.6);
    --transition-standard: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- 2. CORE RESET & BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Exo 2', sans-serif;
    color: var(--ccc-white);
    /* LIGHTENED OVERLAY: Shifting from black 0.6 to a lighter 0.3/0.4 to show more flag/eagle */
    background: linear-gradient(rgba(0, 35, 102, 0.4), rgba(0, 20, 60, 0.5)), 
                url('/assets/img/patriotic_background.jpg') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- 3. DYNAMIC DIV ELEMENTS (The "Vibrant" Panels) --- */
.ccc-panel {
    background: var(--panel-blue); /* Shifted to Blue */
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 2px solid rgba(255, 255, 255, 0.2); /* Clean White/Silver Edge */
    border-radius: 8px;
    padding: 2.5rem;
    position: relative;
    transition: var(--transition-standard);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.ccc-panel:hover {
    transform: translateY(-8px);
    border: 2px solid var(--ccc-red); /* Glowing Red Border on Hover */
    box-shadow: var(--glow-red);
}

/* --- 4. NEON TYPOGRAPHY --- */
h1, h2, h3, .glowing-title {
    font-family: 'Michroma', sans-serif;
    color: var(--ccc-white); /* Shifted to white for better legibility on blue */
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: var(--glow-blue);
    animation: neonFlicker 4s infinite alternate;
}

@keyframes neonFlicker {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 162, 255, 0.8); }
    50% { text-shadow: 0 0 20px rgba(0, 162, 255, 1), 0 0 30px rgba(0, 162, 255, 0.5); }
}

p, .text-standard {
    color: var(--ccc-white);
    font-weight: 400; /* Slightly bolder for readability */
}

/* --- 5. NAVIGATION ARCHITECTURE --- */
.main-nav-interface {
    background: var(--nav-blue);
    backdrop-filter: var(--glass-blur);
    border-bottom: 3px solid var(--ccc-red); /* Shifted to Red for Patriotic Pop */
    padding: 1rem 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.5);
}

.nav-link {
    color: var(--ccc-white) !important;
    font-weight: 600;
    margin: 0 15px;
    letter-spacing: 1.5px;
    transition: var(--transition-standard);
}

.nav-link:hover, .active-ccc {
    color: var(--ccc-blue) !important;
    text-shadow: var(--glow-blue);
    transform: translateY(-2px);
}

/* --- 6. TACTICAL PRODUCT MODULES (The "WOW" Cards) --- */
.product-module {
    position: relative;
    overflow: hidden;
    background: var(--panel-blue); /* Shifted to Deep Blue */
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-standard);
}

.product-module:hover {
    border: 1px solid var(--ccc-blue);
    box-shadow: var(--glow-blue);
}

/* Floating Price Tag */
.product-price-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--ccc-red);
    color: #fff;
    padding: 6px 15px;
    font-family: 'Michroma', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%);
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.8);
    z-index: 5;
}

/* Image Framing */
.product-img-frame {
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--ccc-blue);
}

/* --- 7. TERMINAL FOOTER --- */
.ccc-footer {
    background: var(--nav-blue);
    border-top: 3px solid var(--ccc-red);
    padding: 4rem 0 2rem 0;
}

/* --- 8. UTILITIES --- */
.text-ccc-blue { color: var(--ccc-blue); font-weight: bold; }
.text-ccc-red  { color: #ff4d4d; font-weight: bold; } /* Slightly brighter red for text */