/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&family=Playfair+Display:wght@600&display=swap');

/* --- Brand Variables --- */
:root {
    --primary: #222222;       /* Charcoal Black */
    --primary-light: #555555; /* Medium Gray */
    --accent: #C5A059;        /* Warm Gold/Beige Accent */
    --bg-light: #F9F9F9;      /* Off-white for sections */
    --white: #FFFFFF;
    --border: #E5E5E5;
    --sale-red: #D32F2F;
    --transition: 0.3s ease;
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--white);
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 5%;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

.bg-light {
    background-color: var(--bg-light);
}

/* --- Promo Banner --- */
.top-promo {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- Navigation & Header --- */
header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container a {
    text-decoration: none;
}

.logo-container h1 {
    font-size: 1.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.header-icons {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Hamburger Menu Logic */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; cursor: pointer; }
.nav-toggle-label span, 
.nav-toggle-label span::before, 
.nav-toggle-label span::after {
    display: block; 
    background: var(--primary); 
    height: 2px; 
    width: 25px; 
    position: relative; 
    transition: var(--transition);
}
.nav-toggle-label span::before, .nav-toggle-label span::after { content: ''; position: absolute; }
.nav-toggle-label span::before { bottom: 8px; }
.nav-toggle-label span::after { top: 8px; }

/* --- Hero Section --- */
#hero {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    padding: 60px 5%;
    gap: 50px;
    min-height: 80vh;
}

.hero-content { flex: 1; }
.hero-image { flex: 1; }

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: -20px 20px 0px var(--border);
}

.badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-bottom: 30px;
}

.hero-buttons { display: flex; gap: 15px; }

.btn-primary, .btn-secondary {
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: 1px solid var(--primary);
}

.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--white); color: var(--primary); }

.btn-secondary { background: transparent; color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: var(--white); }

/* --- Category Grid --- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.cat-card {
    text-decoration: none;
    text-align: center;
    color: var(--primary);
}

.cat-img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 50%; /* Home Centre style circle categories */
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.cat-card:hover .cat-img { border-color: var(--primary); }
.cat-card:hover .cat-img img { transform: scale(1.05); }

.cat-card h3 { font-family: 'Lato', sans-serif; font-size: 1.1rem; font-weight: 700; }

/* --- Trending Products Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background: var(--white);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.08); transform: translateY(-5px); }

.product-img {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.product-img img { width: 100%; height: 100%; object-fit: cover; }

.sale-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--sale-red);
    color: var(--white);
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.brand { font-size: 0.75rem; color: var(--primary-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
.product-info h3 { font-family: 'Lato', sans-serif; font-size: 1.1rem; margin-bottom: 15px; flex-grow: 1; }

.price-block { margin-bottom: 20px; }
.current-price { font-weight: 900; font-size: 1.2rem; color: var(--primary); margin-right: 10px; }
.old-price { text-decoration: line-through; color: var(--primary-light); font-size: 0.9rem; }

.add-to-cart {
    background: var(--white);
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 12px;
    width: 100%;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover { background: var(--primary); color: var(--white); }

/* --- Inspiration / Shop The Look --- */
.inspiration-banner {
    display: flex;
    align-items: center;
    background: var(--bg-light);
    gap: 50px;
}

.inspiration-img { flex: 1.2; height: 500px; }
.inspiration-img img { width: 100%; height: 100%; object-fit: cover; }
.inspiration-text { flex: 1; padding: 40px; }
.inspiration-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.inspiration-text p { color: var(--primary-light); margin-bottom: 30px; font-size: 1.05rem; }

/* --- Values Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
    border-top: 1px solid var(--border);
    padding-top: 60px;
}

.value-icon { font-size: 2.5rem; margin-bottom: 15px; }
.value-item h3 { font-family: 'Lato', sans-serif; font-size: 1.1rem; margin-bottom: 10px; }
.value-item p { font-size: 0.9rem; color: var(--primary-light); }

/* --- Footer --- */
footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 5% 30px;
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 50px;
}

.footer-col h3, .footer-col h4 { color: var(--white); margin-bottom: 20px; }
.footer-col p { color: #bbbbbb; font-size: 0.9rem; margin-bottom: 15px; }
.website-link a, .footer-col a { color: var(--white); text-decoration: none; transition: var(--transition); }
.footer-col a:hover { color: var(--accent); }

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #bbbbbb; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--white); padding-left: 5px; }

.footer-bottom { text-align: center; border-top: 1px solid #444; padding-top: 30px; font-size: 0.8rem; color: #888; }

/* --- MOBILE RESPONSIVE RULES --- */
@media (max-width: 992px) {
    /* Hamburger Activation */
    .nav-toggle-label { display: block; margin-right: 20px; }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
    }
    
    .nav-links {
        flex-direction: column;
        align-items: center;
        padding: 0;
        margin: 20px 0;
    }
    
    .nav-toggle:checked ~ nav { max-height: 300px; } /* Reveals the menu */

    .header-icons { margin-left: auto; }

    /* Layout Adjustments */
    #hero { flex-direction: column; text-align: center; padding-top: 40px; }
    .hero-content h2 { font-size: 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero-image { width: 100%; }
    .hero-image img { box-shadow: none; border-radius: 8px; }

    .inspiration-banner { flex-direction: column; text-align: center; }
    .inspiration-img { width: 100%; height: 300px; }
}

@media (max-width: 600px) {
    .container { padding: 60px 5%; }
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } /* 2 per row on small phones */
    .cat-img { border-radius: 10px; } /* Change from circle to rounded square for space */
}