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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    animation: fadeIn 0.5s ease-in;
}

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


/* Header & Nav */

header {
    background: #01a014;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.left {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.left span {
    color: rgb(240, 249, 112);
}

#logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ffd700;
}

.nav-menu a:active {
    color: #ffd700;
}


/* Hero Section */

.hero-section {
    height: 85vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/img/products/background-for-hero.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    backdrop-filter: blur(50px);
    padding: 0 20px 0 20px;
    border-radius: 15px;
    color: rgb(61, 220, 61);
}

.hero-section span {
    color: rgb(240, 249, 112);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.main-btn {
    padding: 15px 40px;
    background: transparent;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.5s;
    border: 3px solid #01ff1e;
}

.main-btn:hover {
    background: #01ff1e;
    transform: scale(1.05);
}


/* about-section properties */

.about-section {
    background-color: #e4fffc;
    margin: 20px 20px 20px 20px;
    border: 2px solid black;
    border-radius: 10px;
    transition: .3s ease-in;
}

.about-section:hover {
    transform: scale(1.02);
    background-color: #a7e3dc;
}

.about-section h2 {
    margin-top: 20px;
    text-align: center;
}

.about-section p {
    text-align: justify;
    padding: 5px 30px 40px 30px;
}


/* Products Section */

#products-h1 {
    text-align: center;
    padding-top: 40px;
    margin-bottom: 0;
}

#orderSection {
    display: none;
    background: white;
    padding: 20px;
    border-radius: 40px;
    margin-top: 20px;
}

.products-section {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 10px 20px;
    scroll-snap-type: x mandatory;
}

.products-section::-webkit-scrollbar {
    display: none;
}

.products-section span {
    color: rgb(37, 196, 61);
    font-size: 17px;
    font-weight: 500;
}

.images {
    flex: 0 0 300px;
    scroll-snap-align: start;
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: .3s ease-in;
}

.images:hover {
    transform: scale(1.02);
}

.img-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.images img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.empty-slot {
    height: 350px;
    background: #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    border: 2px dashed #ccc;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
    gap: 10px;
}

.img-wrapper:hover .overlay {
    opacity: 1;
}

.btn-view,
.btn-buy {
    border: none;
    cursor: pointer;
    font-weight: bold;
}

.btn-view {
    padding: 10px 35px 10px 35px;
    border-radius: 30px;
    transition: .5s;
}

.btn-view:hover {
    background: rgb(228, 0, 0);
    color: white;
}

.btn-buy {
    background: #01a014;
    color: white;
    text-decoration: none;
    padding: 12px 20px 12px 20px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
}

.free {
    text-decoration: none;
    padding: 8px 20px 8px 20px;
    border-radius: 30px;
    color: white;
    background-color: #01a014;
    font-weight: bold;
}


/* Reviews Section (White Background) */

.reviews-section {
    background: transparent;
    padding: 20px 20px;
    text-align: center;
    margin-top: 0;
    scroll-padding-top: 5px;
}

.reviews-grid {
    scroll-padding-bottom: 50px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.reviews-grid img {
    max-width: 280px;
    height: auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, .6);
}


/* Contact Section */

.contact-section {
    background: #1a1a1a;
    color: white;
    padding: 60px 20px;
    text-align: center;
    padding-bottom: 20px;
}

.contact-section .fa-phone {
    display: block;
    font-size: 15px;
    padding-top: 9px;
}

.social-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-container a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-container a:hover {
    color: #01a014;
}


/* Modal */

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}


/* footer-section */

footer {
    background-color: #1a1a1a;
    color: white;
}

footer a {
    color: white;
    text-decoration: none;
    text-align: center;
    display: block;
    background: transparent;
    padding: 8px 10px 10px 10px;
    border-radius: 30px;
    border: white 2px solid;
    width: 150px;
    margin: 0 auto;
    transition: 0.5s;
    margin-bottom: 20px;
}

footer a:hover {
    background: red;
}

footer p {
    text-align: center;
}


/* responsiveness properties */


/* Responsive Hamburger */

.hamburger {
    display: none;
    background: none;
    border: none;
    color: rgb(255, 255, 255);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hamburger {
        /* display: block; 
      left: 50%; */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 100px;
        border: none;
        cursor: pointer;
        width: 30px;
        height: 24px;
        position: absolute;
        top: 30px;
        right: 25px;
        z-index: 10;
        font-size: 20px;
        border-radius: 3px;
        background-color: transparent;
    }
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        right: 0;
        padding-right: 0;
        width: 50%;
        border: rgb(41, 116, 52) 3px solid;
        border-radius: 10px;
        flex-direction: column;
        background: #017a0f;
        margin-right: 10px;
        margin-top: 20px;
        padding-left: 20px;
        backdrop-filter: blur(15px);
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-menu a {
        margin: 10px 0;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    /* footer a {
        color: white;
        text-decoration: none;
        display: inline;
        margin-left: 30px;
        margin-bottom: 10px;
    } */
}

@media (max-width: 537px) {
    .contact-section span {
        display: none;
    }
    .fa-phone {
        display: block;
    }
    footer a {
        width: 100px;
        font-size: 10px;
    }
    footer p {
        font-size: 10px;
    }
}

@media (max-width: 450px) {
    .hero-section p {
        font-size: 15px;
    }
    .hero-section .main-btn {
        padding: 10px 20px 10px 20px;
    }
}
