/* css/index.css */
/* Luxury Jewelry Website Theme — Organza & Pepper */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Playfair Display', 'Georgia', serif;
}

body {
    background-color: #fdf6f0; /* Soft cream background */
    color: #1a1a1a;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Top Header */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 50px;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #f0e6e6;
    backdrop-filter: blur(10px);
}


.logo {
    font-size: 2.2rem;
    font-weight: 700;
    color: #f7b0d3; /* ✅ Organza: soft pink */
    text-decoration: none;
    letter-spacing: -0.5px;
    font-family: 'Playfair Display', Georgia, serif;
}

.logo span {
    color: #000000; /* ✅ Pepper: pure black */
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

.cart-icon {
    position: relative;
    cursor: pointer;
    color: #000000;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.cart-icon:hover {
    color: #f7b0d3;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #f7b0d400;
    color: #000000;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #333;
}

.language-selector select {
    padding: 8px 14px;
    border: 1px solid #e0d4d4;
    border-radius: 8px;
    background-color: #fdf6f0;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.language-selector select:focus {
    border-color: #f7b0d3;
    outline: none;
}

/* Welcome Banner */
.welcome-banner {
    height: 650px;
    background-image: url('assets/banner.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.banner-content {
    max-width: 850px;
    padding: 50px;
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.banner-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -1px;
    font-family: 'Playfair Display', Georgia, serif;
    color: white;
    line-height: 1.1;
}

.banner-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Lora', serif;
    line-height: 1.5;
}

.btn-primary {
    display: inline-block;
    padding: 16px 48px;
    background-color: #000000;
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #000000;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: transparent;
    color: #f7b0d3;
    border-color: #f7b0d3;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(247, 176, 211, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
}

/* Featured Products */
.section-title {
    text-align: center;
    margin: 80px 0 50px;
    font-size: 2.8rem;
    font-weight: 700;
    color: #000000;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.5px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background-color: #f7b0d3;
    margin: 16px auto 0;
}

.featured-products {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
    padding: 0 50px;
    margin-bottom: 100px;
}

.featured-product {
    flex: 0 0 calc(20% - 28px);
    min-width: 220px;
    background-color: #fdf6f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    border: 1px solid #f5e9e9;
}

.featured-product:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
    border-color: #f7b0d3;
}

.featured-product-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-product:hover .featured-product-image {
    transform: scale(1.05);
}

.featured-product-info {
    padding: 24px;
    text-align: center;
}

.featured-product-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000000;
    font-family: 'Playfair Display', Georgia, serif;
}

.featured-product-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #f7b0d3;
    margin: 12px 0 0;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.5px;
}

/* Products Section */
.products-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px 120px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 36px;
}

.product-card {
    background-color: #fdf6f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    transition: all 0.4s ease;
    border: 1px solid #f5e9e9;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
    border-color: #f7b0d3;
}

.product-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 24px;
    text-align: center;
}

.product-name {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000000;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.3px;
}

.product-category {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    font-family: 'Lora', serif;
}

.product-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f7b0d3;
    margin: 14px 0 0;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.5px;
}

.add-to-cart {
    display: block;
    width: 100%;
    padding: 14px;
    background-color: #000000;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: 0.5px;
}

.add-to-cart:hover {
    background-color: transparent;
    color: #f7b0d3;
    border: 2px solid #f7b0d3;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .top-header {
        padding: 12px 30px;
    }

    .logo {
        font-size: 1.8rem;
    }

    .banner-title {
        font-size: 3.2rem;
    }

    .banner-subtitle {
        font-size: 1.5rem;
    }

    .featured-product {
        flex: 0 0 calc(25% - 28px);
    }

    .products-grid {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        gap: 16px;
        padding: 12px;
    }

    .header-actions {
        flex-direction: row;
        gap: 20px;
    }

    .welcome-banner {
        height: 500px;
        padding: 0 20px;
    }

    .banner-title {
        font-size: 2.6rem;
    }

    .banner-subtitle {
        font-size: 1.3rem;
    }

    .featured-product {
        flex: 0 0 calc(50% - 28px);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .product-image {
        height: 260px;
    }

    .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .top-header {
        padding: 10px;
    }

    .logo {
        font-size: 1.6rem;
    }

    .welcome-banner {
        height: 400px;
        padding: 0 16px;
    }

    .banner-title {
        font-size: 2.2rem;
    }

    .banner-subtitle {
        font-size: 1.2rem;
    }

    .featured-product {
        flex: 0 0 100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.9rem;
        margin: 60px 0 40px;
    }

    .product-name {
        font-size: 1.3rem;
    }

    .product-price {
        font-size: 1.6rem;
    }

    .btn-primary {
        padding: 14px 32px;
        font-size: 1rem;
    }
}

/* Font Imports */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Lora:wght@400;500;600&display=swap');
