:root {
    --primary: #d32f2f; /* Red */
    --black: #222222;
    --light: #ffffff;
    --gray: #f5f5f5;
    --dark-gray: #333333;
    --border: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--black);
    overflow-x: hidden;
}

/* Header */
.navbar-header {
    background: var(--light);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
}
.logo-red { color: var(--primary); }
.logo-black { color: var(--black); }

.navbar-menu { flex: 1; margin-left: 40px; }
.nav-list { display: flex; list-style: none; gap: 20px; }
.nav-link {
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding-bottom: 5px;
    transition: 0.3s;
}
.nav-link:hover, .nav-link.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

.navbar-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}
.icon-link {
    text-decoration: none;
    color: var(--black);
    font-size: 1.2rem;
    position: relative;
}
.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 500px;
    background: url('../images/hero_bg.jpg') center/cover no-repeat;
    background-color: #e6e6e6; /* Fallback */
    display: flex;
    align-items: center;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
}
.hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
    z-index: 2;
    color: #fff;
}
.hero-content h1 {
    font-size: 2.8rem;
    line-height: 1.3;
    margin-bottom: 15px;
    max-width: 500px;
    font-weight: 700;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}
.hero-btn {
    background: #fff;
    color: var(--primary);
    padding: 12px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 30px;
    display: inline-block;
    transition: 0.3s;
}
.hero-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* Category Grid */
.category-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 5%;
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.cat-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 200px;
    background: var(--gray);
}
.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cat-card-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    padding: 20px 10px 10px;
    text-align: center;
    font-weight: 600;
}

/* Features */
.features-section {
    max-width: 1000px;
    margin: 40px auto;
    text-align: center;
}
.features-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.feature-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.feature-item h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}
.feature-item p {
    font-size: 0.85rem;
    color: #666;
}

/* Products List */
.products-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 5%;
}
.section-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.3s;
}
.product-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.product-image {
    height: 250px;
    background: var(--gray);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-info {
    padding: 15px 10px;
    text-align: center;
}
.product-title {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--black);
}
.product-price {
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.btn-cart {
    display: block;
    width: 100%;
    background: var(--black);
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
}
.btn-cart:hover {
    background: var(--primary);
}

/* Footer */
.site-footer {
    background: #f8f8f8;
    padding: 40px 5% 20px;
    margin-top: 50px;
    border-top: 1px solid var(--border);
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 30px;
}
.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
    text-decoration: none;
}
.footer-contact p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 5px;
}
.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--black);
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 8px;
}
.footer-column ul li a {
    color: #555;
    text-decoration: none;
    font-size: 0.9rem;
}
.footer-column ul li a:hover {
    color: var(--primary);
}
.newsletter-form {
    display: flex;
    margin-top: 10px;
}
.newsletter-form input {
    flex: 1;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 4px 0 0 4px;
    outline: none;
}
.newsletter-form button {
    background: var(--black);
    color: #fff;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    font-size: 0.85rem;
    color: #777;
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0px 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.whatsapp-float img {
    width: 35px;
    height: 35px;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .nav-list { display: none; }
    .hero-content h1 { font-size: 2rem; }
    .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .footer-container { grid-template-columns: 1fr; }
}
