/* WB3 MASTER STYLESHEET - PURE CUSTOM BUILD */
:root {
    --nardo-grey: #686A6C;
    --gloss-black: #1A1A1A;
    --orange-accent: #D64218;
    --light-grey: #A5ABAF;
    --mid-grey: #605D5C;
    --brown-grey: #3F3C3A;
    --bg-dark: #2F2A25;
    --slate-grey: #32373D;
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; 
}

body { 
    background-color: var(--nardo-grey); 
    color: var(--gloss-black); 
    line-height: 1.6;
    overflow-x: hidden; /* Prevents horizontal scroll on full-bleed elements */
}

/* --- HEADER 3-ZONE GRID --- */
header { 
    display: grid;
    grid-template-columns: 250px 1fr 250px; 
    align-items: center;
    background-color: var(--gloss-black); 
    padding: 10px 40px; 
    border-bottom: 2px solid var(--orange-accent);
    box-shadow: 0 4px 20px rgba(0,0,0,0.8);
    position: relative;
    z-index: 1000;
}

.logo { display: flex; align-items: center; }

.nav-container { display: flex; justify-content: center; align-items: center; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-links a { 
    color: var(--light-grey); 
    text-decoration: none; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease; 
    white-space: nowrap;
}

.nav-links a:hover { color: var(--orange-accent); }

/* --- CART BUTTON --- */
.cart-container { display: flex; justify-content: flex-end; }

.cart-btn {
    background: var(--bg-dark);
    padding: 8px 15px;
    border: 1px solid var(--brown-grey);
    border-radius: 3px;
    color: #fff !important;
    transition: all 0.3s ease;
}

.cart-btn:hover {
    background: var(--orange-accent);
    border-color: var(--orange-accent);
}

/* --- RESOURCES DROPDOWN --- */
.dropdown { position: relative; display: inline-block; }

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-dark);
    min-width: 150px;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.6);
    z-index: 100;
    border-top: 2px solid var(--orange-accent);
}

.dropdown:hover .dropdown-content { display: block; }

.dropdown-content a {
    padding: 12px 15px;
    text-align: center;
    font-size: 0.8rem;
    display: block;
    border-bottom: 1px solid var(--brown-grey);
    text-transform: none;
}

.dropdown-content a:hover {
    background-color: var(--mid-grey);
    color: #fff;
}

/* --- GLOBAL LAYOUT --- */
.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 40px 20px; 
}

.btn-primary { 
    background-color: var(--orange-accent); 
    color: #fff; 
    padding: 14px 28px; 
    border: none; 
    font-weight: 800; 
    cursor: pointer; 
    text-transform: uppercase; 
    transition: all 0.3s ease; 
    letter-spacing: 1px;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #b53512;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(214, 66, 24, 0.4);
}

/* --- FULL BLEED HERO SLIDER --- */
.hero-wrapper {
    position: relative;
    width: 100vw;
    height: 70vh;
    min-height: 500px;
    background-color: var(--gloss-black);
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 10;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.6); /* Dark tint for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 20;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease 0.5s; /* Delays text fade-in slightly after image */
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-content h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--light-grey);
    margin-bottom: 30px;
}

/* --- MATCHER --- */
.matcher-box { 
    background: var(--gloss-black); 
    padding: 40px; 
    text-align: center; 
    margin: -50px auto 50px auto; /* Pulls it up slightly over the hero section */
    position: relative;
    z-index: 30;
    border-top: 4px solid var(--orange-accent);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    max-width: 1200px;
    border-radius: 3px;
}

.matcher-box h2 { color: #fff; margin-bottom: 10px; font-size: 2rem; text-transform: uppercase; letter-spacing: 1px;}
.matcher-box p { color: var(--light-grey); margin-bottom: 25px; }

.matcher-form-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.matcher-box select { 
    padding: 15px; 
    width: 220px; 
    background: var(--bg-dark); 
    color: #fff; 
    border: 1px solid var(--mid-grey); 
    font-size: 1rem;
    cursor: pointer;
}

.matcher-box select:focus { border-color: var(--orange-accent); outline: none; }

/* --- PREMIUM PRODUCT CARDS --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    padding: 20px;
    position: relative;
    transition: all 0.4s ease;
    border-radius: 2px;
    overflow: hidden;
}

/* Subtle inner border rather than heavy thick lines */
.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gloss-black);
    transition: background 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.product-card:hover::before {
    background: var(--orange-accent);
}

.product-image-wrapper {
    background: var(--nardo-grey);
    height: 220px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

.product-card h3 {
    font-size: 1.1rem;
    color: var(--gloss-black);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.product-card .price {
    font-size: 1.3rem;
    color: var(--orange-accent);
    font-weight: 800;
    margin-bottom: 20px;
}

.admin-edit-btn { 
    background: var(--gloss-black); 
    border: 2px solid var(--orange-accent); 
    color: var(--orange-accent); 
    padding: 10px 15px; 
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    z-index: 1000; 
    text-decoration: none; 
    font-weight: bold;
}