/* ==========================================================================
   Base & Variables
   ========================================================================== */
:root {
    /* Color Palette - Monochrome */
    --black: #050505;
    --white: #ffffff;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-800: #1a1a1a;
    --gray-900: #111111;
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    
    /* Layout */
    --max-width: 1200px;
    --header-height: 80px;
    
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-desc {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--gray-800);
    font-size: 1.1rem;
}

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

.divider {
    height: 1px;
    width: 60px;
    background-color: var(--black);
    margin: 1.5rem auto;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition-normal);
}

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

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

.btn-outline-dark {
    background-color: transparent;
    color: var(--black);
    border-color: var(--black);
}

.btn-outline-dark:hover {
    background-color: var(--black);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--black);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    height: 70px;
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-text {
    font-family: var(--font-primary);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--black);
    transition: width var(--transition-normal);
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: var(--black);
    transition: var(--transition-fast);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 5%;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 1.5rem;
    color: var(--black);
}

.hero-title em {
    font-style: italic;
    font-family: var(--font-secondary);
    display: block;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: var(--gray-800);
    font-weight: 300;
}

.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-100) 100%);
    background-image: url('hero-img.jpg');
    background-size: cover;
    background-position: center;
}

.hero-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
}

/* ==========================================================================
   Features / About
   ========================================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem 2rem;
    margin-top: 3rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-icon {
    font-family: var(--font-secondary);
    font-size: 3rem;
    color: var(--gray-200);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-primary);
    font-weight: 600;
}

.feature-text {
    color: var(--gray-800);
    font-weight: 300;
}

/* ==========================================================================
   Collections Split
   ========================================================================== */
.collection-banner {
    padding: 0;
}

.collection-split {
    display: flex;
    height: 80vh;
    min-height: 500px;
}

.split-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    transition: flex 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.split-item:hover {
    flex: 1.1;
}

.dark-theme {
    background-color: var(--black);
    color: var(--white);
}

.light-theme {
    background-color: var(--gray-100);
    color: var(--black);
}

.split-content {
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.split-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.split-desc {
    margin-bottom: 2rem;
    font-weight: 300;
    opacity: 0.9;
}

/* ==========================================================================
   Product Range
   ========================================================================== */
.product-range {
    background-color: var(--white);
}

.range-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.range-list li {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 400;
    padding: 1rem;
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    cursor: default;
}

.range-list li::before {
    content: '—';
    margin-right: 15px;
    color: var(--gray-800);
    font-weight: 300;
}

.range-list li:hover {
    padding-left: 1.5rem;
    background-color: var(--gray-100);
}

/* ==========================================================================
   Special Offer
   ========================================================================== */
.offer-container {
    display: flex;
    background-color: var(--gray-100);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    margin: 4rem 0 2rem;
}

.offer-content {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.offer-badge {
    display: inline-block;
    background-color: var(--black);
    color: var(--white);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    margin-bottom: 1.5rem;
}

.offer-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.offer-desc {
    color: var(--gray-800);
    margin-bottom: 2rem;
    max-width: 400px;
    line-height: 1.8;
}

.offer-price {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.price-original {
    font-size: 1.4rem;
    color: var(--gray-800);
    text-decoration: line-through;
    opacity: 0.7;
}

.price-sale {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-primary);
    color: var(--black);
}

.offer-image {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.offer-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fallback-placeholder {
    display: none;
    width: 100%;
    height: 100%;
    background-color: var(--gray-200);
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--gray-800);
    text-align: center;
}

@media (max-width: 992px) {
    .offer-container {
        flex-direction: column;
    }
    .offer-content {
        padding: 3rem 2rem;
    }
    .offer-image {
        min-height: 350px;
    }
}

/* ==========================================================================
   Bestsellers
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    group: product;
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 125%; /* 4:5 aspect ratio */
    background-color: var(--gray-100);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-info {
    text-align: center;
}

.product-name {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-price {
    color: var(--gray-800);
    font-weight: 300;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 5rem 0 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 3fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-img {
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
    filter: invert(1); /* Makes the black logo white on the dark footer */
}

.footer-tagline {
    color: var(--gray-200);
    font-weight: 300;
    max-width: 300px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.link-group a {
    display: block;
    color: var(--gray-200);
    margin-bottom: 0.8rem;
    font-weight: 300;
    font-size: 0.9rem;
}

.link-group a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-newsletter h4 {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-newsletter p {
    color: var(--gray-200);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid var(--white);
}

.newsletter-form input {
    background: transparent;
    border: none;
    color: var(--white);
    padding: 0.8rem 0;
    width: 100%;
    font-family: var(--font-primary);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.newsletter-form button:hover {
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--gray-200);
    font-size: 0.85rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    font-weight: 600;
}

.social-links a:hover {
    color: var(--white);
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-in {
    opacity: 0;
    transition: opacity var(--transition-slow);
}

.fade-in.visible {
    opacity: 1;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    transform: translateX(-50px);
    opacity: 0;
    transition: all var(--transition-slow);
}

.reveal-right {
    transform: translateX(50px);
    opacity: 0;
    transition: all var(--transition-slow);
}

.reveal-left.visible, .reveal-right.visible {
    transform: translateX(0);
    opacity: 1;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-title {
        font-size: clamp(2.5rem, 6vw, 4rem);
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .collection-split {
        flex-direction: column;
    }
    
    .split-item {
        padding: 3rem 2rem;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition-normal);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: var(--header-height);
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero-image-container {
        position: relative;
        width: 100%;
        height: 40vh;
        order: -1;
        margin-bottom: 2rem;
    }
    
    .hero-image-overlay {
        background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}
