/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', 'Roboto', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    color: #000;
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
}

p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #555;
}

/* Button Styles (Pill-shaped) */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #000;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #000;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background-color: #000;
    color: #fff;
}

/* Tab Filter Styles */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 10px 30px;
    border: 2px solid #ccc;
    background-color: transparent;
    color: #666;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    outline: none;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: #000;
    color: #000;
}

.tab-btn.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Header & Navigation */
header {
    background-color: #000;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
    /* Increased padding primarily for better aesthetics on full width */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
}

.logo img {
    height: 85px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links li a {
    font-weight: 500;
    font-size: 1rem;
    color: #fff;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    color: #ddd;
    text-decoration: none;
}

/* Header specific button adjustment */
header .btn-secondary {
    color: #fff;
    border-color: #fff;
}

header .btn-secondary:hover {
    background-color: #fff;
    color: #000;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
}

/* Hero Section */
/* Hero Section */
.hero {
    margin-top: 80px;
    /* Offset fixed header - keep this */
    padding: 160px 0;
    /* Increased padding for better visual balance */
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../img/header.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    border-bottom: none;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: #f0f0f0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero .btn {
    background-color: #fff;
    color: #000;
    border-color: #fff;
}

.hero .btn:hover {
    background-color: transparent;
    color: #fff;
}

/* Hide the old image container since it's now a background */
.hero-image {
    display: none;
}

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: center;
}

.feature-item {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #000;
}

/* Gallery / Products Section */
.products {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 450px));
    justify-content: center;
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.active-section {
    animation: fadeIn 0.5s ease-out forwards;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    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:not(.carousel-slide) {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    text-align: left;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 15px 0;
}

/* Testimonials */
.testimonials {
    padding: 80px 0;
    background-color: #fff;
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    padding: 30px;
    background-color: #fafafa;
    border-radius: 15px;
    font-style: italic;
}

.testimonial-author {
    margin-top: 20px;
    font-weight: 700;
    font-style: normal;
}

/* Contact Form */
.contact {
    padding: 80px 0;
    background-color: #000;
    color: #fff;
}

.contact h2 {
    color: #fff;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info,
.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h3 {
    color: #fff;
    margin-bottom: 20px;
}

.contact-info ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    /* Slightly rounded unlike inputs */
    border: 1px solid #444;
    background-color: #1a1a1a;
    color: #fff;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #fff;
    background-color: #222;
}

.contact .btn {
    background-color: #fff;
    color: #000;
    border-color: #fff;
    width: 100%;
}

.contact .btn:hover {
    background-color: transparent;
    color: #fff;
}

/* Footer */
footer {
    padding: 40px 0;
    background-color: #111;
    color: #888;
    text-align: center;
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    nav {
        justify-content: center;
        position: relative;
    }

    .logo img {
        height: 65px;
        /* Slightly smaller for mobile */
    }

    .mobile-menu-btn {
        display: block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 3.2rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        /* Position below header */
        left: 0;
        width: 100%;
        background-color: #000;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        text-align: center;
        border-top: 1px solid #333;
    }

    .nav-links.active {
        display: flex;
    }
}

/* Subcategory Filter Styles */
.subcategory-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.sub-tab-btn {
    padding: 8px 20px;
    border: 1px solid #ddd;
    background-color: transparent;
    color: #666;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.sub-tab-btn:hover {
    border-color: #999;
    color: #333;
}

.sub-tab-btn.active {
    background-color: #f0f0f0;
    color: #000;
    border-color: #000;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    z-index: 1001;
    /* Ensure above header/nav */
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    color: #fff;
}