/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #000000; /* Changed to black */
    color: #FFD700; /* Changed to golden */
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: #FFD700; /* Changed to golden */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background-color: #000000; /* Changed to black */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-logo h1 {
    font-size: 1.8rem;
    color: #e91e63;
    font-weight: bold;
}

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu li a {
    font-weight: 600;
    font-size: 1rem;
    color: #555;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #e91e63;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background-color: #e91e63;
    color: #fff;
    font-size: 0.75rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #e91e63;
    margin-bottom: 4px;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px;
    background: #000000; /* Changed to black */
}

.hero-content {
    flex: 1 1 400px;
    max-width: 600px;
}

.hero-title {
    font-size: 3rem;
    color: #FFD700; /* Changed to golden */
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #FFD700; /* Changed to golden */
    margin-bottom: 30px;
}

.cta-button {
    background-color: #FFD700; /* Changed to golden */
    color: #000000; /* Changed to black */
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #e6c300; /* Darker golden */
}

.hero-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(233, 30, 99, 0.3);
}

/* Products Section */
.products-section {
    padding: 60px 20px;
    background-color: #000000; /* Changed to black */
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #FFD700; /* Changed to golden */
    margin-bottom: 40px;
}

.filters {
    text-align: center;
    margin-bottom: 30px;
}

.filter-btn {
    background-color: #000000; /* Changed to black */
    border: 1px solid #FFD700; /* Added golden border */
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    color: #FFD700; /* Changed to golden */
    transition: background-color 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background-color: #FFD700; /* Changed to golden */
    color: #000000; /* Changed to black */
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

/* Product Card */
.product-card {
    background-color: #000000; /* Changed to black */
    border-radius: 20px;
    box-shadow: 0 0 10px 2px rgba(255, 215, 0, 0.5); /* Golden glow */
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFD700; /* Changed to golden */
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.1rem;
    color: #FFD700; /* Changed to golden */
    font-weight: 600;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.cart-content {
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 20px;
    padding: 20px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #e91e63;
}

.cart-items {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-item-name {
    font-weight: 600;
    color: #880e4f;
}

.cart-item-quantity {
    margin: 0 10px;
}

.cart-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-btn {
    background-color: #e91e63;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.checkout-btn:hover {
    background-color: #ad1457;
}

/* Product Detail Modal */
.product-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.product-modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 700px;
    border-radius: 20px;
    padding: 20px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #e91e63;
}

.product-detail img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 20px;
}

.product-detail h3 {
    color: #880e4f;
    margin-bottom: 10px;
}

.product-detail p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.product-detail .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #e91e63;
    margin-bottom: 20px;
}

.product-detail button {
    background-color: #e91e63;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.product-detail button:hover {
    background-color: #ad1457;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 3000;
}

.spinner {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #e91e63;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        margin-top: 30px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        border-radius: 0 0 0 10px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hamburger {
        display: flex;
    }
}
