/* General styles */
body {
    margin: 0;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1.6;
    color: #333;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Styles for index.html */
#logo-container {
    text-align: center;
}

#logo-container img {
    max-width: 70%;
    height: auto;
    margin-bottom: -150px;
    margin-top: -130px;
}

#index-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 10px;
    
    
}

/* Styles for gallery.html */
#gallery,
#galleryBurger {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

#gallery img,
#galleryBurger img {
    max-width: 300px;
    height: auto;
    object-fit: cover;
}

/* Styles for orderPage.html */
#order-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

#family-container,
#family2-container {
    margin-bottom: 30px;
}

#pricing-container {
    font-weight: bold;
    margin-bottom: 10px;
}

#item-container ul,
#item2-container ul {
    list-style-type: none;
    padding: 0;
}

#item-container li,
#item2-container li {
    margin-bottom: 10px;
}

.sold-out {
    color: #ff0000;
    font-weight: bold;
}

#order-now {
    font-size: 25px;
    margin-top: 20px;
}

#bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}

/* Styles for ingredients.html */
.title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 30px;
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.left-column, .right-column {
    width: 25%;
    display: flex;
    flex-direction: column;
}

.center-column {
    width: 50%;
}

.left-column img, .right-column img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    object-fit: cover;
}

.product-name {
    font-weight: bold;
    text-decoration: underline;
}

.center-column p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
}

/* Styles for popup.html */

#popup-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

#popup-family-container,
#popup-family2-container {
    margin-bottom: 30px;
}

#popup-pricing-container {
    font-weight: bold;
    margin-bottom: 10px;
}

#popup-item-container ul,
#popup-item2-container ul {
    list-style-type: none;
    padding: 0;
}

#popup-item-container li,
#popup-item2-container li {
    margin-bottom: 10px;
}

.sold-out {
    color: #ff0000;
    font-weight: bold;
}

#order-now {
    font-size: 25px;
    margin-top: 20px;
}

#popup-bottom-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
}



/* Shared styles for "Back" buttons */
.return,
#return,
#bottom-return,
#index-bottom-links,
#order-now {
    text-align: center;
    margin-top: 30px;
}

.return a,
#return a,
#bottom-return a,
#index-bottom-links a,
#order-now a {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #333;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.return a:hover,
#return a:hover,
#bottom-return a:hover,
#index-bottom-links a:hover,
#order-now a:hover {
    background-color: #333;
    color: #fff;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .left-column, .right-column {
        width: 25%;
    }
    .center-column {
        width: 50%;
    }
}

@media (max-width: 768px) {
    /* For index.html */
    #logo-container img {
        margin-top: 100px;
        margin-bottom: -30px;
    }

    #left-link,
    #right-link,
    #last-link {
        font-size: 18px;
        margin: 10px auto;
    }
 /* For gallery.html */
 #gallery,
 #galleryBurger {
     display: flex !important;
     flex-wrap: wrap !important;
     justify-content: space-between !important;
     gap: 10px !important;
     padding: 10px !important;
 }

 #gallery img,
 #galleryBurger img {
     width: calc(50% - 5px) !important;
     max-width: none !important;
     height: auto !important;
     object-fit: cover !important;
     margin: 0 0 10px 0 !important;
 }

    /* For orderPage.html */
    #bottom-links {
        flex-direction: column;
        gap: 10px;
    }

    /* For ingredients.html */
    .content-wrapper {
        flex-direction: column;
    }
    .left-column, .center-column, .right-column {
        width: 100%;
    }
    .left-column, .right-column {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .left-column img, .right-column img {
        width: 48%;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .left-column, .right-column {
        flex-direction: column;
    }
    .left-column img, .right-column img {
        width: 50%;
        display: none;
    }
}