/* General Page Styling */
html, body {
    font-family: 'Asap', sans-serif;
    margin: 0;
    padding: 0;
    background-image:url(images/background-4.jpg);
    height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background-color: #fccc63;
}

/* Main content should push the footer down */
.main-content {
    flex: 1;
}

/* Header */
.header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centers everything */
    text-align: center;
    background-color: #fccc63;
    max-width: 100%;
    padding: 10px 0; /* Reduce padding */
}

.header * {
    margin: 0;
    padding: 0;
}

/* Logo */
#headerlogo {
    max-height: 400px; /* Adjust size to fit */
    display: block;
    margin: 0 auto; /* Center horizontally */
    padding-bottom: 0px; /* Remove extra space below */
}

/* General Button Styling for Both Links and Tabs */
.navButton, .tabButton {
    display: flex;
    align-items: center; /* Center text vertically */
    justify-content: center; /* Center text horizontally */
    text-align: center;
    gap: 15px;
    padding: 5px 0; /* Reduce space */
    width: 100%; /* Set same width for consistency */
    height: 100%; /* Set same height */
    background-color: #fccc63;
    color: white;
    border: none;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 20px;
    margin: 15px;
    text-decoration: none; /* Remove underline from links */
}

/* Hover Effect */
.navButton:hover, .tabButton:hover {
    color: navy;
    transition: color 0.3s ease-in-out;
}

/* Navigation Bar Styling */
nav {
    display: flex;
    justify-content: center; /* Center all buttons */
    align-items: center;
    gap: 15px;
    padding: 10px 0;
}

@media (max-width: 768px) {
    .header {
        flex-direction: column;
        text-align: center;
    }
    nav {
        flex-direction: column;
    }
}

h1 {
    text-align: center;
    font-size: 28px; /* Adjust size */
    margin-bottom: 10px; /* Space between h1 and h2 */
}

h2 {
    text-align: center;
    font-size: 24px;
    margin-top: 5px; /* Reduce space above h2 */
}



/* Tab Content */
.tab-content {
    display: none;
    padding: 2%;
    padding-top: 2%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 2% auto;
    max-width: 100%;
}

.tab-content a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.tab-content a:hover {
    color: navy;
}

/* Menu Section */
#menu {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    text-align: center;
}

/* Menu Links */
#menu a {
    color: #fccc63;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

#menu a:hover {
    color: navy;
}

/* Container to hold two columns */
.menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1000px; /* Adjust as needed */
    margin: auto;
}

/* Each column */
.menu-column {
    flex: 1;
    min-width: 45%; /* Ensure responsiveness */
    padding: 10px;
    box-sizing: border-box;
}

/* Ensure headings align properly */
.menu-column h3 {
    border-bottom: 2px solid #2F6476;
    padding-bottom: 5px;
    margin-bottom: 10px;
}

/* Style menu items */
.menu-column ul {
    list-style-type: none;
    padding: 0;
}

.menu-column li {
    padding: 8px 0;
    border-bottom: 1px dashed #ccc;
}

/* Style for the image container inside the menu column */
.menu-images {
    display: flex;
    flex-wrap: wrap; /* Allows images to wrap within available space */
    justify-content: space-evenly; /* Distributes images evenly */
    gap: 10px; /* Adds space between images */
}

/* Style for images inside Column 2 */
.menu-images img {
    width: 45%; /* Adjust size to fit inside column */
    max-width: 200px; /* Prevents oversized images */
    height: auto; /* Keeps aspect ratio */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

/* Hover effect */
.menu-images img:hover {
    transform: scale(1.05);
}


/* Responsive Design */
@media screen and (max-width: 768px) {
    .menu-container {
        flex-direction: column;
    }

    .menu-column {
        min-width: 100%;
    }
}


/* General Styling for Forms */
.contact-form, .catering-form {
    width: 100%;
    max-width: 600px;
    margin: auto;
    padding: 20px;
    box-sizing: border-box; /* Ensures padding doesn't push content outside the container */
}

.form-row {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    align-items: center;
    margin-bottom: 15px;
}

.form-label {
    flex: 1;
    text-align: right;
    padding-right: 15px;
    font-weight: bold;
}

.form-input {
    flex: 2;
    text-align: left;
}

.input, .comment {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    box-sizing: border-box; /* Ensures consistent behavior on different screen sizes */
}

/* Submit Button */
.button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #2F6476;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.button:hover {
    background-color: #FC3;
    color: black;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .form-label {
        flex: 100%; /* Makes labels take full width on smaller screens */
        text-align: left; /* Aligns text left for better readability */
        padding-right: 0;
        margin-bottom: 5px;
    }

    .form-input {
        flex: 100%; /* Makes inputs take full width on smaller screens */
    }

    .input, .comment {
        padding: 8px;
    }
}

@media screen and (max-width: 480px) {
    .contact-form, .catering-form {
        padding: 10px;
    }
    
    .button {
        padding: 8px;
        font-size: 14px;
    }
}

/* Gallery Layout */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    justify-content: center;
    max-width: 1000px;
    margin: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.gallery-item:hover {
    transform: scale(1.05);
    cursor: pointer;
}

/* Lightbox Effect */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.close-lightbox {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox img {
    max-width: 80%;
    max-height: 80%;
    border-radius: 10px;
}

/* Close Button */
.lightbox .close {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 30px;
    color: white;
    cursor: pointer;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    font-size: 30px;
    color: white;
    cursor: pointer;
    transform: translateY(-50%);
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.prev:hover, .next:hover {
    background: rgba(255, 255, 255, 0.5);
    color: black;
}

/* Gallery Grid */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.gallery-container img {
    width: 100%;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery-container img:hover {
    transform: scale(1.05);
}


/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

/* Popup Box */
.popup-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2.5%;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    width: 320px; /* Adjust width */
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column; /* Ensures vertical stacking */
    align-items: center;
    gap: 15px; /* Space between elements */
}

/* Popup Text */
.popup-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

/* Order Button */
.popup-button {
    background-color: #fc3;
    border: none;
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    border-radius: 8px;
    text-align: center;
    width: 100%; /* Ensures it fits inside */
}

.popup-button:hover {
    background-color: #e0b100;
}

/* Close Button */
.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 20px;
}

/* Footer */
.footer {
    background: #fccc63;
    color: white;
    text-align: center;
    justify-content: space-around;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    margin-top: 10%;
    max-width: 100%;
    padding-right: 2%;
    padding-left: 2%;
    padding-top: 2%;
    padding-bottom: 1%;
    bottom: 0;
    position: relative;
}

/* Footer Sections */
.footer-section {
    flex: 1;
    min-width: 250px;
    padding: 2%;
}

/* Menu Links */
.footer-section a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.footer-section a:hover {
    color: navy;
}

/* Delivery Logos */
.delivery-logo {
    max-width: 20%; /* Adjust size */
    height: auto;
    margin: 1px;
    transition: transform 0.2s ease-in-out;
}

.delivery-logo:hover {
    transform: scale(1.5);
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        flex-direction: column;
        text-align: center;
    }
}

/* Copyright Text */
.copyright {
    text-align: center;
    padding: 0px 0;
    padding-bottom: -10%;
    font-size: 14px;
    color: white;
    background: #fccc63;
}

@font-face {
    font-family: 'Share';
    src: url('fonts/Share-regular.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

/* Main Content Container */
#content-container {
    display: none;
    padding: 2%;
    padding-top: 2%;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin: 2% auto;
    max-width: 75%;
    text-align: center;
}

/* Info Box Styling */
.info-box {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    text-align: left;
    line-height: 1.6;
    width: 667px;
    margin: 10px auto; /* Centers the box */
    display: flex;
    flex-direction: column; /* Ensures proper stacking */
    justify-content: center; /* Centers content vertically */
    align-items: center; /* Centers content horizontally */
}

/* Headings in Info Box */
.info-box h2 {
    color: #2F6476;
    margin-bottom: 10px;
}

/* Paragraph Styling */
.info-box p {
    font-size: 16px;
    color: #333;
}

/* List Styling */
.info-box ul {
    padding-left: 20px;
    list-style-type: "✅ ";
}

/* Menu Links */
.info-box a {
    color: black;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out;
}

.info-box a:hover {
    color: navy;
}

/* Button Container */
.button-container {
    display: flex;
    justify-content: center; /* Centers the buttons horizontally */
    align-items: center; /* Aligns them vertically */
    gap: 20px; /* Adds space between buttons */
    margin-top: 20px;
    width: 100%; /* Ensures full width */
    max-width: 700px; /* Keeps width consistent */
    margin-left: auto; /* Centers container */
    margin-right: auto; /* Centers container */
}

/* Buttons */
.button {
    background-color: #Fccc63;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
    text-align: center;
    display: inline-block; /* Prevents stretching */
    min-width: 150px; /* Keeps buttons wide enough */
    white-space: nowrap; /* Prevents text from wrapping */
}

.button:hover {
    color: navy;
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .button-container {
        flex-direction: column; /* Stack buttons vertically on smaller screens */
        gap: 15px;
    }
    .button {
        width: 100%; /* Makes buttons full width on mobile */
    }
}

/* Responsive Styling */
@media screen and (max-width: 1024px) {
    #content-container {
        max-width: 85%; /* Expands content width on tablets */
    }
    .info-box {
        max-width: 90%; /* Allows flexibility */
        padding: 15px;
    }
}

@media screen and (max-width: 768px) {
    #content-container {
        max-width: 95%; /* Adjusts width for smaller screens */
    }
    .info-box {
        max-width: 100%; /* Uses full width on mobile */
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .info-box {
        padding: 8px;
        font-size: 14px; /* Makes text readable on small screens */
    }
}


/* Responsive Design */
@media (max-width: 768px) {
    .content-container {
        width: 90%;
    }

    .info-box {
        padding: 15px;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
    }

    .button {
        width: 80%;
    }
}

/* Footer Fix for Consistency */
.footer {
    width: 100%;
    background: #fccc63;
    color: white;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px 0;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    padding: 10px;
}

/* Copyright */
.copyright {
    text-align: center;
    font-size: 14px;
    color: white;
    background: #fccc63;
    padding: 10px 0;
}

/* Hide H1 for SEO but Keep for Search Engines */
.hidden-h1 {
    font-size: 0;
    visibility: hidden;
    height: 0;
    width: 0;
    position: absolute;
}
