body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

header {
    position: relative;
    height: 60vh;
    color: white;
    overflow: hidden;
}
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
}

#productsImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: white;
    /*object-position: center bottom;*/
    z-index: -1;
}

.logo {
    position: absolute;
    left: 20px;
    width: 125px;
}

.products-title {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    text-align: center;
}

.products-title h1 {
    font-size: 80px;
    font-weight: bold;
    color: #006039;
    margin-bottom: 10%;
}

.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    position: absolute;
    top: 15px;
    right: 20px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-buttons {
    position: absolute;
    top: 30px;
    right: 5%;
    display: flex;
    gap: 15px;
    z-index: 20;
}

.nav-buttons a {
    text-decoration: none;
    color: #672901;
    font-size: 18px;
    padding: 10px 20px;
    transition: background-color 0.3s, color 0.3s;
}

.nav-buttons a:hover {
    background-color: #fff;
    color: #000;
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.nav-buttons.active {
    display: flex !important;
}
.product-detail-container {
    max-width: 1100px;
    margin: 50px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}

.product-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    max-width: 1100px;
    margin: auto;
}

.product-image {
    flex: 1;
    position:relative;
    z-index: 0;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.magnifier {
    position: absolute;
    border: 2px solid #333;
    width: 150px;
    height: 150px;
    background-repeat: no-repeat;
    background-size: 1000px;
    pointer-events: none;
    display: none; 
}

#mainImage {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

#main-image:hover {
    transform: scale(1.3);
    cursor: zoom-in;
}

.thumbnail-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 1px;
    position: relative;
    z-index:1;
}

.thumbnail {
    width: 100px;
    height: auto;
    cursor: pointer;
    border-radius: 5px;
    transition: transform 0.2s, border 0.2s;
}

.thumbnail:hover {
    outline: 2px solid #006039;
}

.product-text {
    flex: 2;
    margin-left: 20px;
}

.product-text h1 {
    font-size: 2rem;
    font-weight: bold;
    text-align: left;
    margin-bottom: 10px;
    color: #006039;
}

.divider {
    border: none;
    height: 1px;
    background-color: #ddd;
    margin: 5px 0 15px;
}

.product-text p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
}

.product-specs {
    width: 100%;
    max-width: 600px;
    border-collapse: collapse;
    margin-top: 25px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.product-specs th, .product-specs td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.product-specs th {
    background-color: #006039;
    color: white;
    font-weight: bold;
}

.product-specs tr:nth-child(even) {
    background-color: #f2f2f2;
}

.related-products {
    margin-top: 40px;
    text-align: center;
}

.related-container {
    display: flex;
    justify-content: center;
    gap: 70px;
    margin-top: 20px;
}

.related-item {
    width: 300px;
    text-align: center;
}

.related-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;
}

.related-item img:hover {
    transform: scale(1.1);
}

.related-item a {
    text-decoration: none; 
    color: inherit; 
}

.related-item p {
    margin-top: 10px;
    font-weight: bold;
    color: #006039; 
}

@media (max-width: 768px) {
    .product-info {
        flex-direction: column;
        align-items: center;
    }
    
    .product-image {
        max-width: 100%;
    }
    
    .main-image {
        max-width: 100%;
    }
    
    .product-text {
        text-align: center;
    }
    
    .product-specs {
        width: 100%;
    }
     .menu-toggle {
        display: block;
    }

    .nav-buttons {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        right: 20px;
        background: rgba(0, 0, 0, 0.9);
        padding: 10px;
        border-radius: 5px;
        width: 200px;
    }

    .nav-buttons a {
        display: block;
        text-align: left;
        padding: 10px;
        font-size: 18px;
        color: white;
        text-decoration: none;
    }

    .nav-buttons a:hover {
        background: white;
        color: black;
    }
    .products-title {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        text-align: center;
    }
    
    .product-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-image {
        max-width: 80%;
    }

    #mainImage {
        width: 100%;
        max-width: 350px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .thumbnail-container {
        display: flex;
        justify-content: center;
        flex-wrap: nowrap;
        gap: 5px;
        margin-top: 10px;
    }

    .thumbnail {
        width: 60px;
        height: auto;
    }

    .product-text {
        max-width: 90%;
        margin-top: 20px;
    }

    .product-text h1 {
        font-size: 1.8rem;
        text-align: center;
    }

    .product-text p {
        font-size: 1rem;
        text-align: center;
    }
    .related-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .related-item {
        width: 45%;
        max-width: 250px;
    }

    .related-item img {
        width: 100%;
    }
}