/* style.css - The High-End Retail Layout */

@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;700&family=Oswald:wght@500;700&display=swap');

:root {
    --bg-color: #ffffff;
    --text-black: #000000;
    --sale-red: #d50000;
}

body {
    background-color: var(--bg-color);
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding-top: 80px; /* Space for the bigger navbar */
    color: var(--text-black);
}

/* 1. THE RETAIL NAVBAR */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 80px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Spreads Left, Center, Right apart */
    padding: 0 40px;
    box-sizing: border-box;
    z-index: 1000;
    /* No shadow/border for that ultra-clean look, or optional border */
    /* border-bottom: 1px solid #f0f0f0; */ 
}

/* Left: The Links */
.nav-left {
    display: flex;
    gap: 25px;
    align-items: center;
}
.nav-link {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 13px; /* Retail sites use small, bold text */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.nav-link:hover { text-decoration: underline; }

/* The SALE link is Red */
.nav-link.sale { color: var(--sale-red); }

/* Center: The Logo */
.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.brand-logo-text {
    font-family: 'Oswald', sans-serif; /* Tall, condensed font like "Cougar" */
    font-size: 38px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -1px;
    color: #000;
    text-decoration: none;
    margin: 0;
}

/* Right: The Icons */
.nav-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* New Social Buttons styling */
.nav-social {
    color: #000;
    font-size: 20px; /* Slightly bigger for visibility */
    transition: color 0.3s;
}

.nav-social:hover {
    color: #E60023; /* Pinterest Red on Hover */
}


.nav-icon {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* 2. THE 3-COLUMN CATEGORY LAYOUT */
.main-container {
    max-width: 1600px; /* Very wide layout */
    margin: 0 auto;
    padding: 40px;
}

.category-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 Equal Columns */
    gap: 30px; /* Space between the big cards */
}

/* The Category Card */
.cat-card {
    text-align: center;
    text-decoration: none; /* Removes link underline */
    display: block;
}

.cat-title {
    font-family: 'Lato', sans-serif;
    font-weight: 800; /* Extra Bold */
    font-size: 24px;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 20px;
    display: block;
}

.cat-img-wrapper {
    width: 100%;
    height: 650px; /* Very Tall Vertical Images */
    overflow: hidden;
    background-color: #f4f4f4;
}

.cat-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the tall box */
    transition: transform 0.5s ease;
}

/* Zoom Effect on Hover */
.cat-card:hover .cat-img {
    transform: scale(1.03);
}

/* MOBILE RESPONSIVE */
@media (max-width: 1024px) {
    .navbar { padding: 0 20px; height: 60px; }
    .brand-logo-text { font-size: 28px; }
    /* Hide the text links on small tablets/phones */
    .nav-left { display: none; } 
    
    .category-grid {
        grid-template-columns: 1fr; /* Stack them 1 on top of another */
        gap: 50px;
    }
    .cat-img-wrapper { height: 500px; }
}



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

.site-footer {
    background-color: #f9f9f9; /* Very light gray to separate from content */
    padding: 80px 40px 30px 40px;
    margin-top: 80px;
    border-top: 1px solid #eee;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr; /* Story column is wider (2fr) */
    gap: 60px;
}

/* Titles */
.footer-title {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #000;
}

/* Text */
.footer-text {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    max-width: 350px;
}

/* Links */
.footer-col a {
    display: block;
    text-decoration: none;
    color: #555;
    font-size: 13px;
    margin-bottom: 12px;
    transition: color 0.2s;
}
.footer-col a:hover {
    color: #000;
    text-decoration: underline;
}

/* Social Icons */
.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    font-size: 20px;
    color: #000;
    cursor: pointer;
}

/* Newsletter Form */
.footer-form {
    display: flex;
    flex-direction: column; /* Stack input and button */
    gap: 10px;
    margin-top: 15px;
}
.footer-form input {
    background: #fff;
    border: 1px solid #ddd;
    padding: 12px;
}
.footer-form button {
    background: #000;
    color: white;
    width: 100%; /* Full width button */
    padding: 12px;
    font-weight: bold;
}
.footer-form button:hover {
    background: #333;
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid #e5e5e5;
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    color: #999;
    font-size: 11px;
}

/* RESPONSIVE FOOTER (Mobile) */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr; /* Stack everything vertically */
        gap: 40px;
    }
    .site-footer {
        padding: 50px 20px;
    }
    .footer-text {
        max-width: 100%;
    }
}



/* ================= NEW ADDITIONS FOR CONTENT PAGES ================= */

/* PRODUCT GRID (For Homepage & Trends) */
.section-header {
    text-align: center;
    margin: 60px 0 30px 0;
}
.section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    color: #000;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.product-item {
    text-decoration: none;
    color: #000;
    display: block;
    transition: transform 0.3s;
}
.product-item:hover { transform: translateY(-5px); }

.p-img, .product-img {
    width: 100%;
    aspect-ratio: 3/4;     /* Keeps the shape */
    object-fit: contain;   /* Shows full product */
    
    /* THE FIX: */
    background-color: #fff; /* Ensures the empty space inside the box is white */
    border: 1px solid #e5e5e5; /* A thin gray border to define the edge */
    border-radius: 8px;     /* Slight rounding so it doesn't look harsh */
}
.p-title { font-weight: bold; font-size: 14px; margin: 0; }
.p-price { color: #555; font-size: 13px; }

/* ABOUT PAGE STYLES */
.about-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}
.stat-box {
    background: #f9f9f9;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid #eee;
}
.big-stat {
    font-family: 'Oswald', sans-serif;
    font-size: 50px;
    color: #d50000; /* Red for emphasis */
    font-weight: 700;
    display: block;
}

/* LEGAL PAGE STYLES */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
    line-height: 1.6;
    color: #333;
}
.legal-container h1 { font-family: 'Oswald', sans-serif; margin-bottom: 20px; }
.legal-container h2 { margin-top: 30px; font-size: 18px; }

/* TRENDS / BLOG PAGE */
.trend-hero {
    text-align: center;
    padding: 60px 20px;
    background: #f4f4f4;
    margin-bottom: 40px;
}
.trend-desc {
    max-width: 600px;
    margin: 0 auto;
    color: #555;
}



/* ================= NEW CATEGORY PAGE STYLES ================= */

/* Sub-Category Navigation (The Pill Bar) */
.sub-nav-container {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 70px; /* Sticks below the main navbar */
    z-index: 900;
    text-align: center;
    overflow-x: auto; /* Allows scrolling on mobile */
    white-space: nowrap;
}

.sub-link {
    display: inline-block;
    padding: 8px 20px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 30px;
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
}

.sub-link:hover {
    background: var(--text-dark); /* Purple */
    color: #fff;
    border-color: var(--text-dark);
}

/* Category Headers */
.category-hero {
    height: 250px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}
.category-hero h1 {
    color: #fff;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    background: rgba(0,0,0,0.3); /* Dark box for readability */
    padding: 10px 30px;
    border: 1px solid rgba(255,255,255,0.5);
}

/* Section Dividers */
.sub-header {
    margin: 60px 0 30px 0;
    padding-left: 5%;
    border-left: 4px solid var(--text-dark); /* Purple line */
}
.sub-header h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.8rem;
    margin: 0;
    text-transform: uppercase;
    color: var(--text-dark);
}
.sub-header a {
    font-size: 0.9rem;
    color: #888;
    text-decoration: none;
}

/* Update Card Overlay for Index Page */
.cat-card { position: relative; }
.cat-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 12px 25px;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    color: #000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    opacity: 0.9;
    transition: all 0.3s;
    width: 60%;
    text-align: center;
}
.cat-card:hover .cat-overlay {
    background: var(--text-dark); /* Purple on hover */
    color: #fff;
    width: 70%;
}