/* ==========================================================================
   MR CLOTHING - Ultra Premium E-Commerce Design System
   ========================================================================== */

/* Variables */
:root {
    --bg-black: #050505;
    --bg-darker: #0a0a0a;
    --bg-dark: #151515;
    --text-white: #f4f4f4;
    --text-muted: #888888;
    --gold: #D4AF37; /* Luxury Gold */
    --gold-hover: #F3E5AB;
    --border-color: rgba(255, 255, 255, 0.1);
    
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* Base Styles & Lenis Fix */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
    background-color: var(--bg-black);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-syne {
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.font-inter { font-family: var(--font-body); }
.text-gold { color: var(--gold) !important; }
.bg-black { background-color: var(--bg-black); }
.bg-darker { background-color: var(--bg-darker); }
.section-padding { padding: 100px 0; }
.title-large { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -1px; }

/* Utilities */
.glass-panel {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
}

/* Announcement Bar */
.announcement-bar {
    background-color: var(--text-white);
    color: var(--bg-black);
    text-align: center;
    padding: 8px 0;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: var(--font-body);
}

/* Header & Navbar */
.header {
    position: fixed;
    top: 34px; /* Below announcement */
    width: 100%;
    height: 80px;
    z-index: 1000;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}
.header.scrolled {
    top: 0;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
}

.brand-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-links ul li { margin: 0 20px; }
.nav-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }

.nav-icons a, .nav-icons button {
    color: var(--text-white);
    background: none;
    border: none;
    font-size: 1.2rem;
    margin-left: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
}
.nav-icons a:hover { color: var(--gold); }
.cart-icon { position: relative; }
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--gold);
    color: var(--bg-black);
    font-size: 0.65rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-section { height: calc(100vh - 34px); position: relative; }
.slide-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center; z-index: 1;
}
.slide-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to top, var(--bg-black) 0%, rgba(0,0,0,0.3) 100%); z-index: 2;
}
.slide-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 3; width: 90%; max-width: 800px;
}

.hero-subtitle { font-size: 1rem; color: var(--gold); letter-spacing: 4px; margin-bottom: 20px; }
.hero-title { font-size: clamp(3rem, 8vw, 6rem); font-weight: 800; line-height: 0.9; margin-bottom: 20px; letter-spacing: -2px; }
.hero-desc { font-size: 1.1rem; font-weight: 300; color: #ccc; }

/* Buttons */
.btn-premium {
    display: inline-block;
    padding: 16px 40px;
    background: var(--text-white);
    color: var(--bg-black);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 1px solid var(--text-white);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-premium:hover { background: transparent; color: var(--text-white); }

.btn-outline-gold {
    display: inline-block;
    padding: 14px 35px;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}
.btn-outline-gold:hover { background: var(--gold); color: var(--bg-black); }

.btn-premium-solid { background: var(--gold); color: var(--bg-black); font-weight: 700; border-radius: 0; padding: 0 30px; }
.btn-premium-solid:hover { background: var(--text-white); color: var(--bg-black); }

/* Marquee */
.marquee-section { overflow: hidden; white-space: nowrap; background: var(--bg-black); }
.marquee-content {
    display: inline-block;
    animation: marquee 20s linear infinite;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Category Cards */
.view-all-link { color: var(--text-white); text-decoration: none; font-size: 0.9rem; border-bottom: 1px solid var(--gold); padding-bottom: 5px; transition: 0.3s; }
.view-all-link:hover { color: var(--gold); }

.category-card {
    display: block; position: relative; overflow: hidden; text-decoration: none;
}
.category-card img { transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.category-card:hover img { transform: scale(1.05); }
.category-info {
    position: absolute; bottom: 20px; left: 20px; right: 20px; padding: 20px;
    color: var(--text-white); transition: transform 0.4s ease;
}
.category-info h3 { font-size: 1.2rem; margin-bottom: 5px; font-weight: 700; }
.category-info p { font-family: var(--font-body); font-size: 0.8rem; margin: 0; color: var(--text-muted); }

/* Product Cards */
.product-card { background: transparent; text-align: left; }
.product-img-wrapper { position: relative; overflow: hidden; background: var(--bg-dark); aspect-ratio: 4/5; }
.product-img-wrapper img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.8s ease; }
.product-card:hover .product-img-wrapper img { transform: scale(1.05); }

.sale-badge {
    position: absolute; top: 15px; left: 15px; background: var(--text-white);
    color: var(--bg-black); font-size: 0.7rem; font-weight: 800; padding: 5px 10px; z-index: 2;
}

.product-actions {
    position: absolute; bottom: -60px; left: 10px; right: 10px; display: flex; justify-content: space-between;
    padding: 10px; transition: bottom 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 2;
}
.product-card:hover .product-actions { bottom: 10px; }

.action-btn { background: transparent; border: none; color: var(--text-white); font-size: 1rem; cursor: pointer; transition: color 0.3s; }
.action-btn:hover { color: var(--gold); }
.add-to-cart { font-family: var(--font-heading); font-size: 0.8rem; font-weight: 700; border-bottom: 1px solid transparent; }
.add-to-cart:hover { border-bottom: 1px solid var(--gold); }

.product-title { font-family: var(--font-heading); color: var(--text-white); text-decoration: none; font-size: 1.1rem; font-weight: 600; display: block; transition: 0.3s; }
.product-title:hover { color: var(--gold); }
.product-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 5px; }
.product-price { font-weight: 600; color: var(--text-white); font-size: 1rem; }

/* Parallax Story Section */
.story-section { min-height: 80vh; display: flex; align-items: center; }
.story-parallax-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 120%; /* Extra height for parallax */
    background-size: cover; background-position: center; background-attachment: fixed; z-index: 0;
}
.story-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(5,5,5,0.7); z-index: 1; }
.z-index-2 { z-index: 2; }

/* Newsletter */
.premium-input { background: transparent; border: 1px solid var(--border-color); color: var(--text-white); border-radius: 0; padding: 15px 20px; }
.premium-input:focus { background: rgba(255,255,255,0.05); color: var(--text-white); border-color: var(--gold); box-shadow: none; }

/* Footer */
.footer-title { color: var(--text-white); font-size: 1rem; font-weight: 700; margin-bottom: 25px; letter-spacing: 1px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.social-links a { color: var(--text-white); font-size: 1.2rem; margin-right: 20px; transition: color 0.3s; }
.social-links a:hover { color: var(--gold); }