/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

body {
    background-color: #fff;
   
    color: #000000;
    transition: background-color 0.4s, color 0.4s;
}



/* Dark Mode */
body.dark {
    background-color: #111;
    color: #fff;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 20%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.452);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: background 10s;
}

body.dark header {
    background: rgba(20, 20, 20, 0.137);
}

header .logo {
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Navbar */
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item {
    position: relative;
    margin-left: 30px;
}

.nav-item a {
    text-decoration: none;
    color: inherit;
    font-weight: 500;
    padding: 10px 5px;
    display: inline-block;
    transition: color 0.3s;
}

.nav-item:hover a {
    color: #0071e3;
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 600px;
    background: rgba(255,255,255,0.95) ;
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
}

body.dark .dropdown {
    background: #1a1a1a;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.nav-item:hover .dropdown {

    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Dropdown Grid */
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dropdown-item h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.dropdown-item p {
    margin-bottom: 5px;
    cursor: pointer;
    transition: color 0.3s;
}

.dropdown-item p:hover {
    color: #0071e3;
}
section {
            padding: 100px 50px;
        }
        
        section h3 {
            font-size: 2rem;
            margin-bottom: 30px;
            color: #9e0000;
            text-align: center;
        }
        
        section p {
            font-size: 1.5rem;
            max-width: 1000px;
            margin: 0 auto;
            color: #ff4800;
        }
/* Mode Toggle Button */
#mode-toggle {
    margin-left: 30px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    transition: transform 0.3s;
}

#mode-toggle:hover {
    transform: scale(1.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url(11.jpg);
    background-size: cover;
    background-blend-mode: darken;
    background-repeat: no-repeat;
    background-position: center;
    transition: background 0.4s;
}

body.dark .hero {
 background-image: url(11.jpg);
}

.hero-content h1 {
    color: rgb(255, 255, 255);
    font-size: 4rem;
    margin-bottom: 5px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1s forwards 0.7s;
}

.hero-content p {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 120px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeUp 1s forwards 0.5s;
}

/* Products Section */
.products {
    padding: 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.products h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.product-card {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

body.dark .product-card {
    background: #1a1a1a;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 200px;
    background: #ccc;
    border-radius: 15px;
    margin-bottom: 20px;
    transition: background 0.3s;
}

.product-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-card p {
    font-size: 1rem;
    margin-bottom: 15px;
}

.product-card button {
    padding: 10px 20px;
    background-color: #0071e3;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.product-card button:hover {
    background-color: #005bb5;
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px;
    font-size: 0.9rem;
    background: #f5f5f7;
    margin-top: 50px;
}

body.dark footer {
    background: #111;
}

/* Animations */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media(max-width: 768px) {
    header {
        padding: 15px 20px;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .products {
        padding: 80px 20px;
    }
    .dropdown {
        width: 90vw;
    }
    .dropdown-grid {
        grid-template-columns: 1fr 1fr;
    }
}