:root {
    --bg-color: #fcfcfc;
    --text-color: #1a1a1a;
    --text-light: #666;
    --accent: #d4af37; /* Subtle golden accent */
    --border-color: #eaeaea;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: cubic-bezier(0.77, 0, 0.175, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 300;
    overflow-x: hidden; 
    line-height: 1.6;
    cursor: none; 
}

/* Custom Cursor */
.cursor, .cursor-dot {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    mix-blend-mode: difference;
    transition: width 0.3s var(--transition), height 0.3s var(--transition), background-color 0.3s;
}

.cursor {
    width: 30px;
    height: 30px;
    border: 2px solid #fff;
}
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: #fff;
}

/* Utility */
.w-100 { width: 100%; }
.w-50 { width: 50%; }
.mt-2 { margin-top: 2rem; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    mix-blend-mode: difference;
    color: #fff;
    transition: transform 0.3s ease;
}

.solid-nav {
    mix-blend-mode: normal;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    color: #000;
    border-bottom: 1px solid var(--border-color);
}
.solid-nav a { color: #000 !important; }
.solid-nav a::after { background-color: #000 !important; }
.solid-nav .cursor { border: 1px solid #000; mix-blend-mode: normal;}
.solid-nav .cursor-dot { background-color: #000; mix-blend-mode: normal;}


.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 1.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 4px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #fff;
    transition: width 0.3s var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.cart-icon {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Typography & Forms */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
}

/* Buttons */
.btn {
    padding: 1rem 2.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s var(--transition);
    border: none;
    cursor: none;
}

.btn-primary {
    background-color: var(--text-color);
    color: var(--bg-color);
}
.btn-primary:hover {
    background-color: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}
.btn-secondary:hover {
    background: var(--text-color);
    color: var(--bg-color);
}

/* GSAP Specific Typography Adjustments */
.word-wrap {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}
.word {
    display: inline-block;
}

/* Marquee Effect */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: #fdfdfd;
}
.marquee-content {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-color);
}
.marquee-content span {
    margin: 0 3rem;
}


/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4rem;
    position: relative;
    overflow: hidden; 
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero-title {
    font-size: 7rem;
    line-height: 1.1;
    font-weight: 200;
}

.hero-subtitle {
    margin: 2rem 0 3rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image {
    max-width: 120%;
    filter: drop-shadow(0 30px 40px rgba(0,0,0,0.1));
}


/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Collection Section */
.collection {
    padding: 8rem 4rem;
    min-height: 80vh;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 200;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-light);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    cursor: none;
    opacity: 0;
    transform: translateY(40px);
    animation: var(--reveal-anim, none) 1s var(--transition) forwards;
}
@keyframes productReveal {
    to { opacity: 1; transform: translateY(0); }
}

.product-image {
    position: relative;
    overflow: hidden;
    background: #f0f0f0; 
    padding: 3rem;
    margin-bottom: 1.5rem;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    transition: transform 0.8s var(--transition);
    mix-blend-mode: multiply; 
}

/* Simulated variants by tinting reusing the hero shoe */
.tint-Onyx { filter: grayscale(1) brightness(0.4) !important; }
.tint-Taupe { filter: sepia(0.5) hue-rotate(-30deg) brightness(0.9) !important; }
.tint-Navy { filter: sepia(1) hue-rotate(180deg) saturate(2) brightness(0.6) !important; }
.tint-Forest { filter: sepia(1) hue-rotate(80deg) saturate(1.5) brightness(0.6) !important; }
.tint-Cream { filter: sepia(0.2) hue-rotate(-10deg) brightness(1.2) !important; }


.product-card:hover .product-image img {
    transform: scale(1.08) rotate(2deg);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s var(--transition);
}

.product-card:hover .overlay {
    opacity: 1;
}

.product-info {
    display: flex;
    flex-direction: column;
    padding: 0 0.5rem;
}

.product-info h3 {
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.product-info .price {
    font-weight: 500;
    color: var(--text-light);
}

/* GSAP Modern About Pin Section */
.about-modern {
    height: 100vh;
    background-color: var(--text-color);
    color: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.about-scroll-container {
    display: flex;
    max-width: 1400px;
    width: 100%;
    padding: 0 4rem;
    align-items: center;
    justify-content: space-between;
}

.about-left {
    flex: 1;
}

.about-left h2 {
    font-size: 6rem;
    font-weight: 200;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 2rem;
}

.about-left p {
    font-size: 1.8rem;
    line-height: 1.6;
    max-width: 500px;
}

.about-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-right img {
    width: 600px;
    transform: rotate(10deg);
    filter: drop-shadow(0 40px 50px rgba(0,0,0,0.4));
}


/* Footer */
.footer {
    padding: 6rem 4rem 2rem;
    background: var(--bg-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-light);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.footer-links a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-color);
}

.footer-bottom {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}


/* SIDE CART OVERLAY */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -500px; 
    width: 450px;
    height: 100vh;
    background: #fff;
    z-index: 999;
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    transition: right 0.6s var(--transition);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h2 { font-weight: 300; font-size: 1.5rem; color: #000; }

.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-light);
    cursor: none;
    transition: color 0.3s;
}
.close-btn:hover { color: var(--text-color); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    color: #000;
}

.cart-item {
    display: flex;
    margin-bottom: 2rem;
    align-items: center;
}
.cart-item-img {
    width: 80px;
    height: 80px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}
.cart-item-img img { width: 100%; mix-blend-mode: multiply; }
.cart-item-details { flex: 1; }
.cart-item-details h4 { font-size: 1rem; font-weight: 400; }
.cart-item-details p { color: var(--text-light); font-size: 0.9rem; margin: 0.2rem 0; }
.cart-item-remove { 
    font-size: 0.8rem; 
    text-decoration: underline; 
    color: var(--text-light); 
    cursor: none; 
}
.cart-item-remove:hover { color: red; }

.cart-footer {
    padding: 2rem;
    border-top: 1px solid var(--border-color);
    background: #fafafa;
    color: #000;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

/* MODALS (Quick View & Checkout) */
.modal {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    background: #fff;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s var(--transition);
    color: #000;
}
.modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-content {
    position: relative;
    padding: 3rem;
}

/* Quick View specific */
.quick-view-content {
    width: 900px;
    max-width: 90vw;
}
.quick-view-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.qv-image-wrapper {
    background: #f5f5f5;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qv-image-wrapper img { width: 100%; mix-blend-mode: multiply; }
.qv-details { display: flex; flex-direction: column; justify-content: center; }
.qv-details h2 { font-size: 2.2rem; font-weight: 300; margin-bottom: 0.5rem; }
.qv-price { font-size: 1.4rem; color: var(--text-light); margin-bottom: 2rem; }
.qv-desc { line-height: 1.7; margin-bottom: 2rem; color: #555; }
.size-selector { margin-bottom: 2rem; }
.size-selector p { margin-bottom: 1rem; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); }
.size-btns { display: flex; gap: 0.5rem; }
.size-btn {
    width: 40px; height: 40px;
    border: 1px solid var(--border-color);
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.3s;
    cursor: none;
}
.size-btn:hover, .size-btn.active {
    background: var(--text-color);
    color: #fff;
    border-color: var(--text-color);
}

.modal-content .close-btn { position: absolute; top: 1.5rem; right: 1.5rem; }

/* Checkout specific */
.checkout-content {
    width: 600px;
    max-width: 95vw;
}
.checkout-content h2 { font-weight: 300; margin-bottom: 2rem; }

.payment-tabs { display: flex; gap: 1rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border-color); }
.pay-tab { padding: 1rem; cursor: none; border: none; background: transparent; font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); transition: 0.3s; }
.pay-tab.active { color: var(--text-color); border-bottom: 2px solid var(--text-color); }
.pay-method { display: none; }
.pay-method.active { display: block; }

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); }
.form-group input { 
    width: 100%; 
    padding: 1rem; 
    border: 1px solid var(--border-color); 
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s;
    outline: none;
    cursor: none;
}
.form-group input:focus { border-color: var(--text-color); }
.form-row { display: flex; }

/* BACKDROP */
.backdrop {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0; visibility: hidden;
    transition: all 0.4s;
}
.backdrop.open { opacity: 1; visibility: visible; }
.backdrop-modal { z-index: 999; }

/* Responsive adjustments */
.hamburger {
    display: none;
    cursor: none;
}

@media (max-width: 900px) {
    .navbar {
        padding: 1.5rem 1.5rem;
        flex-wrap: wrap;
    }
    .logo {
        flex: 1;
    }
    #cart-toggle {
        flex: 1;
        text-align: right;
    }
    .nav-links {
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }
    .nav-links a {
        margin: 0 0.8rem;
        font-size: 0.8rem;
    }
    .grid { grid-template-columns: repeat(2, 1fr); }
    .hero-title { font-size: 5rem; }
    .quick-view-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .quick-view-content { padding: 2rem; max-height: 90vh; overflow-y: auto;}
    .qv-image-wrapper { padding: 1.5rem; }
    .about-scroll-container { flex-direction: column; text-align: center; }
    .about-left h2 { font-size: 4rem; margin-top: 5rem; }
    .about-right img { width: 300px; margin-top: 3rem; }
}

@media (max-width: 600px) {
    .grid { grid-template-columns: 1fr; }
    .hero { flex-direction: column; text-align: center; justify-content: flex-end; padding-bottom: 4rem; }
    .hero-title { font-size: 4rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .cart-sidebar { width: 100vw; right: -100vw; }
}
