/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* HTML and Body Settings */
html, body {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
}

/* Wrapper */
.wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Navbar */
nav {
    background-color: #1e1e1e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box;
}

nav .logo {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #ff2e2e;
    font-weight: 700;
}

.nav-button {
    background-color: #ff2e2e;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(255, 46, 46, 0.3);
}

.nav-button:hover {
    background-color: #e62626;
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(44, 44, 44, 0.7), rgba(0, 0, 0, 0.7)), url('bg.png') no-repeat center center/cover;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    width: 100vw;
    margin-top: 70px;
    box-sizing: border-box;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

.hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 3rem;
    border-radius: 12px;
    max-width: 700px;
    width: 100%;
    opacity: 0;
    animation: fadeIn 1s forwards;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.2);
}

.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    color: #ff2e2e;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-content p {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 2rem;
}

/* Call-to-Action Button */
.cta-button {
    background-color: #ff2e2e;
    color: #fff;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1.25rem;
    box-shadow: 0 2px 5px rgba(255, 46, 46, 0.3);
}

.cta-button:hover {
    background-color: #e62626;
    transform: scale(1.05);
}

/* Content Section */
.content-section {
    padding: 4rem 2rem;
    text-align: center;
}

.content-section h2 {
    color: #ff2e2e;
    margin-bottom: 1.5rem;
    font-size: clamp(2rem, 5vw, 2.5rem);
}

/* Fade Animations */
@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.fade-in { 
    opacity: 0; 
    animation: fadeInUp 1s forwards; 
}

.fade-in-delay { animation-delay: 0.5s; }
.fade-in-late { animation-delay: 1s; }

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Products Section */
.products-section {
    padding: 50px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.category {
    margin-bottom: 50px;
}

.category h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 25px;
    color: #ff2e2e;
}

.product-item {
    display: flex;
    align-items: center;
    margin-bottom: 35px;
    gap: 25px;
    padding: 1.5rem;
    border-radius: 12px;
    background-color: #1a1a1a;
    box-shadow: 0 2px 5px rgba(255, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-wrap: wrap;
}

.product-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(255, 46, 46, 0.2);
}

.product-item img {
    width: 220px;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
}

.product-details {
    max-width: 600px;
}

.product-details h3 {
    margin: 0 0 10px;
    font-size: 1.75rem;
    color: #ff2e2e;
}

.product-details p {
    margin: 0;
    color: #ccc;
    font-size: 1.1rem;
}

/* Section Separator */
.section-separator {
    border: none;
    border-top: 4px solid #ff2e2e;
    margin: 80px auto;
    width: 80%;
}

/* About Section */
.about-section {
    background-color: #1c1c1c;
    color: #f0f0f0;
    padding: 80px 20px;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: #ff2e2e;
}

.about-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 25px;
    color: #ccc;
}

/* Footer */
footer {
    background-color: #1e1e1e;
    text-align: center;
    padding: 1rem;
    border-top: 2px solid #ff2e2e;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* Responsive Styles */
@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    nav .logo {
        font-size: 1.5rem;
    }

    .nav-button {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }

    .hero-section {
        height: 50vh;
        margin-top: 50px;
    }

    .hero-content {
        padding: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }

    .content-section h2,
    .category h2,
    .about-content h2 {
        font-size: 1.8rem;
    }

    .product-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-item img {
        width: 160px;
        margin-bottom: 15px;
    }

    .product-details h3 {
        font-size: 1.3rem;
    }

    .product-details p {
        font-size: 1rem;
    }
}
