/* Reset & Variables */
:root {
    --color-bg: #F9F8F6; /* Soft beige / off-white */
    --color-text: #1A1A1A; /* Dark navy / charcoal */
    --color-accent: #333333;
    --color-white: #FFFFFF;
    --color-promo-bg: #1A1E26; /* Dark navy for promo tile */
    --color-promo-text: #FFFFFF;
    
    --font-heading: 'Georgia', 'Times New Roman', serif; /* Elegant serif */
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Clean sans-serif */
    
    --spacing-container: 4vw;
    --spacing-grid: 20px;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* Container */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    background-color: rgba(249, 248, 246, 0.95); /* Semi-transparent match to bg */
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.nav-list {
    display: flex;
    gap: 3rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.2s;
}

.nav-link:hover {
    opacity: 0.6;
}

.header-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.icon-btn {
    color: var(--color-text);
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
}

.icon-btn:hover {
    opacity: 0.6;
}

/* Hero Section */
.hero-section {
    width: 100%;
    min-height: 500px; /* Adjust as needed */
    background: linear-gradient(to right, #F0EFEA 50%, #E6E4DE 100%); /* Soft neutral gradient */
    display: flex;
    overflow: hidden;
    position: relative;
    margin-bottom: 4rem;
}

.hero-container {
    display: flex;
    width: 100%;
    height: 100%;
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding-left: var(--spacing-container);
    padding-right: 2rem;
}

.hero-text-wrapper {
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background-color: #EBCBC4; /* Soft pink/beige accent */
    padding: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.hero-badge h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 400;
    margin: 0;
    line-height: 1;
    color: var(--color-text);
}

.hero-subtext {
    font-size: 1.2rem;
    color: #555;
    margin-top: 1rem;
    font-weight: 300;
}

.hero-image {
    flex: 1;
    position: relative;
    min-height: 500px;
    background-color: #ddd; /* Fallback */
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*
.hero-placeholder {
    width: 100%;
    height: 100%;
    background-color: #D8D4CE; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-heading);
}
*/

/* Product Grid */
.product-section {
    padding-bottom: 6rem;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columns desktop */
    gap: 30px; /* Equal spacing */
}

.product-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-image {
    width: 100%;
    aspect-ratio: 3 / 4; /* Portrait fashion ratio */
    background-color: #ECECEC;
    margin-bottom: 1rem;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

/* 
.product-image .placeholder-img {
    width: 100%;
    height: 100%;
    background-color: #EBEAE6; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #A0A0A0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.5s ease;
}

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

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

.product-title {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.product-price {
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

/* Promo Tile */
.promo-tile {
    grid-column: span 1; /* Takes 1 slot */
    background-color: var(--color-promo-bg);
    color: var(--color-promo-text);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    aspect-ratio: 3 / 4; /* Match product card */
    padding: 2rem;
    cursor: pointer;
}

.promo-content h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.promo-content p {
    font-size: 0.9rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.btn-promo {
    background-color: #fff;
    color: var(--color-promo-bg);
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.2s;
}

.btn-promo:hover {
    background-color: #ddd;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: #fff;
    padding: 2rem 3rem;
    border-radius: 4px;
    position: relative;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.close-modal:hover {
    color: #000;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }
    
    .nav-list {
        display: none; /* Hide nav on mobile for demo simplicity or hamburger needed */
    }
    
    .header-center {
        display: none; /* Hide for simple mobile view */
    }

    .hero-container {
        flex-direction: column;
    }
    
    .hero-content {
        padding: 3rem 1.5rem;
        text-align: center;
        justify-content: center;
    }
    
    .hero-text-wrapper {
        margin: 0 auto;
    }
    
    .hero-image {
        min-height: 300px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 columns */
    }
    
    .hero-badge h1 {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .product-grid, .catalog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .promo-tile {
        padding: 1.5rem;
    }
    
    .hero-badge h1 {
        font-size: 2.5rem;
    }
}

/* Page Header */
.page-header {
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 400;
}

/* Add to Cart Button */
.add-to-cart {
    display: block;
    width: 100%;
    margin-top: 1rem;
    padding: 0.8rem;
    background-color: var(--color-text);
    color: var(--color-white);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    border: 1px solid var(--color-text);
    transition: all 0.2s;
}

.add-to-cart:hover {
    background-color: transparent;
    color: var(--color-text);
}

/* Contact Page */
.contact-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 1rem;
    color: #555;
}

.contact-form {
    background-color: #fff;
    padding: 2rem;
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background-color: var(--color-text);
    color: var(--color-white);
    padding: 1rem 2rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    width: 100%;
    transition: background 0.2s;
}

.btn-submit:hover {
    background-color: #333;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* =========================================
   NEW ARRIVALS ENHANCEMENTS
   ========================================= */

/* Editorial Hero (Centered) */
.editorial-hero {
    padding: 6rem 0 4rem;
    text-align: center;
    background-color: var(--color-bg);
}

.editorial-content h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.divider-line {
    width: 60px;
    height: 1px;
    background-color: #ccc;
    margin: 0 auto 1.5rem;
}

.editorial-content p {
    font-size: 1.1rem;
    color: #666;
    letter-spacing: 0.5px;
}

/* Filter Strip (Visual Only) */
.filter-strip-section {
    padding-bottom: 3rem;
}

.filter-strip {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.filter-item {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
    transition: color 0.2s;
    padding: 0.5rem 1rem;
}

.filter-item:hover,
.filter-item.active {
    color: var(--color-text);
    font-weight: 600;
}

/* Catalog Grid (Tighter Spacing & Hover) */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Tighter than default 30px */
}

.catalog-grid .product-card {
    transition: opacity 0.2s;
}

.catalog-grid .product-card:hover {
    opacity: 0.8;
}

/* Footer (Required on all pages) */
.site-footer {
    background-color: #F2F0EB; /* Slightly darker than bg */
    padding: 5rem 0 2rem;
    margin-top: auto; /* Push to bottom if flex column */
    border-top: 1px solid rgba(0,0,0,0.05);
}

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

.footer-col h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.footer-col p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    max-width: 300px;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: #666;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--color-text);
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.1);
    text-align: center;
    font-size: 0.85rem;
    color: #888;
}

@media (max-width: 768px) {
    .editorial-content h1 {
        font-size: 2.5rem;
    }

    .filter-strip {
        gap: 1rem;
    }
    
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-col p {
        margin: 0 auto;
    }
}
