/* Reset basic styles */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif; 
}

body {
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
}

/* Navigation Bar */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    padding: 15px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(6px);
    animation: fadeInDown 1s ease forwards;
}

.logo b {
    color: rgb(170, 15, 126); 
    font-size: 2rem;
    letter-spacing: 2px;
}

.logo span {
    color: rgb(213, 17, 141); 
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    transition: all 0.4s ease;
}

nav ul a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.3s;
    position: relative;
}

/* Underline effect on hover */
nav ul a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: rgb(213, 17, 141);
    transition: 0.3s;
}

nav ul a:hover::after {
    width: 100%;
}

nav ul a:hover,
.nav-button:hover {
    color: rgb(213, 17, 141);
}

/* General Buttons */
button {
    border: 1px solid white;
    color: rgb(213, 17, 141);
    border-radius: 10px;
    padding: 10px 20px;
    background-color: transparent;
    transition: 0.4s;
    cursor: pointer;
}

button:hover {
    background-color: rgb(213, 17, 141);
    color: white;
    transform: scale(1.05);
}

/* Hero Section */
.main {
    background-image: url(img/main\ 1.jpg);
    background-size: cover;
    background-position: center;
    height: 550px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 4s ease;
    position: relative;
    animation: fadeIn 2s ease-in-out;
}

.main:hover {
    background-image: url(img/pic19.avif);
}

.main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.main h1 {
    position: relative;
    color: white;
    font-size: 80px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 20px 40px;
    border-radius: 20px;
    z-index: 2;
    animation: zoomIn 1.5s ease forwards;
}

/* Section 2 (Image + Text) */
.section2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 100px auto;
    gap: 50px;
    width: 90%;
    align-items: center;
    animation: fadeUp 1.5s ease-in-out;
}

.section2 h1 {
    font-size: 55px;
    font-family: monospace;
    font-style: italic;
    letter-spacing: 6px;
    color: rgb(213, 17, 141);
}

/* Product Sections (Sections 3 & 4) */
.setion3,
.setion4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    width: 90%;
    margin: 50px auto;
    text-align: center;
}

.setion3 div,
.setion4 div {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 15px;
    transition: 0.4s;
    animation: fadeUp 1.2s ease-in-out;
}

.setion3 div:hover,
.setion4 div:hover {
    transform: translateY(-10px);
    background-color: rgba(213, 17, 141, 0.15);
}

.setion3 img,
.setion4 img {
    max-width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

/* Footer Section */
.SECTION5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    background-color: rgba(0, 0, 0, 0.85);
    padding: 50px;
    gap: 40px;
    color: white;
    line-height: 1.8;
    animation: fadeInUp 1.5s ease-in-out;
}

.SECTION5 h3 {
    border-bottom: 3px solid rgb(213, 17, 141);
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.SECTION5 .part form input {
    width: 100%;
    padding: 8px;
    margin: 6px 0;
    border-radius: 5px;
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    cursor: pointer;
    width: 35px;
    gap: 6px;
}

.menu-toggle span {
    background-color: rgb(213, 17, 141);
    height: 3px;
    width: 100%;
    border-radius: 5px;
    transition: 0.3s;
}

/* Hamburger icon transformation */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
    width: 100%;
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
    width: 100%;
}

/* Notification Popup */
.popup {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    display: none;
    font-size: 18px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: opacity 0.3s ease;
}


/* *** Responsiveness (Media Queries) *** */
@media (max-width: 992px) {
    .main h1 {
        font-size: 60px;
    }
}

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        padding: 15px 25px;
    }

    .menu-toggle {
        display: flex;
        order: 2;
    }

    nav .nav {
        width: 100%;
        order: 3;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        padding: 0;
        position: absolute;
        top: 65px;
        right: 0;
        background-color: rgba(0, 0, 0, 0.95);
    }

    nav ul.active {
        max-height: 300px;
        opacity: 1;
        padding: 15px 0;
    }

    nav ul a {
        padding: 10px 0;
        font-size: 1.2rem;
    }

    .section2 {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section2 img {
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .main {
        height: 400px;
    }

    .main h1 {
        font-size: 40px;
        padding: 10px 20px;
    }

    .SECTION5 {
        grid-template-columns: 1fr;
        padding: 25px;
    }
}


/* *** Animations *** */

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}