/* styles.css */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    background-color: #F5C527;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
}
#honeycomb-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
#bee-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}
#top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    box-sizing: border-box;
    z-index: 1001;
}
.nav-left {
    display: flex;
    align-items: center;
}
.home-btn {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1em;
    margin-right: 20px;
}
.home-btn svg {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}
.about-dropdown {
    position: relative;
    margin-right: 20px;
}
.about-dropdown button {
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1em;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #333;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.dropdown-content a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}
.dropdown-content a:hover {
    background-color: #444;
}
.about-dropdown:hover .dropdown-content {
    display: block;
}
#link-shop {
    color: white;
    text-decoration: none;
    font-size: 1em;
    margin-right: 20px;
}
#link-shop:hover {
    text-decoration: underline;
}
.nav-right {
    display: flex;
    align-items: center;
}
.lang-flags {
    display: flex;
}
.lang-flags img {
    width: 28px;
    height: 21px;
    margin-left: 5px;
    cursor: pointer;
}
#cart-btn {
    display: flex;
    align-items: center;
    background: none;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1em;
    margin-left: 20px;
}
#cart-btn svg {
    width: 24px;
    height: 24px;
    margin-right: 5px;
}
#main-content {
    margin-top: 60px;
    padding: 20px;
    flex: 1;
}
h1 {
    text-align: center;
    font-size: 3em;
    margin-top: 50px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.product {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}
.product:hover {
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
}
.product h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}
.product p {
    margin: 5px 0;
}
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 5px;
    width: 100%;
    font-size: 0.8em;
}
footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}
footer a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
        margin-top: 70px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    #top-nav {
        flex-wrap: wrap;
        padding: 5px;
    }
    .nav-left {
        flex: 1;
        justify-content: flex-start;
    }
    .nav-right {
        justify-content: flex-end;
    }
    .home-btn, .about-dropdown button, #link-shop, #cart-btn {
        font-size: 0.9em;
    }
    .home-btn svg, #cart-btn svg {
        width: 20px;
        height: 20px;
    }
}
/* Cart and form styles */
#products button, #order-form button, #checkout-btn {
    margin: 10px 0;
    padding: 10px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
}
#cart-preview {
    border: 1px solid #333;
    padding: 10px;
    margin-bottom: 20px;
}
#order-form input, #order-form textarea {
    display: block;
    margin: 10px 0;
    width: 100%;
    max-width: 400px;
}
/* Quantity input and buttons */
.qty-input {
    width: 50px;
    margin-right: 10px;
    text-align: center;
}
#cart-preview button {
    padding: 5px 10px;
    margin: 0 5px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
}
/* Modal styles */
#cart-modal, #product-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1002;
}
.modal-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    position: relative;
}
.product-modal-content {
    display: flex;
    max-width: 800px;
}
.left, .right {
    flex: 1;
    padding: 10px;
}
.right img {
    width: 100%;
    height: auto;
}
#close-modal, #product-close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5em;
    cursor: pointer;
}
#add-to-cart, #view-cart {
    margin: 10px 5px;
    padding: 10px;
    background: #333;
    color: white;
    border: none;
    cursor: pointer;
}
#blog-feed {
    margin-top: 40px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

#blog-feed h2 {
    text-align: center;
    margin-bottom: 20px;
}

#blog-posts {
    list-style: none;
    padding: 0;
}

#blog-posts li {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

#blog-posts a {
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

#blog-posts a:hover {
    text-decoration: underline;
}

#blog-posts p {
    margin: 5px 0 0;
    color: #666;
}

#blog-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

#blog-link:hover {
    text-decoration: underline;
}
#cart-preview table {
    border: none;
}
#cart-preview th, #cart-preview td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}
#cart-preview input[type="number"] {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
}
#checkout-btn {
    background-color: #28a745; /* Green like the image */
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    width: auto;
    display: block;
    margin: 20px auto 0;
    font-weight: bold;
    text-transform: uppercase;
}
#checkout-btn:hover {
    background-color: #218838;
}
