﻿:root {
    --brand: #2E004f;
    --brandhi: #4A1380;
    --accent: #e6531e;
    --accentlo: #bf360c;
    --accentsoft:#fddfca ; 
    --neutralhi: #6f6f6f;
    --neutrallo: #202020;
    --bg: white;
    --bg-soft: #fafafa;
    --inkhi: #2f2f2f;
    --inklo: #1a1a1a;
    --muted: #c4c4c4;
    --mutedhi: #e0e0e0;
    --mutedlo: #6f6f6f;
    --border: #e5e7eb;
    --card: #ffffff;
    --cta: #e6531e;
    --cta-hi: #ff6a2a;
    --cta-lo: #d2491a;
    --gradient-start: #2e004f;
    --gradient-end: #e6531e;
    --link: #2e004f;
    --linkhi: #4a1380;
    --hero-overlay: #d6cbc0;
    /* metrics */
    --header-height: 60px;
}

html {
    font-size: 15px;
}

body {
    margin: 0;
    font-family: ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Ubuntu,Cantarell,Noto Sans,Arial;
    font-size: 1rem;
    color: var(--ink);
    background: var(--bg)
}


header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,.9);
    backdrop-filter: saturate(160%) blur(8px); 
    border-bottom: 1px solid var(--border);
    padding: 4px 40px;
    font-size: 1.05rem;
    z-index: 50;
}

details {
    scroll-margin-top: var(--header-height);
}

section {
    padding: 15px 40px;
    /*background-color: var(--bg-soft);*/
    background: linear-gradient(to bottom, var(--bg), var(--bg-soft));
    scroll-margin-top: var(--header-height);
}    


footer {
    background-color: var(--brand);
    color: white;
    font-size: 0.8rem;
    padding: 4px 40px;
}

    footer .title {
        font-size: 2.1em;
        line-height: 1.6em;
        font-weight: 500;
        padding: 6px 2px;
        vertical-align: bottom;
    }

    footer a, footer a.nav-link {
        color: white;
        font-size: 1.2em;
        padding: 0px;
        transition: color 0.3s ease, text-shadow 0.3s ease;
    }


        footer a:hover, footer a.nav-link:hover {
            color: white;
            font-size: 1.2em;
            text-shadow: 0 0 3px rgba(255,255,255,0.7), 0 0 6px rgba(255,255,255,0.5), 0 0 12px rgba(255,255,255,0.3);
        }

    footer .tagline {
        font-style:italic;
        padding: 3px;
    }

    footer nav {
        gap: 10px;
        margin-top: 5px;
        align-items:center;
    }



nav {
    display: flex;
    gap: 15px;
    align-items: baseline;
}

    nav a {
        color: #374151;
        padding-right: 10px;
    }

        nav a:hover {
            color: var(--accent);
        }

    nav button {
        background: none;
        border: none;
        color: #374151;
        font: inherit;
        cursor: pointer;
    }

.burger-button {
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ink);
}

h1 {
    color: var(--brand);
    font-size: 3rem;
}

h2 {
    color: var(--brand);
    font-size: 2.2rem;
}

h3 {
    color: var(--brandhi);
    font-size: 1.50rem;
}

h4 {
    color: var(--accent);
    font-size: 1.2rem;
    margin-top: 5px;
}

a {
    color: var(--accent);
    text-decoration: none;
}


select, input, input[type=number] {
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background-color: white; 
}

input[type=number] {
    width: 120px;
}

    input[type="checkbox"] {
        accent-color: #007bff; /* modern browsers support accent-color */
        margin-right: 6px;
    }


fieldset legend {
    font-size: 1.1rem;
    font-weight: 500;
}


table.nolines td {
    border: none;
}

table.gutter {
    border-collapse: separate;
    border-spacing: .4rem; /* horizontal/vertical gutter */
}

.table.gutter td,
.table.gutter th {
    border-bottom: 1px solid rgba(0,0,0,.1); /* subtle bottom line */
    border-right: 1px solid rgba(0,0,0,.1); /* matching right line */
}



/*.table.gutter td,
.table.gutter th {
    border: 6px solid rgba(0,0,0,0);*/ /* thick invisible border */
    /*background-clip: padding-box;*/ /* keeps background inside */
/*}*/


table.folder {
    border-collapse: separate;
    border-spacing: 0;   
    border-radius: .5rem;
    overflow: hidden;
    background-color: transparent; /* card background */
}

    table.folder th {
        font-weight: 400;
        padding: 5px;
        background: transparent;
        border-bottom: 2px solid var(--cta-lo);
        color: var(--cta-lo);
        text-transform: uppercase;
    }

        table.folder th.tab {
            background-color: transparent;
            color: var(--cta-lo);
            border-top-left-radius: .5rem;
            border-top-right-radius: .5rem;
            /*border: solid 2px var(--cta-lo);*/
            width: 40%;
            font-weight:700;
            
            /*box-shadow: 0px 4px 2px rgba(0,0,0,.15);*/
        }

    table.folder tbody {
        border-collapse: separate; /* prevents shadow clipping */
        border-spacing: 0;
        /*box-shadow: 0 2px 8px rgba(0,0,0,.1);*/
        overflow: hidden; /* keeps rounded corners clean */
        padding: 10px;
        border: 2px solid var(--accent);
      
    }

    table.folder td {
        color:gray;
        background-color:transparent;
    }

table.folder tfoot {
/*     border-bottom-left-radius: .5rem;
    border-bottom-right-radius: .5rem;
   box-shadow: 0 0px 8px rgba(0,0,0,.1);*/
}

table td.boost {
   /* background-color: var(--accentsoft);*/
    font-size: 1.1em;
    
    /* border-right: 2px solid #dee2e6; subtle divider */
    padding-right: 12px;
    border-radius: 5px;
/*    border: solid 1px var(--accent);*/
}


.header {
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    z-index: 1;
}

.hero {
    display: flex;
    height: calc(100vh - var(--header-height)); /* viewport height minus menu */

    position: relative;
    overflow: hidden;
    background: var(--hero-overlay);
    padding: 0px;
}

/*  image column */
.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 70%; /* only take up right side */
    height: 100%;
    background: url('images/Backdrop-Main.webp') no-repeat 60% center;
    background-size: cover;
    z-index: 0; /* sits behind gradient + overlay */
}


/* Gradient layer */
.hero-gradient {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30%; /* start at edge of text area */
    width: 70%; /* same width as image */
    background: linear-gradient( to right, #d6cbc0 0%, /* solid color at text edge */
    rgba(214,203,192,0.75) 30%, rgba(214,203,192,0.25) 60%, rgba(255,255,255,0) 100% );
    z-index: 1;
    pointer-events: none;
}

/* hero text */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 65%; /* adjust width as needed */
    height: 100%;
    background-color: transparent; /* no solid backdrop */
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; 
    z-index: 2;
    text-align: left;
    color: var(--brand);
}


.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--brand);
    text-shadow: 0 0 16px rgba(214,203,192,1), /* wide bright glow */
    0 0 24px rgba(214,203,192,0.7), /* secondary halo */
    0 0 36px rgba(214,203,192,0.5); /* softer outer glow */
}

.hero h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-weight: 400;
    color: var(--brand);
   
}

.hero-buttons {
    display: flex;
    gap: 1rem;   
}

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.mobileonly {
    display: none;
}

.btn {
    margin: 3px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius:10px;
}

    .btn:hover,
    .btn:focus {
        box-shadow: 2px 3px 3px rgba(0,0,0,0.3);
        transform: translateY(-2px); /* subtle upward shift */
    }


    .btn:active {
        box-shadow: 2px 3px 3px rgba(0,0,0,0.3);
        transform: translateY(-2px); /* subtle upward shift */
        background-color: var(--brand);
        color: white;
    }


.btn-primary {
    background-color: var(--cta);
    border-color: var(--cta-lo);
}

    .btn-primary:hover, .btn-primary:focus {
        background-color: var(--cta-hi);
        border-color: var(--cta-hi);
    }

    .btn-primary:active {
        background-color: var(--cta) !important;
        border-color: var(--cta-hi) !important;
    }


.btn-secondary {
    background-color: var(--brand);
    border-color: var(--brandhi);
}

    .btn-secondary:hover, .btn-secondary:focus {
        background-color: var(--brandhi);
        border-color: var(--brandhi);
    }

    .btn-secondary:active {
        background-color: var(--brand) !important;
        border-color: var(--brand) !important;
    }

.btn-cta {
    background: linear-gradient( to right, var(--gradient-start) 0%, var(--gradient-end) 100% );
    color:white;
    border: solid 1px gray;
}

    .btn-cta:hover,
    .btn-cta:focus {
        color: var(--bg-soft);
        border: solid 1px gray;
    }

.btn-ghost {
    background: ghostwhite;
    border: solid 1px silver;
    color: slategrey; 
}

    .btn-ghost:hover,
    .btn-ghost.active {
        background: ghostwhite;
        border: solid 1px silver;
        color: black;
    }

    .btn-ghost:focus {
        color: var(--accent);
    }

.btn-rounded {
   border-radius: 20px;
}

.form-check-input {
    width: 1.15em; /* slightly larger */
    height: 1.15em;
    border-radius: 0.25rem; /* keeps them square-ish but softer corners */
    accent-color: var(--brand); /* normally Bootstrap primary blue */
}

.pullout {
    width: 500px;
    height: calc(100vh - var(--header-height));
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.2);
    padding: 10px;
    font-size: 0.9rem;
}

.nowrap {
    white-space:nowrap;
}

i.text-accent {
    color: var(--accent);
}

i.text-brand {
    color: var(--brandhi) !important;
}

.pill {
    font-size: 0.8em;
    color: navy;
    border: solid 1px lightblue;
    background-color: aliceblue;
    border-radius: 15px;
    padding: 3px 6px;
}

.ticker {
    font-size: 0.7em;
    border-left: solid 1px silver;
    border-radius: 0px;
    padding: 2px 6px;
}

.badge {
    font-size: 0.7em;
    border: solid 1px var(--accent);
    background-color: var(--accentsoft);
    color: var(--accent);
    border-radius: 15px;
    padding: 4px 6px;
}

.card {
    font-size: 14px;
    margin: 0px 10px 10px 0px;
}
    .card .title {
        font-size: 1em;
        font-weight:700;
        margin: 0px 0px;
    }

    .card .subtitle {
        font-size: 0.90em;
        font-weight: 6500;
        margin: 0px 0px;
    }

    .card .alttitle {
        font-size: 0.8em;
        text-transform: uppercase;
        color: var(--neutralhi);
    }

    .smallprint {
        font-size: 0.85em;
    }

.card-body .media {
    position: relative;
    /*  height: 160px;
            background: #f1f5f9;*/
    /*border: solid 1px red;*/ /*Uncomment to see borders */
    text-align: center;
    aspect-ratio: 16/9;
    width: 100%;
    overflow: hidden;
    margin-bottom: 10px;
}

        .card-body .media img {
            height: 100%;
            width: auto;
            object-fit: contain;
            border: solid 1px transparent;
          
        }

        .card-body .media .active {
            opacity: 1;
            z-index: 1;
        }

.tile {
    font-size: 0.9rem;
    /*box-shadow: 3px 6px 6px rgba(0,0,0,0.3);*/
    padding: 5px;
}

    .tile .title {
        font-size: 1em;
        font-weight: 700;       
    }

    .tile .subtitle {
        font-size: 0.95em;
        font-weight: 400;
        margin: 5px 0px;
    }

    .tile .alttitle {
        font-size: 0.8em;
        text-transform: uppercase;
        color: var(--neutralhi);
    }

    .tile .smallprint {
        font-size: 0.85em;
    }


.row.with-separator {
    position: relative;
}

@media (min-width: 768px) {

    .with-separator::after {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(67% + .5rem); /* after col-md-8 + half gutter */
        width: 1px;
        background-color: #dee2e6;
    }
}

.featured-row {
    display: flex;
    justify-content: space-between; /* text on left, button on right */
    align-items: stretch; /* make both columns equal height */
    gap: 1rem;
}

.featured-text {
    flex: 1; /* take up available width */
}

.featured-action {
    display: flex;
    align-items: flex-end; /* push button to bottom */
}



.formmessage {
    color: var(--accent);
}

#calculate {
    scroll-margin-top: 60px;
}


.upload-zone {
    border-style: dashed;
    cursor: pointer;
}

    .upload-zone:hover {
        background-color: #f8f9fa;
    }


.filter-bubbles {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}
.bubble {
    background: #e9ecef;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
    display: inline-flex;
    align-items: center;
    font-size: 0.9rem;
}

    .bubble button {
        background: none;
        border: none;
        margin-left: 6px;
        cursor: pointer;
        font-weight: bold;
    }
.filter-label {
    cursor: pointer;
    padding: 0rem 0.3rem; /* vertical rhythm */
}

    .filter-label i {
        margin-left: 0.5rem; /* space between text and caret */
    }

.filter-options {
    cursor: pointer;
    padding: 0.4rem 0.4rem; /* vertical rhythm */
}

.filter-options input[type="checkbox"] {
    accent-color: #007bff; /* modern browsers support accent-color */
    margin-right: 6px;
}


