/* Reset and Base Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo h1 {
    color: #0070f3;
    font-weight: 700;
    font-size: 1.8rem;
}

.logo span {
    color: #333;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #0070f3;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #0070f3;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f1f3f5;
    border-radius: 25px;
    padding: 0.5rem 1rem;
    min-width: 250px;
}

.search-box input {
    background: none;
    border: none;
    outline: none;
    flex: 1;
    padding: 0.25rem;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */

.hero {
    background: linear-gradient(135deg, #0070f3 0%, #0051cc 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    margin-top: 70px;
}

.hero-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-btn.primary {
    background: #fff;
    color: #0070f3;
}

.cta-btn.primary:hover {
    background: #f1f3f5;
    transform: translateY(-2px);
}

.cta-btn.whatsapp {
    background: #25D366;
    color: white;
}

.cta-btn.whatsapp:hover {
    background: #1fb855;
    transform: translateY(-2px);
}

/* Category Filter */

.category-filter {
    background: #fff;
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e9ecef;
    background: #fff;
    color: #333;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: #0070f3;
    color: white;
    border-color: #0070f3;
}

/* Product Catalog */

.catalog {
    padding: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 3rem;
}

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

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.product-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #ff4757;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.product-badge.discount {
    background: #ff4757;
}

.product-badge.warranty {
    background: #2ed573;
    top: 55px;
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.product-description {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0070f3;
}

.original-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.buy-btn {
    width: 100%;
    padding: 1rem;
    background: #0070f3;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: block;
}

.buy-btn:hover {
    background: #0051cc;
    transform: translateY(-2px);
}

/* Testimonials */

.testimonials {
    background: #fff;
    padding: 4rem 0;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-item {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial-item.active {
    display: block;
}

.testimonial-content p {
    font-size: 1.2rem;
    font-style: italic;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.testimonial-author strong {
    display: block;
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #0070f3;
    font-weight: 500;
}

.cta-section {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
}

.cta-section h3 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */

.footer {
    background: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 1rem;
}

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

.footer-section h3 {
    color: #0070f3;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section h3 span {
    color: #ecf0f1;
}

.footer-section h4 {
    color: #3498db;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Responsive Design */

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .search-box {
        min-width: 200px;
    }
    .hero-content h2 {
        font-size: 2rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .filter-buttons {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 0 0 1rem;
    }
    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .section-title {
        font-size: 2rem;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    .header-content {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .search-box {
        order: 3;
        width: 100%;
        margin-top: 1rem;
    }
    .hero {
        padding: 6rem 0 3rem;
    }
    .product-info {
        padding: 1rem;
    }
    .cta-section {
        padding: 2rem 1rem;
    }
}

/* Animations */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling */

html {
    scroll-behavior: smooth;
}