body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff;
    color: #333;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

nav {
    display: flex;
    gap: 15px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.home main {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    padding: 20px;
}

.product {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    width: 30%;
    margin: 10px;
    transition: transform 0.2s ease;
}

.product:hover {
    transform: scale(1.03);
}

.product img {
    max-width: 100%;
    border-radius: 8px;
}

h1,
h2 {
    color: #4CAF50;
}

button,
.button-link {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    cursor: pointer;
    text-decoration: none;
    font: inherit;
}

button:hover,
.button-link:hover {
    background-color: #45a049;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #4CAF50;
    color: white;
}

.product-page {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.product-page img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.menu-wrapper {
    position: relative;
}

.menu-btn {
    background-color: white;
    color: #4CAF50;
    font-weight: bold;
}

.dropdown {
    position: absolute;
    right: 0;
    top: 44px;
    background: white;
    display: flex;
    flex-direction: column;
    min-width: 170px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: 0.3s ease;
    z-index: 10;
}

.dropdown.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.dropdown a {
    padding: 10px;
    text-decoration: none;
    color: #333;
}

.dropdown a:hover {
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .home main {
        flex-direction: column;
        align-items: center;
    }

    .product {
        width: 90%;
    }

    header {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .dropdown {
        left: 50%;
        right: auto;
        transform: translate(-50%, -10px);
    }

    .dropdown.show {
        transform: translate(-50%, 0);
    }
}
