/* ===== CSS Variables & Root Styles ===== */
:root {
    --primary-dark: #0a0e27;
    --primary-darker: #050608;
    --accent-gold: #d4af37;
    --accent-champagne: #f0e8d8;
    --accent-silver: #c0c0c0;
    --accent-blue: #1a3a52;
    --text-light: #e8e8e8;
    --text-muted: #999999;
    --border-light: rgba(212, 175, 55, 0.2);
    --success: #27ae60;
    --error: #e74c3c;
}

/* ===== Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    letter-spacing: 2px;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.3rem; }

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-champagne);
}

/* ===== Buttons ===== */
.cta-button {
    display: inline-block;
    padding: 12px 32px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-champagne));
    color: var(--primary-dark);
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.btn-secondary {
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--accent-gold);
    color: var(--primary-dark);
}

/* ===== Hero Section ===== */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-blue) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    color: var(--accent-gold);
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 1px;
}

/* ===== Sections ===== */
section {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-light);
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* ===== Featured Collections ===== */
.featured-section {
    background: rgba(212, 175, 55, 0.05);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.featured-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.featured-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.1);
}

.featured-image {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.featured-card h3 {
    padding: 20px 20px 10px;
    color: var(--accent-gold);
}

.featured-card p {
    padding: 0 20px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ===== Products Grid ===== */
.products-section {
    background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.03));
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.product-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
}

.product-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(42, 26, 69, 0.5), rgba(26, 58, 82, 0.5));
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-gold);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-info {
    padding: 20px;
}

.product-brand {
    color: var(--accent-champagne);
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.product-name {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

.product-rating {
    color: var(--accent-gold);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.product-rating-text {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-left: 5px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.product-current-price {
    color: var(--accent-gold);
    font-size: 1.3rem;
    font-weight: 600;
}

.product-original-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.95rem;
}

.product-discount {
    color: var(--success);
    font-weight: 600;
    font-size: 0.85rem;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.action-btn {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--accent-gold);
    background: transparent;
    color: var(--accent-gold);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 600;
}

.action-btn:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.action-btn.wishlist.active {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.whatsapp-btn {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-champagne));
    color: var(--primary-dark);
    border: none;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* ===== Brands Section ===== */
.brands-section {
    background: rgba(212, 175, 55, 0.05);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.brand-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.brand-card:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.brand-name {
    color: var(--accent-gold);
    font-weight: 600;
    letter-spacing: 1px;
}

/* ===== Newsletter Section ===== */
.newsletter-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(26, 58, 82, 0.1));
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 60px 40px;
    text-align: center;
}

.newsletter-section h2 {
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.newsletter-section p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

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

.newsletter-form input {
    flex: 1;
    min-width: 200px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-light);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-gold);
    background: rgba(212, 175, 55, 0.05);
}

/* ===== Reviews Section ===== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.review-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.stars {
    color: var(--accent-gold);
    font-size: 1rem;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-card p {
    color: var(--text-muted);
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.8;
}

.reviewer {
    color: var(--accent-gold);
    font-weight: 600;
}

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

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ===== Utility Classes ===== */
.badge {
    background: var(--accent-gold);
    color: var(--primary-dark);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    position: absolute;
    top: 0;
    right: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    
    section { padding: 40px 15px; }
    
    .hero { height: 60vh; }
    .hero-title { font-size: 1.8rem; }
    .hero-subtitle { font-size: 1rem; }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }
    
    .featured-grid,
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .newsletter-form button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.2rem; }
    h3 { font-size: 1rem; }
    
    .hero { height: 50vh; }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .featured-grid,
    .brands-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
