/* website/app/static/css/base.css */

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

:root {
    /* Core colors only - no unused variables */
    --primary-black: #0a0a0a;
    --white: #ffffff;
    /* --deep-blue-bg: #0d1b2a; */
    --dark-red: #8b0000;
    --sepia: #8b7355;
    --sepia-subtle: #81694b;  
    --sepia-title: #856f50;  

    --darker-sepia: #6b5644;
    --light-sepia: #a89078;
    /* --lightV-sepia: #9d8268 > Slight dark sepia */ 
    --lightv-sepia: #a78f77


    /* --lightV-sepia: #a68d76 > slight dark sepia */
    /* --lightV-sepia: #a38b73 > subtle sepia */
    /* --lightV-sepia: #a1886f > moderate sepia */
    /* --light-sepia: #927558 */
    /* --light-sepia: #876848 */

    --sepia-border: #6b5644;
    /* --category-blue: #1b2838; */
    --category-blue: #243852;  /* Subtle lift */
    /* --category-blue: #2a4060;  /* Moderate lift */
    /* --category-blue: #30486e;  /* More visible */
    


    /* OPTION 1: Very subtle lift */
    /* --deep-blue-bg: #10202d; */
    
    /* OPTION 2: Subtle lift (recommended to try first) */
    /*--deep-blue-bg: #132535; */
    
    /* OPTION 3: Moderate lift */
    /* --deep-blue-bg: #16293a; */
    
    /* OPTION 4: More noticeable */
    /* --deep-blue-bg: #1a2f42; */
    
    /* OPTION 5: Significantly lighter */
    /* --deep-blue-bg: #1e3548; */


    /* OPTION 1: Rich navy blue (warmer, pairs well with sepia) */
    /*--deep-blue-bg: #1a2332; */
    
    /* OPTION 2: Deep indigo blue (slightly warmer) */
    /* --deep-blue-bg: #1b2538; */
    
    /* OPTION 3: Pure midnight blue (no grey/green) */
    /* --deep-blue-bg: #0f1e2e; */
    
    /* OPTION 4: Dark royal blue (richer) */
    /* --deep-blue-bg: #162033; */
    
    /* OPTION 5: Prussian blue (classic, warmer undertone) */
    /* --deep-blue-bg: #1a2842; */
    
    /* ORIGINAL */
    /* --deep-blue-bg: #1a2842; */
    
    /* OPTION 1: Slightly lighter */
    /* --deep-blue-bg: #1f2e4a; */
    
    /* OPTION 2: Moderately lighter */
    /* --deep-blue-bg: #243552; */
    
    /* OPTION 3: More noticeable lift */
    /* --deep-blue-bg: #2a3c5a; */
    
    /* OPTION 4: Significantly lighter */
    /* --deep-blue-bg: #304362; */
    
    /* OPTION 5: Much lighter (still maintains blue character) */
    --deep-blue-bg: #364a6a; */



}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--sepia);
    /* background: var(--deep-blue-bg); */
    position: relative;



    /* Global contrast/brightness control */
    /* filter: brightness(5.4) contrast(6.4); >WRAPS VIDEO TOO! */
}


/* Main background layer with filter - affects body background only */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--deep-blue-bg);
    z-index: -1;
    
    /* TWEAK MAIN BACKGROUND */
    filter: brightness(1.0) contrast(1.9);
}

/* Header & Navi */
header {
    position: relative;
    border-bottom: 1px solid var(--sepia-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Header background layer with separate filter */
header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--deep-blue-bg);
    z-index: -1;
    
    /* TWEAK HEADER/NAVI BACKGROUND SEPARATELY */
    filter: brightness(1.0) contrast(1.9);
}

/* Flow and Art category - explicit background, no filter inheritance */
/* nav a.flow-link, */
/* .video-meta .category { */
/*    background: var(--category-blue) !important; */
/*    position: relative; */
/*    z-index: 1; */
/* } */

/* ========================================
   TEXT LAYER - Separate brightness/contrast control
   Affects all text EXCEPT footer copyright
   ======================================== */


/* Brand text */
.brand a {
    filter: brightness(1.24) contrast(1.54);
    text-shadow: 
        -0.32px -0.32px 0 #886419,
        0.32px -0.32px 0 #886419,
        -0.32px 0.32px 0 #886419,
        0.32px 0.32px 0 #886419,
        0 0 0.032px rgba(212, 175, 55, 0.5);
}

/* Navi links */
nav a {
    filter: brightness(1.24) contrast(1.54);
    text-shadow: 
        -0.32px -0.32px 0 #886419,
        0.32px -0.32px 0 #886419,
        -0.32px 0.32px 0 #886419,
        0.32px 0.32px 0 #886419,
        0 0 0.032px rgba(212, 175, 55, 0.5);
}

/* All text in main content area */
main {
    filter: brightness(1.24) contrast(1.54);
    text-shadow: 
        -0.32px -0.32px 0 #886419,
        0.32px -0.32px 0 #886419,
        -0.32px 0.32px 0 #886419,
        0.32px 0.32px 0 #886419,
        0 0 0.032px rgba(212, 175, 55, 0.5);
}


/* Exclude video from text filter */
video {
    filter: none !important;
}

/* Keep Flow and Art category untouched */
/* nav a.flow-link, */
/* .video-meta .category { */
/*    filter: none !important; */
/* }


/* Flow and Art category - separate brightness/contrast */
/* nav a.flow-link, */
/* .video-meta .category { */
/*    filter: brightness(1.0) contrast(1.4) !important; */
/* } */


/* Flow category - separate brightness/contrast */
nav a.flow-link {
    filter: brightness(1.174) contrast(1.64) !important;
}

/* Art category - separate brightness/contrast */
.video-meta .category {
    filter: brightness(1.0) contrast(1.32) !important;
}






.brand {
    text-align: center;
    padding: 1rem 0 0.5rem;
}

.brand a {
    font-size: 1.25rem;
    font-weight: 600;
 
    color: var(--sepia-title);  
 
    text-decoration: none;
    letter-spacing: -0.5px;
}

nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem 2rem;
    border-top: 1px solid var(--sepia-border);
}

nav a {
    color: var(--sepia);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

nav a:hover {
    color: var(--light-sepia);
}

nav a.flow-link {
    /* color: var(--sepia); */
    color: var(--lightv-sepia);  /* Lighter sepia */

    background: var(--category-blue);
}

nav a.flow-link:hover {
    opacity: 0.8;
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    min-height: 60vh;
}

/* Flash Messages */
.flash {
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    background: #d4edda;
    border-left: 4px solid #28a745;
    border-radius: 4px;
    color: #155724;
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--primary-black);
    color: var(--dark-red);
    margin-top: 5rem;
}

/* Forms */
form {
    background: var(--category-blue);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid var(--sepia-border);
}

form label {
    display: block;
    margin-top: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--sepia);
}

form input, form textarea, form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--sepia-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    background: var(--deep-blue-bg);
    color: var(--sepia);
}

form input:focus, form textarea:focus, form select:focus {
    outline: none;
    border-color: var(--sepia);
}

form button {
    margin-top: 2rem;
    padding: 0.875rem 2.5rem;
    background: var(--darker-sepia);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: opacity 0.2s;
}

form button:hover {
    opacity: 0.85;
}

.btn {
    display: inline-block;
    padding: 0.875rem 2.5rem;
    background: var(--darker-sepia);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    margin-bottom: 2rem;
    font-weight: 600;
    transition: opacity 0.2s;
}

.btn:hover {
    opacity: 0.85;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 5rem 0;
    color: var(--light-sepia);
}

/* Responsive */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .brand a {
        font-size: 2rem;
    }
}

















