/* 
   CAUSESTAND REDESIGN V2 - "STREETWEAR ACTIVISM" 
   Matte Black | Revolution Red | Stark White
*/

/* --- 1. FONTS & RESET --- */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;700&family=Roboto:wght@300;400;700&display=swap');

:root {
    --bg-color: #0a0a0a;
    /* Deepest black */
    --bg-gradient: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    --card-bg: #141414;
    --text-main: #ffffff;
    --text-muted: #b0b0b0;
    --brand-red: #E63946;
    --brand-red-hover: #ff4d5a;
    --glow-red: 0 0 15px rgba(230, 57, 70, 0.6);
    --border-color: #333;
}

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    /* Parallax-ish feel */
    color: var(--text-main);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    /* Fix unwanted side-scrolling */
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    /* Increased spacing for premium feel */
}

/* Global Link Reset - KILL THE BLUE */
a {
    text-decoration: none !important;
    color: inherit !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

a:hover {
    color: var(--brand-red) !important;
}

ul {
    list-style: none;
    padding: 0;
}

/* --- 2. HEADER (Glassmorphism & Typography) --- */
.navbar {
    background: #000000;
    border-bottom: 2px solid var(--brand-red);
    /* POWERFUL BORDER */
    padding: 1rem 0;
    transition: all 0.4s ease;
}

.navbar-brand img {
    height: 55px;
    /* Slightly bigger */
    width: auto;
    /* Native Logo is now V2 Premium */
}

/* BOLD NAV */
.nav-link {
    color: #ffffff !important;
    /* Pure White */
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    /* Larger */
    font-weight: 900;
    /* EXTRA BOLD */
    text-transform: uppercase;
    letter-spacing: 1px;
    /* Tighter for impact */
    margin: 0 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 1);
    /* Harder shadow */
    opacity: 1 !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-red) !important;
    transform: scale(1.1);
    /* Power move */
}

.nav-link::after {
    display: none;
    /* Remove subtle line, go for pure text power */
}

/* Fix Dropdown Arrow Color */
.dropdown-toggle::after {
    border-top-color: #fff !important;
    /* White Arrow */
    vertical-align: 0.15em;
}

.dropdown-toggle:hover::after {
    border-top-color: var(--brand-red) !important;
}

/* Mobile Toggler */
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* --- 3. HERO SECTION (High Impact) --- */
.hero {
    height: 90vh;
    /* Slightly taller */
    position: relative;
}

/* Note: Slide backgrounds are handled in HTML, this just ensures container logic */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    /* Vignette */
    z-index: 1;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.5);
    /* Base darken */
    z-index: 0;
}

.hero-content h1 {
    font-size: 5rem;
    /* Massive */
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    letter-spacing: 5px;
}

.btn-cta {
    background-color: var(--brand-red);
    color: white;
    padding: 18px 50px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    border: none;
    border-radius: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(230, 57, 70, 0);
}

.btn-cta:hover {
    background-color: var(--brand-red);
    /* Keep same color, rely on glow */
    color: white;
    box-shadow: 0 0 20px rgba(230, 57, 70, 0.8);
    /* Strong glow */
    transform: scale(1.05);
}

/* --- 4. THE GRID OF TRUTH (Collections) --- */
.collection-grid {
    padding: 100px 0;
}

.section-title {
    font-size: 4rem;
    /* Bigger */
    margin-bottom: 60px;
    text-align: center;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--brand-red);
    margin: 20px auto 0;
    box-shadow: var(--glow-red);
    /* Glow underline */
}

.collection-card {
    height: 450px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    border: none;
    /* Clean look */
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.collection-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    transition: all 0.4s ease;
}

.collection-card:hover img {
    transform: scale(1.05);
}

.collection-card:hover .collection-overlay {
    background: linear-gradient(to top, var(--brand-red) 0%, rgba(230, 57, 70, 0.4) 100%);
    padding-bottom: 50px;
    /* Lift text */
}

.collection-card h3 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* --- 5. SMART SHOP (Premium Cards) --- */
.smart-shop-section {
    background: transparent;
    /* Show body gradient */
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out forwards;
    /* Entrance animation */
    opacity: 0;
    /* Star hidden for anim */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    border-color: var(--brand-red);
}

.product-img-container {
    height: 300px;
    background: #0f0f0f;
    /* Seamless dark */
    position: relative;
}

.product-img-container img {
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    /* Make product pop off container */
    transition: transform 0.3s ease;
}

.product-card:hover .product-img-container img {
    transform: scale(1.05);
}

.product-body {
    padding: 25px;
}

.product-price {
    color: var(--brand-red);
    font-weight: 700;
    font-size: 1.4rem;
    text-shadow: 0 0 10px rgba(230, 57, 70, 0.3);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 7. ADVOCACY / COMMUNITY SECTION --- */
.advocacy-section {
    background: var(--brand-red);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.advocacy-card {
    background: #000;
    border: 1px solid #444;
    padding: 40px;
    height: 100%;
    transition: transform 0.3s;
}

.advocacy-card:hover {
    transform: translateY(-5px);
    border-color: white;
}

.advocacy-card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--brand-red);
}

.advocacy-card h4 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.advocacy-card p {
    color: #ccc;
}

/* --- 8. FOOTER --- */
footer {
    background: #000;
    padding: 80px 0 30px;
    border-top: 5px solid var(--brand-red);
}

.footer-logo {
    margin-bottom: 20px;
    filter: invert(1);
    /* Ensure white logo */
}

.footer-col h4 {
    margin-bottom: 25px;
    color: var(--brand-red);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--brand-red);
    padding-left: 5px;
}

.newsletter-box {
    background: #111;
    border: 1px solid #333;
    padding: 20px;
}

/* --- 9. DROPDOWN MENU (Nested & Premium) --- */
.dropdown-menu {
    background-color: #000000 !important;
    border: 1px solid #333 !important;
    border-radius: 0;
    padding: 0;
    margin-top: 0;
    /* Attach to nav */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.dropdown-item {
    color: #ffffff !important;
    /* Force White */
    font-family: 'Oswald', sans-serif;
    /* Brand Font */
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 15px 25px;
    border-bottom: 1px solid #111;
    transition: all 0.2s ease;
    background-color: transparent;
    position: relative;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--brand-red) !important;
    color: #ffffff !important;
    padding-left: 30px;
    /* Slide effect */
}

.dropdown-divider {
    border-top-color: #333;
    margin: 0;
}

/* Nested Submenu Logic */
.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    /* Align with top of parent item */
    min-width: 220px;
    background-color: #000000;
    border: 1px solid #333;
    z-index: 1000;
}

/* Show submenu on hover of the PARENT LI */
.dropdown-menu>li:hover>.dropdown-submenu {
    display: block;
    animation: fadeInRight 0.3s ease forwards;
}

/* Submenu toggle arrow */
.dropdown-submenu-toggle::after {
    content: "\f054";
    /* FontAwesome Right Chevron */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    float: right;
    font-size: 0.8em;
    margin-top: 4px;
    transition: transform 0.2s;
}

.dropdown-item:hover .dropdown-submenu-toggle::after {
    transform: translateX(3px);
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Tweak: Ensure nested menus work or stack nicely */
@media (max-width: 991px) {
    .dropdown-menu .dropdown-submenu {
        position: static;
        display: none;
        border: none;
        padding-left: 20px;
        background: #0a0a0a;
    }

    .dropdown-menu>li:hover>.dropdown-submenu {
        display: block;
    }

    /* Mobile Font Tweak */
    .nav-link {
        font-size: 1.1rem;
        /* Smaller on mobile to fit */
        margin: 5px 0;
        /* Vertical stacking spacing */
    }

    .navbar-collapse {
        background: rgba(0, 0, 0, 0.95);
        /* Solid backing for menu */
        padding: 20px;
    }
}

/* Hybrid Hover for Main Navbar (Desktop) */
@media (min-width: 992px) {
    .nav-item.dropdown:hover>.dropdown-menu {
        display: block;
        animation: fadeInUp 0.3s ease forwards;
    }
}