/* ATELIER LUXE - Elegant Fashion */

:root {
    --primary: #1a1a1a;
    --secondary: #8b7355;
    --accent: #c9a961;
    --background: #fafafa;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --gray: #666666;
    --gray-dark: #333333;
    --border: #e5e5e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--background);
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    line-height: 1.2;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Cormorant Garamond', serif;
}

.logo-initial {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--primary);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    gap: 20px;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
}

.icon-btn:hover {
    color: var(--secondary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--primary);
    color: var(--white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 100px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
    position: relative;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-title {
    font-size: 72px;
    font-weight: 500;
    margin-bottom: 30px;
    line-height: 1.1;
    color: var(--primary);
}

.hero-description {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 16px 40px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--secondary);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    background: var(--gray-light);
}

.btn-full {
    width: 100%;
}

.hero-image {
    height: 600px;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gray-light);
    position: relative;
    overflow: hidden;
}

.elegant-pattern {
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, var(--border) 48%, var(--border) 52%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, var(--border) 48%, var(--border) 52%, transparent 52%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.3;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.scroll-indicator span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--gray);
    animation: scrollDown 2s ease-in-out infinite;
}

/* Featured Banner */
.featured-banner {
    padding: 100px 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.banner-content {
    max-width: 700px;
    margin: 0 auto;
}

.banner-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 20px;
}

.banner-title {
    font-size: 56px;
    margin-bottom: 20px;
    font-weight: 500;
}

.banner-description {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    line-height: 1.8;
}

/* Collection Section */
.collection {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-subtitle {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 500;
}

.section-description {
    font-size: 16px;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 60px;
}

.filter-btn {
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--gray);
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.product-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }
.product-item:nth-child(4) { animation-delay: 0.4s; }
.product-item:nth-child(5) { animation-delay: 0.5s; }
.product-item:nth-child(6) { animation-delay: 0.6s; }
.product-item:nth-child(7) { animation-delay: 0.7s; }
.product-item:nth-child(8) { animation-delay: 0.8s; }

.product-image {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}

.product-image .image-placeholder {
    height: 400px;
    background: var(--gray-light);
    transition: transform 0.5s ease;
}

.product-item:hover .product-image .image-placeholder {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-item:hover .product-overlay {
    opacity: 1;
}

.quick-view {
    padding: 12px 30px;
    background: var(--white);
    border: none;
    color: var(--primary);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-view:hover {
    background: var(--primary);
    color: var(--white);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent);
    color: var(--white);
    padding: 6px 15px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.product-info {
    text-align: center;
}

.product-category {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gray);
    margin-bottom: 10px;
}

.product-name {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--primary);
}

.product-price {
    font-size: 16px;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 500;
}

.add-to-bag {
    padding: 10px 25px;
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
}

.product-item:hover .add-to-bag {
    opacity: 1;
}

.add-to-bag:hover {
    background: var(--primary);
    color: var(--white);
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image .image-placeholder {
    height: 600px;
    background: var(--gray-light);
    position: relative;
}

.elegant-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 1px solid var(--accent);
}

.about-text {
    font-size: 16px;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.feature-item p {
    font-size: 14px;
    color: var(--gray);
}

/* Values Section */
.values {
    padding: 120px 0;
    background: var(--gray-light);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.value-card {
    text-align: center;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 500;
    color: var(--primary);
}

.value-card p {
    font-size: 15px;
    color: var(--gray);
    line-height: 1.6;
}

/* Newsletter Section */
.newsletter {
    padding: 120px 0;
    background: var(--white);
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-description {
    font-size: 16px;
    color: var(--gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 600px;
    margin: 0 auto 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 25px;
    border: 1px solid var(--border);
    background: var(--gray-light);
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary);
}

.newsletter-note {
    font-size: 12px;
    color: var(--gray);
    font-style: italic;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--white);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-initial {
    background: var(--white);
    color: var(--primary);
}

.footer-logo .logo-text {
    color: var(--white);
}

.footer-description {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 30px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--white);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent);
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-col p {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

/* Cart Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 24px;
    font-weight: 500;
}

.close-cart {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: var(--gray);
    line-height: 1;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
}

.cart-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-image {
    width: 100px;
    height: 120px;
    background: var(--gray-light);
}

.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 500;
}

.cart-item-price {
    font-size: 14px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qty-btn {
    width: 25px;
    height: 25px;
    background: var(--gray-light);
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item {
    margin-top: 10px;
    background: none;
    border: none;
    color: var(--gray);
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
}

.cart-footer {
    padding: 30px;
    border-top: 1px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 500;
}

.cart-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray);
}

.cart-empty svg {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    color: var(--gray);
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 80px 30px;
    }

    .hero-title {
        font-size: 56px;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 40px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .section-title {
        font-size: 36px;
    }

    .banner-title {
        font-size: 40px;
    }

    .about-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}