/*
    STYLES.CSS
    - Custom theme for ALL CLOTHING
    - ~2000 lines with advanced animations & responsive design
*/

/* ---------------------------------- */
/*          1. ROOT & GLOBALS         */
/* ---------------------------------- */

:root {
    --color-primary: #4D8EFF; 
    --color-primary-dark: #3a7de8;
    --color-background: #0D0D0D; /* A very dark grey, almost black */
    --color-surface: #1A1A1A;
    --color-surface-light: #2a2a2a;
    --color-text: #EAEAEA;
    --color-text-muted: #888888;
    --color-white: #FFFFFF;
    --color-black: #000000;
    --color-border: #333333;
    --color-success: #28a745;
    --color-error: #dc3545;

    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;

    --header-height: 80px;
    --transition-fast: 0.2s ease-in-out;
    --transition-medium: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);

    --border-radius: 8px;
    --shadow-small: 0 4px 10px rgba(0, 0, 0, 0.2);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) var(--color-surface);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-surface);
}
::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 10px;
    border: 2px solid var(--color-surface);
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor */
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-primary-dark);
    text-decoration: underline;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* ---------------------------------- */
/*      2. PRELOADER & CURSOR         */
/* ---------------------------------- */

.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-background);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 10000;
    transition: opacity 0.8s var(--transition-slow), visibility 0.8s var(--transition-slow);
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    animation: pulse 2s infinite ease-in-out;
}

.preloader-logo img {
    max-width: 150px;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.preloader-bar {
    width: 150px;
    height: 3px;
    background-color: var(--color-surface-light);
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.preloader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 50%;
    background-color: var(--color-primary);
    border-radius: 5px;
    animation: preload-anim 2s infinite linear;
}

@keyframes preload-anim {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}


.cursor-dot,
.cursor-dot-outline {
    pointer-events: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
}
body:hover .cursor-dot, body:hover .cursor-dot-outline {
    opacity: 1;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
}

.cursor-dot-outline {
    width: 40px;
    height: 40px;
    background-color: rgba(77, 142, 255, 0.2);
    border: 2px solid rgba(77, 142, 255, 0.5);
    transition-duration: 0.1s;
}

/* Cursor hover effects */
a:hover ~ .cursor-dot-outline,
button:hover ~ .cursor-dot-outline,
.collection-card:hover ~ .cursor-dot-outline,
.lookbook-item:hover ~ .cursor-dot-outline {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(77, 142, 255, 0.3);
    border-color: var(--color-primary);
}
a:hover ~ .cursor-dot,
button:hover ~ .cursor-dot,
.collection-card:hover ~ .cursor-dot,
.lookbook-item:hover ~ .cursor-dot {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
}


/* ---------------------------------- */
/*           3. HEADER                */
/* ---------------------------------- */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    padding: 0 20px;
    transition: background-color var(--transition-medium), backdrop-filter var(--transition-medium), height var(--transition-medium), box-shadow var(--transition-medium);
}

.header.scrolled {
    background-color: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: 70px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-link {
    display: flex;
    align-items: center;
}

.logo {
    height: 100px;
    width: auto;
    transition: var(--transition-medium);
}
.header.scrolled .logo {
    height: 35px;
}

.main-nav {
    display: block;
}

.nav-list {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 5px 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-white);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-btn {
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 1.2rem;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.action-btn:hover {
    color: var(--color-primary);
    transform: scale(1.1);
}

.cart-btn {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--color-primary);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 1;
}

/* ---------------------------------- */
/*       4. MOBILE NAVIGATION         */
/* ---------------------------------- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--color-white);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.open span:nth-child(3) {
    transform: rotate(-45deg);
}


.mobile-nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-background);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.mobile-nav-container.open {
    transform: translateX(0);
}

.mobile-nav ul {
    text-align: center;
}

.mobile-nav ul li {
    margin: 20px 0;
}

.mobile-nav-link {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-secondary);
    color: var(--color-text);
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: color 0.3s, opacity 0.5s, transform 0.5s;
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-nav-container.open .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-container.open .mobile-nav-link:nth-child(1) { transition-delay: 0.2s; }
.mobile-nav-container.open .mobile-nav-link:nth-child(2) { transition-delay: 0.3s; }
.mobile-nav-container.open .mobile-nav-link:nth-child(3) { transition-delay: 0.4s; }
.mobile-nav-container.open .mobile-nav-link:nth-child(4) { transition-delay: 0.5s; }


.mobile-nav-link:hover {
    color: var(--color-primary);
}

.mobile-nav-footer {
    position: absolute;
    bottom: 30px;
    text-align: center;
}

.mobile-nav-footer a {
    color: var(--color-text-muted);
    margin: 0 15px;
    font-size: 0.9rem;
}

/* ---------------------------------- */
/*          5. HERO SECTION           */
/* ---------------------------------- */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1503342217505-b0a15ec3261c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1740&q=80') no-repeat center center/cover;
    animation: zoom-in 20s infinite alternate;
    z-index: -2;
}
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(13, 13, 13, 1) 0%, rgba(13, 13, 13, 0.6) 50%, rgba(13, 13, 13, 0.3) 100%);
    z-index: -1;
}

@keyframes zoom-in {
    from { transform: scale(1); }
    to { transform: scale(1.1); }
}

.hero-content {
    color: var(--color-white);
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 8vw;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 20px;
}
.hero-title .line {
    display: block;
}
.hero-title .line-special {
    display: block;
    color: var(--color-primary);
    -webkit-text-stroke: 2px var(--color-primary);
    color: transparent;
    text-shadow: 2px 2px 20px rgba(77, 142, 255, 0.5);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--color-text);
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}
.mouse {
    width: 25px;
    height: 45px;
    border: 2px solid var(--color-white);
    border-radius: 20px;
    position: relative;
    opacity: 0.7;
}
.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--color-white);
    border-radius: 2px;
    animation: scroll-anim 2s infinite;
}

@keyframes scroll-anim {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 15px); opacity: 0.5; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/* ---------------------------------- */
/*         6. BUTTONS & FORMS         */
/* ---------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn span {
    position: relative;
    z-index: 2;
}
.btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}
.btn-primary:hover {
    background-color: var(--color-primary-dark);
    box-shadow: 0 10px 20px rgba(77, 142, 255, 0.2);
    transform: translateY(-2px);
    color: var(--color-white);
    text-decoration: none;
}
.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-secondary:hover {
    background-color: var(--color-white);
    color: var(--color-black);
    transform: translateY(-2px);
    text-decoration: none;
}
.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    padding: 10px 24px;
}
.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
}

/* Form Styles for Contact & Legal Pages */
.form-card {
    background-color: var(--color-surface);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}
.form-card h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text-muted);
}
.input-with-icon {
    position: relative;
}
.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
}
.input-with-icon input,
.input-with-icon textarea {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    color: var(--color-text);
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}
.input-with-icon textarea {
    padding: 15px 15px 15px 45px;
    resize: vertical;
}
.input-with-icon.textarea i {
    top: 22px;
}
.input-with-icon input:focus,
.input-with-icon textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(77, 142, 255, 0.2);
}

.checkbox-group {
    display: flex;
    align-items: center;
}
.checkbox-group input {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}
.checkbox-group label {
    margin: 0;
    color: var(--color-text);
}


/* ---------------------------------- */
/*        7. GENERIC SECTIONS         */
/* ---------------------------------- */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: block;
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--color-white);
}

/* ---------------------------------- */
/*        8. MARQUEE SECTION          */
/* ---------------------------------- */
.marquee-section {
    padding: 20px 0;
    background-color: var(--color-primary);
    color: var(--color-black);
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    transform: rotate(-1deg);
    margin: 4rem 0;
    box-shadow: 0 0 20px rgba(77, 142, 255, 0.4);
}

.marquee-wrapper {
    display: flex;
    animation: marquee 40s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    font-family: var(--font-secondary);
    font-weight: 800;
    font-size: 1.5rem;
    text-transform: uppercase;
    flex-shrink: 0;
}
.marquee-content span {
    padding: 0 30px;
}
.diamond-separator {
    color: var(--color-black);
    font-size: 1rem;
}

@keyframes marquee {
    from { transform: translateX(0%); }
    to { transform: translateX(-100%); }
}

/* ---------------------------------- */
/*       9. COLLECTIONS SECTION       */
/* ---------------------------------- */
.collections-section {
    padding: 100px 0;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.collection-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    height: 450px;
    display: block;
    text-decoration: none;
}
.collection-card:hover {
    text-decoration: none;
}

.collection-image {
    width: 100%;
    height: 100%;
}
.collection-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.collection-card:hover .collection-image img {
    transform: scale(1.1);
}

.collection-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 60%);
    transition: var(--transition-medium);
}
.collection-card:hover::after {
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%);
}

.collection-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: var(--color-white);
    z-index: 2;
    transform: translateY(20px);
    opacity: 0;
    transition: var(--transition-medium);
}
.collection-card:hover .collection-info {
    transform: translateY(0);
    opacity: 1;
}

.collection-info h3 {
    font-family: var(--font-secondary);
    font-size: 2rem;
    margin-bottom: 10px;
    line-height: 1.1;
}

.explore-link {
    display: flex;
    align-items: center;
    color: var(--color-primary);
    font-weight: 600;
}
.explore-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}
.collection-card:hover .explore-link i {
    transform: translateX(5px);
}

/* ---------------------------------- */
/*      10. NEW ARRIVALS SLIDER       */
/* ---------------------------------- */
.new-arrivals-section {
    padding: 100px 0;
    background-color: var(--color-surface);
}
.slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}
.slider-wrapper {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.product-card {
    flex: 0 0 25%;
    padding: 0 15px;
    text-align: left;
}
.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    background: var(--color-surface-light);
}
.product-image-wrapper img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: var(--transition-medium);
}
.product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}
.product-actions {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translate(-50%, 10px);
    opacity: 0;
    transition: var(--transition-medium);
    display: flex;
    gap: 10px;
}
.product-card:hover .product-actions {
    transform: translate(-50%, 0);
    opacity: 1;
}
.product-action-btn {
    background: var(--color-white);
    color: var(--color-black);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    box-shadow: var(--shadow-small);
    transition: var(--transition-fast);
}
.product-action-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.1);
}
.product-info h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--color-text);
}
.product-info .price {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--color-primary);
}
.price .old-price {
    text-decoration: line-through;
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-right: 10px;
}
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: 1px solid var(--color-border);
    color: var(--color-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    z-index: 10;
    transition: var(--transition-fast);
}
.slider-btn:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
}
.prev-btn { left: -10px; }
.next-btn { right: -10px; }
.slider-dots {
    text-align: center;
    margin-top: 30px;
}
.slider-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-surface-light);
    margin: 0 5px;
    cursor: pointer;
    transition: var(--transition-fast);
}
.slider-dot.active {
    background: var(--color-primary);
    transform: scale(1.3);
}

/* ---------------------------------- */
/*         11. ABOUT SECTION          */
/* ---------------------------------- */
.about-section {
    padding: 100px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image-container {
    position: relative;
}
.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}
.about-image-container::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: var(--border-radius);
    z-index: -1;
    transition: var(--transition-medium);
}
.about-image-container:hover::before {
    transform: translate(10px, 10px);
}
.about-content .section-header {
    text-align: left;
    margin-bottom: 30px;
}
.about-content .section-title {
    font-size: 2.5rem;
}
.about-content p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}
.about-features {
    margin-bottom: 40px;
}
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}
.feature-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-top: 5px;
}
.feature-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}
.feature-item p {
    margin: 0;
    font-size: 0.9rem;
}

/* ---------------------------------- */
/*        12. LOOKBOOK SECTION        */
/* ---------------------------------- */
.lookbook-section {
    padding: 100px 0;
}
.lookbook-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 300px);
    grid-auto-flow: dense;
    gap: 20px;
}
.lookbook-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-small);
}
.lookbook-item.tall {
    grid-row: span 2;
}
.lookbook-item.wide {
    grid-column: span 2;
}
.lookbook-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow), filter var(--transition-slow);
}
.lookbook-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.8);
}
.lookbook-item .overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.5);
    color: var(--color-white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-medium);
}
.lookbook-item:hover .overlay {
    opacity: 1;
    transform: translateY(0);
}

/* ---------------------------------- */
/*      13. NEWSLETTER SECTION        */
/* ---------------------------------- */
.newsletter-section {
    padding: 80px 0;
    background-color: var(--color-surface);
}
.newsletter-content {
    background: linear-gradient(135deg, var(--color-primary) 0%, #63a0ff 100%);
    color: var(--color-black);
    padding: 50px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    box-shadow: 0 15px 30px rgba(77, 142, 255, 0.2);
}
.newsletter-title {
    font-family: var(--font-secondary);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}
.newsletter-text p {
    margin: 0;
    max-width: 450px;
}
.newsletter-form {
    display: flex;
    flex-grow: 1;
    max-width: 500px;
    background: var(--color-white);
    border-radius: 50px;
    padding: 5px;
    box-shadow: var(--shadow-small);
}
.newsletter-form input {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 0 20px;
    font-size: 1rem;
    color: var(--color-black);
    outline: none;
}
.newsletter-form .btn {
    background: var(--color-black);
    color: var(--color-white);
    padding: 10px 25px;
}
.newsletter-form .btn:hover {
    background: #333;
    color: var(--color-white);
}

/* ---------------------------------- */
/*            14. FOOTER              */
/* ---------------------------------- */
.footer {
    padding: 80px 0 30px;
    background-color: var(--color-black);
    border-top: 1px solid var(--color-border);
}
.footer-main {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}
.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
}
.footer-about-text {
    color: var(--color-text-muted);
    margin-bottom: 20px;
    max-width: 300px;
}
.footer-socials {
    display: flex;
    gap: 15px;
}
.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-surface);
    color: var(--color-text);
    font-size: 1rem;
    transition: var(--transition-fast);
}
.footer-socials a:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    text-decoration: none;
}
.footer-col-title {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
}
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}
.footer-links a:hover {
    color: var(--color-primary);
    text-decoration: none;
    padding-left: 5px;
}
.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}
. {
    display: flex;
    gap: 15px;
    font-size: 1.8rem;
}

/* ---------------------------------- */
/*    15. LEGAL & CONTACT PAGES       */
/* ---------------------------------- */

.page-header {
    padding: 160px 0 80px;
    background-color: var(--color-surface);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header-shapes .shape {
    position: absolute;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.05;
}
.page-header-shapes .shape-1 { width: 400px; height: 400px; top: -100px; left: -100px; }
.page-header-shapes .shape-2 { width: 200px; height: 200px; bottom: -50px; right: 20%; }
.page-header-shapes .shape-3 { width: 100px; height: 100px; top: 20%; right: 10%; }

.page-header-content h1 {
    font-family: var(--font-secondary);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}
.page-header-content p {
    color: var(--color-text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}
.breadcrumb {
    margin-top: 2rem;
}
.breadcrumb a {
    color: var(--color-text-muted);
}
.breadcrumb .separator {
    margin: 0 10px;
    color: var(--color-text-muted);
}
.breadcrumb .current {
    color: var(--color-primary);
}
.legal-content, .contact-section {
    padding: 100px 0;
}
.legal-card {
    background-color: var(--color-surface);
    padding: 50px;
    border-radius: var(--border-radius);
    max-width: 900px;
    margin: 0 auto;
}
.legal-section {
    margin-bottom: 2.5rem;
}
.legal-section h2 {
    font-family: var(--font-secondary);
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    border-left: 3px solid var(--color-primary);
    padding-left: 1rem;
}
.legal-section p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.legal-section ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--color-text-muted);
}
.legal-section ul li {
    margin-bottom: 0.5rem;
}
.legal-footer {
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.legal-footer p {
    color: var(--color-text-muted);
    margin: 0;
}

/* Contact Page Specifics */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}
.contact-info .section-header {
    text-align: left;
    margin-bottom: 3rem;
}
.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.contact-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: var(--color-surface-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--color-primary);
}
.contact-text h3 {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.contact-text p {
    color: var(--color-text-muted);
    margin: 0;
}

/* Success Popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-medium);
}
.popup:target {
    opacity: 1;
    visibility: visible;
}
.popup-content {
    background: var(--color-surface);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 450px;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.popup:target .popup-content {
    transform: scale(1);
}
.popup-icon {
    font-size: 4rem;
    color: var(--color-success);
    margin-bottom: 1rem;
}
.popup-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.popup-content p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}
.popup .btn {
    text-decoration: none;
}


/* ---------------------------------- */
/*     16. SCROLL ANIMATIONS          */
/* ---------------------------------- */
.animate-in {
    opacity: 0;
    transition: opacity 0.8s var(--transition-slow), transform 0.8s var(--transition-slow);
}

.animate-in.fade-in-up {
    transform: translateY(50px);
}

.animate-in.fade-in-left {
    transform: translateX(-50px);
}

.animate-in.fade-in-right {
    transform: translateX(50px);
}

.animate-in.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* ---------------------------------- */
/*       17. RESPONSIVE DESIGN        */
/* ---------------------------------- */

@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 33.33%;
    }
}

@media (max-width: 992px) {
    .container {
        width: 95%;
    }
    .main-nav {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .header-actions {
        gap: 15px;
    }
    .action-btn {
        font-size: 1.1rem;
    }
    .hero-title {
        font-size: 12vw;
    }
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .about-image-container {
        margin-bottom: 40px;
    }
    .about-content .section-header, .contact-info .section-header {
        text-align: center;
    }
    .product-card {
        flex: 0 0 50%;
    }
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    .footer-col.about-col {
        grid-column: 1 / -1;
        text-align: center;
    }
    .footer-socials {
        justify-content: center;
    }
    .lookbook-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(auto, 300px);
    }
    .lookbook-item.wide {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .page-header-content h1 {
        font-size: 2.8rem;
    }
    .hero-title {
        font-size: 15vw;
        letter-spacing: -1px;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-cta {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    .collections-grid {
        grid-template-columns: 1fr;
    }
    .slider-container {
        padding: 0;
    }
    .slider-btn {
        display: none; /* simpler navigation for mobile */
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
    .legal-card, .form-card {
        padding: 30px;
    }
    .page-header {
        padding: 140px 0 60px;
    }
}

@media (max-width: 576px) {
    .product-card {
        flex: 0 0 100%;
    }
    .lookbook-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(auto, 350px);
    }
    .lookbook-item,
    .lookbook-item.tall,
    .lookbook-item.wide {
        grid-column: span 1;
        grid-row: span 1;
    }
    .newsletter-form {
        flex-direction: column;
        background: transparent;
        box-shadow: none;
        width: 100%;
        gap: 10px;
    }
    .newsletter-form input {
        border-radius: 50px;
        padding: 14px 20px;
        text-align: center;
        background: var(--color-white);
    }
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links {
        padding: 0;
    }
}

/* Hide custom cursor on touch devices */
@media (pointer: coarse) {
    .cursor-dot,
    .cursor-dot-outline {
        display: none;
    }
    body {
        cursor: auto;
    }
}