:root {
    --primary: #ff6600;
    --primary-dark: #e65c00;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
    --gray-bg: #f9f9f9;
    --border: #e0e0e0;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* Header */
header {
    background: var(--white);
    border-bottom: 3px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    margin-left: 25px;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 102, 0, 0.05), rgba(255, 102, 0, 0.1));
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Product Grid - Masonry-ish Look */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border-top: 4px solid transparent;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-top-color: var(--primary);
}

.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #f0f0f0;
}

.product-info {
    padding: 20px;
}

.product-cat {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 5px;
    display: block;
}

.product-title {
    font-size: 1.2rem;
    margin: 0 0 10px;
    font-weight: 700;
}

.product-price {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: bold;
    display: block;
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: #222;
    color: white;
    padding: 40px 20px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col h3 {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--primary);
}

/* Floating WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Popup */
.popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    display: none; /* JS will toggle */
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    position: relative;
    border-top: 5px solid var(--primary);
}

.close-popup {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

/* Mobile Responsiveness */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -280px; /* Hidden by default */
    width: 250px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-sidebar.active {
    left: 0;
}

.sidebar-header {
    background: var(--primary);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    margin: 0;
}

.close-sidebar {
    font-size: 1.5rem;
    cursor: pointer;
}

.sidebar-links {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.sidebar-links a {
    padding: 12px 0;
    text-decoration: none;
    color: var(--text-dark);
    border-bottom: 1px solid #eee;
    font-weight: 500;
}

.sidebar-contact {
    margin-top: auto; /* Push to bottom if space permits, or just below links */
    background: #f9f9f9;
    padding: 20px;
}

.sidebar-contact h4 {
    color: var(--primary);
    margin-top: 0;
}

/* Media Queries */
@media screen and (max-width: 768px) {
    .nav-links {
        display: none; /* Hide desktop menu */
    }

    .menu-toggle {
        display: block; /* Show hamburger */
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); /* 1 column on mobile */
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }

    .popup-content {
        width: 85%;
    }
}
