/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #dc0000;
    --dark-red: #a00000;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.btn-primary:hover {
    background: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.btn-secondary {
    background: var(--black);
    color: var(--white);
    border-color: var(--black);
}

.btn-secondary:hover {
    background: var(--dark-gray);
    border-color: var(--dark-gray);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px var(--shadow);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* ===== HEADER ===== */
.top-bar {
    background: var(--black);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info a,
.social-links a {
    color: var(--white);
    margin-right: 20px;
    transition: color 0.3s;
}

.contact-info a:hover,
.social-links a:hover {
    color: var(--primary-red);
}

.contact-info i,
.social-links i {
    margin-right: 5px;
}

/* ===== NAVBAR ===== */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--black);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 16px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-red);
}

.cart-btn {
    position: relative;
}

#cartCount {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Mobile Menu Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--black);
    margin: 4px 0;
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 100px 20px;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--white);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.hero-text {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--light-gray);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.trust-badges {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 5px;
    backdrop-filter: blur(10px);
}

.badge i {
    color: var(--primary-red);
    font-size: 24px;
}

/* ===== SECTIONS ===== */
.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--black);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    margin: 15px auto 0;
}

/* ===== CATEGORIES ===== */
.categories {
    padding: 80px 20px;
    background: var(--light-gray);
}

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

.category-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s;
    text-align: center;
    padding-bottom: 20px;
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.category-card h3 {
    margin: 20px 0 10px;
    color: var(--black);
    font-size: 22px;
}

.category-card p {
    color: var(--primary-red);
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
}

/* ===== WHY US ===== */
.why-us {
    padding: 80px 20px;
}

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

.feature {
    text-align: center;
    padding: 30px;
}

.feature i {
    font-size: 48px;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--black);
}

.feature p {
    color: #666;
}

/* ===== LOCATIONS ===== */
.locations {
    padding: 80px 20px;
    background: var(--light-gray);
}

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

.location-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px var(--shadow);
}

.location-card i {
    font-size: 36px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.location-card h3 {
    color: var(--black);
    margin-bottom: 5px;
}

.location-card p {
    color: #666;
    font-size: 14px;
}

/* ===== DELIVERY INFO ===== */
.delivery-info {
    padding: 80px 20px;
    background: var(--black);
    color: var(--white);
}

.delivery-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.delivery-col h2 {
    color: var(--white);
    margin-bottom: 20px;
}

.delivery-col p {
    margin-bottom: 20px;
    color: var(--light-gray);
}

.delivery-col ul {
    list-style: none;
}

.delivery-col li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.delivery-col li i {
    color: var(--primary-red);
}

.delivery-box {
    background: var(--dark-gray);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.delivery-box i {
    font-size: 48px;
    color: var(--primary-red);
    margin-bottom: 15px;
}

.delivery-box .price {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-red);
    margin: 15px 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    width: 150px;
    margin-bottom: 20px;
}

.footer-col h4 {
    color: var(--primary-red);
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--light-gray);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--primary-red);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list i {
    color: var(--primary-red);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: var(--light-gray);
    font-size: 14px;
}

.footer-bottom p {
    margin-bottom: 10px;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    color: var(--black);
    float: right;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--primary-red);
}

.cart-total {
    border-top: 2px solid var(--primary-red);
    margin-top: 20px;
    padding-top: 20px;
    text-align: right;
}

.cart-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        left: -100%;
        top: 100%;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 200px;
    }
    
    .delivery-content {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 200px;
    }
    
    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}
