:root {
    --primary-gold: #D4AF37;
    --secondary-gold: #F4E29F;
    --text-dark: #1A1A1A;
    --text-light: #F5F5F5;
    --white: #FFFFFF;
    --background-cream: #FFFCF7;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--background-cream);
    color: var(--text-dark);
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
}

.gold-text {
    color: var(--primary-gold);
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    color: var(--primary-gold);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-gold);
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://placehold.co/1920x800/1A1A1A/D4AF37?text=R%26S+Gold+%26+Fashion');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 1rem;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-gold);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-button {
    padding: 1rem 2rem;
    background-color: var(--primary-gold);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--primary-gold);
}

.cta-button:hover {
    background-color: transparent;
    color: var(--primary-gold);
}

/* Products Section */
.products-section {
    padding: 4rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

/* Grid Layout - Responsive */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    background-color: #f9f9f9;
}

.product-info {
    padding: 1rem;
    text-align: center;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.product-price {
    color: var(--primary-gold);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.buy-btn {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--text-dark);
    color: var(--white);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.buy-btn:hover {
    background-color: var(--primary-gold);
}

/* Contact & About Pages */
.page-header {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 5rem 5%;
    text-align: center;
}

.content-section {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 5%;
    text-align: center;
    margin-top: auto;
}

/* Mobile Responsiveness - Special Request */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Add JS toggle later */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem 0;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: block;
        color: var(--text-dark);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* HIGH DENSITY MOBILE GRID REQUEST */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        /* 3 items per row on mobile */
        gap: 0.5rem;
        /* Tighter gap */
    }

    .product-info {
        padding: 0.5rem;
    }

    .product-title {
        font-size: 0.8rem;
        /* Smaller text */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .product-price {
        font-size: 0.9rem;
    }

    .buy-btn {
        padding: 0.4rem;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}