/* Cosetta - Luxury Home Accessories */
/* Minimalist Design System */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

:root {
    --bg-color: #FDFCF8;
    --primary-clay: #967259;
    --secondary-sage: #828E7D;
    --text-charcoal: #2C2C2C;
    --text-muted: #6B6B6B;
    --border-color: #EAE8E0;
    --white: #FFFFFF;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --section-padding: 100px 5%;
    --mobile-padding: 60px 20px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-charcoal);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */
header {
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    position: sticky;
    top: 0;
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: var(--font-serif);
    font-size: 28px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary-clay);
}

.nav-icons {
    display: flex;
    gap: 25px;
    font-size: 18px;
}

.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: var(--primary-clay);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
}

/* Hero Section */
.hero {
    height: 85vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero h1 {
    font-size: 64px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeInUp 1.2s ease-out;
}

.btn-primary {
    display: inline-block;
    padding: 18px 45px;
    background-color: var(--primary-clay);
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #7a5a44;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Featured Products */
.featured {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

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

.product-card {
    position: relative;
    transition: 0.4s;
}

.product-image {
    aspect-ratio: 4/5;
    background-color: #F5F5F0;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.product-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.product-info .price {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Newsletter */
.newsletter {
    background-color: var(--secondary-sage);
    color: var(--white);
    padding: 80px 5%;
    text-align: center;
}

.newsletter h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.newsletter p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-family: var(--font-sans);
}

.btn-newsletter {
    background-color: var(--text-charcoal);
    color: var(--white);
    border: none;
    padding: 0 30px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* Footer */
footer {
    padding: 80px 5% 40px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-serif);
    font-size: 24px;
    margin-bottom: 20px;
    display: block;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 14px;
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 25px;
    font-size: 20px;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-muted);
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Shop Layout */
.shop-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    padding: var(--section-padding);
}

.filters h3 {
    font-size: 20px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-group {
    margin-bottom: 40px;
}

.filter-group h4 {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: var(--text-charcoal);
}

.filter-group ul li {
    margin-bottom: 12px;
}

.filter-group ul li a {
    font-size: 14px;
    color: var(--text-muted);
}

.filter-group ul li a:hover {
    color: var(--primary-clay);
    padding-left: 5px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

/* About Page */
.about-hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #F5F3ED;
    padding: 0 5%;
}

.about-hero h1 {
    font-size: 56px;
    max-width: 800px;
}

.about-content {
    padding: var(--section-padding);
    max-width: 1000px;
    margin: 0 auto;
}

.about-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: var(--section-padding);
}

/* Contact Page */
.contact-container {
    padding: var(--section-padding);
}

.contact-split {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 100px;
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.info-item {
    margin-bottom: 30px;
}

.info-item h5 {
    font-family: var(--font-sans);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-clay);
    margin-bottom: 5px;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 18px;
    border: 1px solid var(--border-color);
    background: #FDFCFB;
    font-family: var(--font-sans);
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--primary-clay);
    background: var(--white);
}

.btn-send {
    justify-self: start;
    margin-top: 10px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@media (max-width: 991px) {
    header {
        height: 70px;
    }
    .nav-links {
        display: none;
    }
    .footer-grid, .shop-layout, .contact-split {
        grid-template-columns: 1fr !important;
    }
    .filters {
        position: static;
        margin-bottom: 40px;
    }
    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 36px;
    }
    .section-header h2 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .btn-newsletter {
        padding: 18px;
    }
}
