/*
=========================================================
STACKERS AGENCY HOMEPAGE STYLESHEET
File: css/styles.css
=========================================================
*/


/* ======================================================
   ROOT VARIABLES
====================================================== */

:root {

    --color-charcoal-blue: #1a2332;
    --color-charcoal-green: #182620;
    --color-charcoal-gray: #242b2e;

    --color-background: #f4f6f8;
    --color-white: #ffffff;
    --color-text: #20262b;
    --color-muted: #68727b;

    --color-border: rgba(255,255,255,0.15);

    --font-heading: 'Cinzel', 'Playfair Display', serif;
    --font-body: 'Inter', 'Plus Jakarta Sans', Arial, sans-serif;

    --container-width: 1240px;

    --transition-fast: 0.25s ease;
    --transition-slow: 0.5s ease;

    --shadow-soft:
        0 10px 35px rgba(0,0,0,0.12);

    --shadow-dark:
        0 15px 45px rgba(0,0,0,0.25);

}


/* ======================================================
   RESET
====================================================== */

*,
*::before,
*::after {

    box-sizing: border-box;

}


html {

    scroll-behavior: smooth;

}


body {

    margin: 0;

    padding: 0;

    font-family: var(--font-body);

    font-size: 16px;

    line-height: 1.7;

    color: var(--color-text);

    background: var(--color-background);

}


img {

    max-width: 100%;

    height: auto;

    display: block;

}


a {

    color: inherit;

    text-decoration: none;

}


ul {

    list-style: none;

    padding: 0;

    margin: 0;

}


h1,
h2,
h3,
h4 {

    font-family: var(--font-heading);

    line-height: 1.25;

    margin-top: 0;

    font-weight: 600;

}


p {

    margin-top: 0;

}


/* ======================================================
   CONTAINER SYSTEM
====================================================== */

.container {

    width: min(
        92%,
        var(--container-width)
    );

    margin-left: auto;

    margin-right: auto;

}


.section-padding {

    padding-top: 100px;

    padding-bottom: 100px;

}


/* ======================================================
   SITE HEADER / FLOATING NAVIGATION
====================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* CSS files step back out of their folder first, then into images/ */
    background: url('../images/nav-desktop-1920x149.webp') no-repeat center center;
    background-size: cover;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.15);
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}


.navbar {

    width: 100%;

}


.nav-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 90px;

}


.logo {

    color: var(--color-white);

    font-family: var(--font-heading);

    font-size: 1.35rem;

    letter-spacing: 2px;

    font-weight: 700;

}


.nav-menu {

    display: flex;

    align-items: center;

    gap: 34px;

}


.nav-menu a {

    color: var(--color-white);

    font-size: 0.95rem;

    font-weight: 500;

    position: relative;

    transition:
        color var(--transition-fast);

}


.nav-menu a::after {

    content: "";

    position: absolute;

    bottom: -8px;

    left: 0;

    width: 0;

    height: 2px;

    background: var(--color-white);

    transition:
        width var(--transition-fast);

}


.nav-menu a:hover::after {

    width: 100%;

}


/* Navigation after scrolling */

.site-header.scrolled {

    background:
        rgba(26,35,50,0.92);

    backdrop-filter:
        blur(12px);

    box-shadow:
        var(--shadow-soft);

}


.site-header.scrolled .nav-container {

    min-height: 75px;

}


/* ======================================================
   MOBILE NAVIGATION BUTTON
====================================================== */

.mobile-toggle {

    display: none;

    background: transparent;

    border: 0;

    cursor: pointer;

}


.mobile-toggle span {

    display: block;

    width: 28px;

    height: 2px;

    margin: 6px 0;

    background: var(--color-white);

}


/* ======================================================
   STANDARD HERO
====================================================== */

.standard-hero {

    position: relative;

    min-height: 800px;

    display: flex;

    align-items: center;

    overflow: hidden;

}


.hero-background {

    position: absolute;

    inset: 0;

}


.hero-background picture {
    display: block;
    width: 100%;
    height: 100%;
}


.hero-background img {

    width: 100%;

    height: 100%;

    object-fit: cover;

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(10,15,22,0.88) 0%,
            rgba(10,15,22,0.65) 45%,
            rgba(10,15,22,0.35) 100%
        );

}


.hero-content {

    position: relative;

    z-index: 2;

}


.hero-copy {

    max-width: 760px;

    color: var(--color-white);

}


.eyebrow,
.section-label {

    font-size: 0.85rem;

    letter-spacing: 3px;

    text-transform: uppercase;

    font-weight: 600;

    margin-bottom: 20px;

}


.hero-copy h1 {

    font-size: clamp(
        3rem,
        6vw,
        5rem
    );

    margin-bottom: 25px;

    text-shadow:
        0 3px 20px rgba(0,0,0,0.5);

}


.hero-intro {

    font-size: 1.2rem;

    max-width: 700px;

    margin-bottom: 40px;

}


/* ======================================================
   BUTTONS
====================================================== */

.hero-buttons,
.cta-actions {

    display: flex;

    gap: 20px;

    flex-wrap: wrap;

}


.button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 15px 32px;

    border-radius: 4px;

    font-weight: 600;

    transition:
        transform var(--transition-fast),
        background var(--transition-fast);

}


.button:hover {

    transform: translateY(-3px);

}


.button.primary {

    background:
        var(--color-white);

    color:
        var(--color-charcoal-blue);

}


.button.secondary {

    border:
        1px solid rgba(255,255,255,0.7);

    color:
        var(--color-white);

}


.button.secondary:hover {

    background:
        rgba(255,255,255,0.15);

}


/* ======================================================
   FEATURED SHOWCASE
====================================================== */

.featured-showcase {

    background:
        var(--color-background);

}


.featured-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    align-items: center;

    gap: 80px;

}


.featured-text h2 {

    font-size: clamp(
        2rem,
        4vw,
        3.25rem
    );

    color:
        var(--color-charcoal-blue);

    margin-bottom: 30px;

}


.featured-text p {

    color:
        var(--color-muted);

    margin-bottom: 22px;

}


.featured-image figure {

    margin: 0;

}


.featured-image img {

    width: 100%;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    border-radius: 8px;

    box-shadow:
        var(--shadow-soft);

}


.featured-image figcaption {

    padding-top: 18px;

    color:
        var(--color-muted);

    font-size: 0.95rem;

    text-align: center;

}


.featured-image figcaption strong {

    color:
        var(--color-charcoal-blue);

}


/* ======================================================
   SECTION HEADINGS
====================================================== */

.section-heading {

    max-width: 850px;

    margin:
        0 auto 60px;

    text-align: center;

}


.section-heading .section-label {

    color:
        var(--color-charcoal-blue);

}


.section-heading h2 {

    color:
        var(--color-charcoal-blue);

    font-size: clamp(
        2rem,
        4vw,
        3.5rem
    );

    margin-bottom: 25px;

}


.section-heading p {

    color:
        var(--color-muted);

}


/* ======================================================
   SERVICES SECTION
====================================================== */

.services {
    background: 
        linear-gradient(
            90deg,
            rgba(10,15,22,0.88) 0%,
            rgba(10,15,22,0.65) 45%,
            rgba(10,15,22,0.35) 100% /* Added the % here */
        ),
        var(--color-white);
    color: var(--color-white);
}


.services .section-heading h2,
.services .section-heading .section-label,
.services .service-card h3 {
    color: var(--color-white); /* Force headlines to white */
}

.services .section-heading p {
    color: var(--color-white);
    opacity: 0.9;
}

/* Updated Solid Blue Cards with custom interior padding */
.services .service-card {
    background: var(--color-charcoal-blue);
    border: 1px solid var(--color-border);
    padding: 40px 35px 40px 45px; /* Added extra padding to the left side */
    border-radius: 8px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.services .service-card p {
    color: rgba(255, 255, 255, 0.85); /* Readable light body text */
}

.services .service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-dark);
}

/* ======================================================
   KNOWLEDGE CATALOG SECTION
====================================================== */


/* --- Public Section: Light Theme Variant --- */
#public-catalogs-section {
    background: var(--color-white);
    color: var(--color-text);
}

#public-catalogs-section .section-label {
    color: var(--color-charcoal-blue);
}

#public-catalogs-section h2 {
    color: var(--color-charcoal-blue);
}

#public-catalogs-section .section-heading p {
    color: var(--color-muted);
}

#public-catalogs-section .knowledge-item {
    background: var(--color-background);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

#public-catalogs-section .knowledge-item h3 {
    color: var(--color-charcoal-blue);
}

#public-catalogs-section .knowledge-item p {
    color: var(--color-muted);
}

#public-catalogs-section .knowledge-item:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-soft);
    transform: translateY(-6px);
}

/* --- Private Section: Charcoal Blue Variant --- */
#private-catalogs-section {
    background: linear-gradient(135deg, var(--color-charcoal-blue), var(--color-charcoal-gray));
    color: var(--color-white);
}




.knowledge-catalog {

    background:
        linear-gradient(
            135deg,
            var(--color-charcoal-blue),
            var(--color-charcoal-green)
        );

    color:
        var(--color-white);

}


.knowledge-catalog .section-label {

    color:
        rgba(255,255,255,0.75);

}


.knowledge-catalog h2 {

    color:
        var(--color-white);

}


.knowledge-catalog .section-heading p {

    color:
        rgba(255,255,255,0.82);

}


.knowledge-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 25px;

}


.knowledge-item {

    padding: 35px 30px;

    background:
        rgba(255,255,255,0.08);

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 8px;

    transition:
        transform var(--transition-fast),
        background var(--transition-fast);

}


.knowledge-item:hover {

    transform:
        translateY(-6px);

    background:
        rgba(255,255,255,0.14);

}


.knowledge-item h3 {

    color:
        var(--color-white);

    font-size: 1.35rem;

    margin-bottom: 18px;

}


.knowledge-item p {

    color:
        rgba(255,255,255,0.8);

    margin-bottom: 0;

}




/* ======================================================
   KNOWLEDGE INDEX SECTION
====================================================== */

.knowledge-index {
    background: 
        linear-gradient(
            90deg,
            rgba(10,15,22,0.88) 0%,
            rgba(10,15,22,0.65) 45%,
            rgba(10,15,22,0.35) 100% /* Added the % here */
        ),
        var(--color-white);
    color: var(--color-white);
}

.knowledge-index .section-label,
.knowledge-index h2 {
    color: var(--color-white);
}

.knowledge-index .index-text p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

/* Updated Solid Blue Benefit Cards with custom interior padding */
.knowledge-index .benefit-card {
    background: var(--color-charcoal-blue);
    border: 1px solid var(--color-border);
    padding: 35px 30px 35px 40px; /* Added extra padding to the left side */
    border-radius: 8px;
    box-shadow: var(--shadow-dark);
}

.knowledge-index .benefit-card h3 {
    color: var(--color-white);
}

.knowledge-index .benefit-card p {
    color: rgba(255, 255, 255, 0.85);
}

/* Styled primary button to pop on the new layout */
.knowledge-index .index-text .button.primary {
    background: var(--color-white);
    color: var(--color-charcoal-blue);
}










/* ======================================================
   BUSINESS STACKS SECTION (TRUE DARK BLUE VARIANT)
====================================================== */

.business-stacks {
    /* Pure dark blue background matching your exact Private Catalogs token */
    background: var(--color-charcoal-blue) !important;
    color: var(--color-white) !important;
}

/* Symmetrical Grid Alignment to force 2-column rows of cards */
.business-stacks .knowledge-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    margin-top: 50px !important;
}

/* Force all section headings to clear white */
.business-stacks .section-heading h2,
.business-stacks .section-heading .section-label,
.business-stacks .business-stack-card h3 {
    color: var(--color-white) !important;
}

.business-stacks .section-heading p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Internal consulting card layout blocks with heavy left padding */
.business-stacks .business-stack-card {
    background: rgba(255, 255, 255, 0.06) !important; /* Soft premium glass layering over the dark blue */
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    padding: 35px 30px 35px 45px !important;           /* Strict left side margin padding */
    border-radius: 8px !important;
    box-shadow: var(--shadow-dark) !important;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.business-stacks .business-stack-card p {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

/* Hover lifting physics loop */
.business-stacks .business-stack-card:hover {
    transform: translateY(-8px) !important;
    background: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4) !important;
}

/* Center action button configuration */
.business-stacks .section-center-action .button.btn-light-gray {
    background: #e9ecef !important;
    color: var(--color-charcoal-blue) !important;
}

/* Tablet & Mobile responsive fallback layout formatting */
@media (max-width: 900px) {
    .business-stacks .knowledge-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .business-stacks .knowledge-grid {
        grid-template-columns: 1fr !important;
    }
}














/* ======================================================
   DIGITAL COMMERCE
====================================================== */

.digital-commerce {

    background:
        var(--color-white);

}


.commerce-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 70px;

    align-items: center;

}


.commerce-text p {

    color:
        var(--color-muted);

    margin-bottom: 25px;

}


.commerce-highlights {

    background:
        var(--color-charcoal-blue);

    padding: 45px;

    border-radius: 8px;

}


.commerce-highlights ul {

    display: grid;

    gap: 18px;

}


.commerce-highlights li {

    color:
        var(--color-white);

    padding-left: 28px;

    position: relative;

}


.commerce-highlights li::before {

    content:
        "✓";

    position: absolute;

    left: 0;

    top: 0;

    font-weight: bold;

}

/* ======================================================
   TESTIMONIAL
====================================================== */

.testimonial {

    background:
        linear-gradient(
            135deg,
            #182620,
            #1a2332
        );

    color:
        var(--color-white);

}


.testimonial-wrapper {

    max-width: 900px;

    margin:
        0 auto;

    text-align: center;

}


.testimonial .section-label {

    color:
        rgba(255,255,255,0.7);

}


.testimonial blockquote {

    font-family:
        var(--font-heading);

    font-size:
        clamp(
            1.5rem,
            3vw,
            2.25rem
        );

    line-height:
        1.5;

    margin:
        30px auto;

    color:
        var(--color-white);

}


.testimonial-author {

    color:
        rgba(255,255,255,0.75);

    font-size:
        1rem;

    margin-bottom:
        0;

}

/* ======================================================
   CALL TO ACTION
====================================================== */

.call-to-action {

    background:
        var(--color-background);

}


.cta-panel {

    background:
        var(--color-white);

    padding:
        70px;

    border-radius:
        10px;

    box-shadow:
        var(--shadow-soft);

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        50px;

}


.cta-copy {

    max-width:
        700px;

}


.cta-copy .section-label {

    color:
        var(--color-charcoal-blue);

}


.cta-copy h2 {

    color:
        var(--color-charcoal-blue);

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    margin-bottom:
        25px;

}


.cta-copy p {

    color:
        var(--color-muted);

}

/* ======================================================
   FOOTER
====================================================== */

.site-footer {

    background:
        var(--color-charcoal-blue);

    color:
        var(--color-white);

    padding-top:
        80px;

}


.footer-grid {

    display:
        grid;

    grid-template-columns:
        1.5fr 1fr 1fr 1fr;

    gap:
        50px;

    padding-bottom:
        60px;

}


.footer-column h3 {

    color:
        var(--color-white);

    font-size:
        1.4rem;

    letter-spacing:
        1px;

}


.footer-column h4 {

    color:
        var(--color-white);

    font-size:
        1.1rem;

    margin-bottom:
        20px;

}


.footer-column p,
.footer-column li {

    color:
        rgba(255,255,255,0.72);

    font-size:
        0.95rem;

}


.footer-column ul {

    display:
        grid;

    gap:
        12px;

}


.footer-column a {

    transition:
        color var(--transition-fast);

}


.footer-column a:hover {

    color:
        var(--color-white);

}


.social-links {

    display:
        flex;

    gap:
        15px;

    margin-top:
        20px;

}


.social-links a {

    padding:
        8px 14px;

    border:
        1px solid rgba(255,255,255,0.25);

    border-radius:
        4px;

    font-size:
        0.85rem;

}


.footer-bottom {

    border-top:
        1px solid rgba(255,255,255,0.15);

    padding:
        25px 0;

    text-align:
        center;

}


.footer-bottom p {

    margin:
        0;

    color:
        rgba(255,255,255,0.6);

    font-size:
        0.9rem;

}

/* ======================================================
   SCROLL REVEAL ANIMATIONS
====================================================== */

.reveal {

    opacity:
        0;

    transform:
        translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;

}


.reveal.visible {

    opacity:
        1;

    transform:
        translateY(0);

}

/* ======================================================
   ACCESSIBILITY
====================================================== */

a:focus-visible,
button:focus-visible {

    outline:
        3px solid rgba(255,255,255,0.8);

    outline-offset:
        4px;

}

/* ======================================================
   LARGE TABLET RESPONSIVE
====================================================== */
@media (max-width: 1100px) {


    .service-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    .knowledge-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    .footer-grid {

        grid-template-columns:
            repeat(2,1fr);

    }


    .cta-panel {

        flex-direction:
            column;

        align-items:
            flex-start;

    }


}

/* ======================================================
   TABLET / MOBILE NAVIGATION
====================================================== */
@media (max-width: 900px) {


    .nav-container {

        min-height:
            80px;

    }


    .mobile-toggle {

        display:
            block;

        position:
            relative;

 z-index:
            1001;

    }


    .nav-menu {

        position:
            absolute;

        top:
            100%;

        left:
            0;

        width:
            100%;

        background:
            rgba(26,35,50,0.97);

        backdrop-filter:
            blur(10px);

        display:
            flex;

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            0;

        padding:
            25px 5%;

        max-height:
            0;

        overflow:
            hidden;

        opacity:
            0;

        transition:
            max-height 0.4s ease,
            opacity 0.3s ease;

    }


    .nav-menu.open {

        max-height:
            600px;

        opacity:
            1;

    }


    .nav-menu li {

        width:
            100%;

        padding:
            12px 0;

    }


    .nav-menu a {

        display:
            block;

    }


}

/* ======================================================
   TABLET LAYOUT
====================================================== */
@media (max-width: 900px) {


    .standard-hero {

        min-height:
            720px;

    }


    .hero-copy h1 {

        font-size:
            clamp(
                2.5rem,
                8vw,
                4rem
            );

    }


    .featured-grid {

        grid-template-columns:
            1fr;

        gap:
            50px;

    }


    .featured-image {

        order:
            -1;

    }


    .index-content {

        grid-template-columns:
            1fr;

        gap:
            50px;

    }


    .commerce-grid {

        grid-template-columns:
            1fr;

        gap:
            45px;

    }


}

/* ======================================================
   MOBILE
====================================================== */
@media (max-width: 600px) {


    body {

        font-size:
            15px;

    }


    .section-padding {

        padding-top:
            70px;

        padding-bottom:
            70px;

    }


    .container {

        width:
            90%;

    }


    .logo {

        font-size:
            1.1rem;

    }


    .standard-hero {

        min-height:
            680px;

    }


    .hero-overlay {

        background:
            linear-gradient(
                180deg,
                rgba(10,15,22,0.75),
                rgba(10,15,22,0.95)
            );

    }


    .hero-intro {

        font-size:
            1rem;

    }


    .hero-buttons {

        flex-direction:
            column;

        align-items:
            flex-start;

    }


    .button {

        width:
            100%;

        max-width:
            320px;

    }


    .featured-text h2 {

        font-size:
            2rem;

    }


    .service-grid {

        grid-template-columns:
            1fr;

    }


    .knowledge-grid {

        grid-template-columns:
            1fr;

    }


    .index-benefits {

        grid-template-columns:
            1fr;

    }


    .commerce-highlights {

        padding:
            30px 25px;

    }


    .cta-panel {

        padding:
            40px 25px;


}
.footer-grid {
grid-template-columns:
1fr;
}
}
/* ======================================================
EXTRA SMALL DEVICES
====================================================== */
@media (max-width: 380px) {
.hero-copy h1 {
font-size:
2.2rem;
}
.button {
padding:
13px 20px;
}
}
/* ======================================================
PERFORMANCE OPTIMIZATIONS
====================================================== */
.reveal {
will-change:
opacity,
transform;
}
.hero-background img,
.featured-image img {
image-rendering:
auto;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
animation-duration:
0.01ms !important;
animation-iteration-count:
1 !important;
transition-duration:
0.01ms !important;
scroll-behavior:
auto !important;
}
}






/* ======================================================
   NAV DROPDOWN SYSTEM & DROPDOWN SHADOW FIXES
====================================================== */

.nav-menu li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-charcoal-blue);
    min-width: 240px;
    padding: 10px 0;
    border-radius: 4px;
    box-shadow: var(--shadow-dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
    
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.85rem;
    font-weight: 400;
    white-space: nowrap;
    text-align: left;
    text-shadow: none !important; /* Keep nested dropdown items clean */
}

.dropdown-menu a::after {
    display: none; 
}

.dropdown-menu a:hover {
    color: var(--color-white) !important;
    background: rgba(255, 255, 255, 0.05);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}


/* ======================================================
   GLOBAL HEADER & HERO TYPOGRAPHY SHADOWS
====================================================== */

/* Forces logo image and brand text horizontally side-by-side with clear shadow */
.logo {
    display: flex !important;       
    align-items: center !important; 
    gap: 12px !important;           
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-white) !important;
    text-decoration: none !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
    position: relative !important;
    z-index: 1005 !important;
}

.logo img {
    display: block !important;
    width: auto !important;
    height: 45px !important;
    object-fit: contain !important;
}

/* HIGH-SPECIFICITY OVERRIDE: Targets nav bar links directly to force shadow processing */
.site-header .nav-container .nav-menu li a,
.nav-menu > li > a,
.nav-menu a {
    color: var(--color-white) !important;
    position: relative !important;
    z-index: 1005 !important;
    /* Clean, highly visible text backdrop shadow */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.9) !important;
}

/* Smooth transition when hovering links */
.nav-menu > li > a:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Deep cinematic shadow pushes main hero title ahead of changing background imagery */
.hero-copy h1 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5.25rem);
    line-height: 1.15;
    color: var(--color-white) !important;
    margin-bottom: 30px;
    position: relative !important;
    z-index: 10 !important;
    text-shadow: 3px 3px 12px rgba(0, 0, 0, 0.9) !important;
}


/* ======================================================
   SECTION BOTTOM CENTER BUTTONS & ANIMATIONS
====================================================== */

/* Layout wrapper to center buttons horizontally below grids */
.section-center-action {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-top: 50px !important; /* Breathing room below content grids */
    position: relative !important;
    z-index: 5 !important;
}

/* Global button utility adjustments to force visual blocks */
.button.btn-light-gray,
.button.btn-dark-blue {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 15px 32px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

/* Light Gray Button Variant (Dark Text) */
.button.btn-light-gray {
    background: #e9ecef !important;
    color: var(--color-charcoal-blue) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.button.btn-light-gray:hover {
    background: #f1f3f5 !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22) !important;
    transform: translateY(-3px) !important;
}

/* Dark Blue Button Variant (White Text) */
.button.btn-dark-blue {
    background: var(--color-charcoal-blue) !important;
    color: var(--color-white) !important;
    border: 1px solid var(--color-border) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.button.btn-dark-blue:hover {
    background: #1e293b !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45) !important;
    transform: translateY(-3px) !important;
}

/* Mechanical press animation when mouse click down event occurs */
.button.btn-light-gray:active,
.button.btn-dark-blue:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
    transition: transform 0.05s ease, box-shadow 0.05s ease !important;
}


/* ======================================================
   GRAPHIC-LAYER NAVIGATION SHADOW BYPASS
====================================================== */
.site-header nav ul li a,
.site-header .nav-menu a,
.nav-menu a,
.nav-menu li a {
    color: var(--color-white) !important;
    position: relative !important;
    z-index: 9999 !important; 
    
    /* Applies a rich graphic shadow directly underneath the text letters */
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.95)) !important;
}







/* ======================================================
   INTERNAL PAGE DEFAULT TYPOGRAPHY SAFETY
====================================================== */
body, 
main {
    background-color: var(--color-charcoal-blue) !important; /* Set default page canvas to your dark blue */
    color: var(--color-white) !important;                  /* Set default unassigned fonts to white */
}

/* Ensure raw paragraph and list items inherit the white safety color */
main p, 
main li,
main h1, 
main h2, 
main h3 {
    color: var(--color-white);
}




/* ======================================================
   GLOBAL LOGO TYPOGRAPHY UNIFICATION ENGINE
====================================================== */
.logo {
    text-transform: uppercase !important; /* Forces all letters to ALL-CAPS globally */
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* Enhances the "STACKERS" text string to be slightly larger */
.logo,
.site-header .logo {
    font-size: 1.45rem !important; /* Base layout boost */
}

/* Targets the "AGENCY" text string inside the span wrapper */
.logo span {
    font-size: 1.25rem !important; /* Slightly sizes down the second word */
    opacity: 0.95;
}





/* ======================================================
   BORDERLESS FLOATING SLIDESHOW ENGINE
====================================================== */

/* 1. Makes the container frame completely invisible and strips the borders */
.case-slideshow-wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 auto 3rem auto !important;
    overflow: visible !important; /* Allows the shadow to breathe outside the bounds */
}

/* 2. Sets a responsive fluid height that scales gracefully as you resize the screen */
.case-slide-track {
    min-height: 320px !important;
    height: 50vw !important;       /* Scales proportionally based on screen width */
    max-height: 540px !important;  /* Prevents it from getting too tall on large monitors */
    width: 100% !important;
}

/* 3. Forces the images to fit cleanly while maintaining their true proportions */
.case-slide img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important; /* Preserves the original 1900x1080 cinematic shape */
    display: block !important;
    
    /* 4. Attaches a rich graphic drop shadow directly to the shape of the photo */
    filter: drop-shadow(0px 10px 20px rgba(0, 0, 0, 0.65)) !important;
}









/* ======================================================
   END OF STACKERS AGENCY HOMEPAGE CSS
====================================================== */








