/* Overall Page Background */
body {
    /* background: linear-gradient(135deg, #63724e, #556141); */
    background: linear-gradient(135deg, #F5F5DC, #F9F9F9);
    color: #2F4F4F;
}

/* Backdrop Blur for Background */
body.overlay-open {
    backdrop-filter: blur(1px); /* Apply blur to the background */
    overflow: hidden; /* Prevent scrolling when overlay is open */
}

/* ====================================== */
/* ======== HERO SECTION STYLING ======== */
/* ====================================== */
.hero {
    background: url('/assets/images/hero.jpg');
    background-size: cover;
    height: 100vh;
    position: relative;
    color: white;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}
.hero-content h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.hero-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
/* == Media queries for Hero == */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}




/* ======================================= */
/* ======== FEATURE CARDS STYLING ======== */
/* ======================================= */
.features-cards .card.clickable {
    cursor: pointer;
}
.features-cards .card {
    width: 100%;
    max-width: 390px;
    height: 390px;
    margin: 0 auto;
    overflow: hidden;
    background-color: rgba(248, 249, 250, 0.9);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.features-cards .card:hover {
    -ms-transform: scale(1.07); /* IE 9 */
    -webkit-transform: scale(1.07); /* Safari 3-8 */
    transform: scale(1.07);
}
.features-cards .card-img-top {
    height: 200px;
    object-fit: cover;
}
.features-cards .card-body {
    height: 190px;
    overflow: auto;
}
/* == Media queries for Features Cards == */
@media (max-width: 768px) {
    .features-cards .card:hover {
        transform: none;
    }
}




/* ================================= */
/* ======== OVERLAY STYLING ======== */
/* ================================= */
.overlay {
    font-family: "Fredoka", serif;
    font-size: 24px;
    color: white;
    position: fixed;
    top: 15%;
    left: 50%;
    transform: translate(-50%);
    width: 90%;
    max-width: 900px;
    max-height: 80vh;
    /* background: rgba(60, 60, 60, 0.95); */
    background: rgba(47, 79, 79, 0.9);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none;
    overflow-y: auto;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.overlay-fine-print {
    font-size: 10px;
    margin-top: 5px;
    color: #ccc;
}

/* ================================= */
/* ======== OVERLAY BUTTONS ======== */
/* ================================= */

/* ===== CATEGORY (PRIMARY) BUTTONS ===== */
.category-buttons {
    display: grid;
    gap: 5px;
    width: 100%;
    margin-bottom: 10px;
}
.category-button {
    /* background-color: #63724e; */
    background-color: #2E8B57;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    transition: background 0.3s ease;
}
.category-button.selected {
    /* background-color: #4f5d3e; */
    background-color: #1c6e41;
    color: black;
}
.category-button:hover {
    /* background-color: #4f5d3e; */
    background-color: #1c6e41;
}
/* ===== CONTAINER (SECONDARY BUTTONS ===== */
.container-buttons {
    margin-bottom: 5px;
}
.container-button {
    /* background-color: #072243; */
    background-color: #4682B4;
    color: white;
    border: none;
    margin: 0 3px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.container-button.selected {
    /* background-color: #b04f4f; */
    background-color: #366890;
    color: white;
}
.container-button:hover {
    /* background-color: #b04f4f; */
    background-color: #366890;
}
/* ===== TYPE (TERTIARY) BUTTONS ===== */
.type-buttons {
    margin-bottom: 5px;;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 3px;
}
.type-button {
    /* background-color: #e3aa77; */
    background-color: #F0E68C;
    color: #2F4F4F;
    border: none;
    margin: 0 3px;
    border-radius: 3px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.type-button.selected {
    /* background-color: #d99759; */
    background-color: #E6DB74;
    color: #2F4F4F;
}
.type-button:hover {
    /* background-color: #d99759; */
    background-color: #e7dc6c;
}
/* ===== CLOSE BUTTONS ===== */
.close-button {
    position: absolute;
    top: 4px;
    right: 15px; /* Position at top-right */
    background: transparent;
    border: none;
    font-size: 40px; /* Increase size for better visibility */
    cursor: pointer;
    color: white; /* Dark color for contrast */
}
.close-button:hover {
    color: #f44336; /* Red color on hover */
}
/* == Media queries for Category Buttons == */
@media (max-width: 767px) {
    .overlay {
        top: 5%;
        max-height: 95vh;
    }
    .category-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 768px) {
    .category-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* ================================ */
/* ====== MENU ITEMS STYLING ====== */
/* ================================ */
.menu-container {
    display: grid;
    gap: 6px;
    width: 100%;
    grid-template-columns: repeat(2, 1fr); /* Default to 2 columns */
}
.menu-item {
    color: black;
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    /* background: rgba(255, 255, 255, 0.8); */
    background: rgba(245, 245, 220, 0.9);
    border-radius: 5px;
}
.menu-item strong {
    font-weight: normal;
    font-size: 22px;
    text-align: left;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}
.menu-item:hover strong {
    font-weight: 500;
    font-style: normal;
    cursor: default;
    color: inherit;
} /* Hover for Description */
.menu-item span {
    text-align: right;
    font-size: 22px;
    flex-shrink: 0;
    font-weight: 500;
}
.menu-item:hover span {
    /* color: green; */
    color: #2E8B57;
} /* Hover for Price */
/* == Media queries for Menu Items section == */
@media (max-width: 767px) {
    .menu-container {
        grid-template-columns: 1fr !important; /* Single column on mobile */
    }
}


/* ================================ */
/* ===== FUEL OVERLAY STYLING ===== */
/* ================================ */
#fuel-overlay {
    color: white;
    position: fixed;
    top: 15%;
    left: 50%;
    Transform: translate(-50%);
    width: 70%;
    max-width: 500px;
    min-width: 310px;
    /* background: rgba(60, 60, 60, 0.95); */
    background: rgba(47, 79, 79, 0.9);
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none;
    overflow-y: auto;
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
#fuel-overlay-content {
    display: flex;
    flex-direction: column;
    padding: 20px;
}
#fuel-overlay-title {
    margin-bottom: 20px;
    text-align: center;
}
#fuel-overlay-wrapper {
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
    padding: 10px;
}
#fuel-overlay .close-button {
    top: 10px;
    right: 30px; /* Position at top-right */
    color: black;
}
#fuel-overlay .close-button:hover {
    color: #f44336; /* Red color on hover */
}
svg {
    padding: 30px 80px;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
.svg-section {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 5px;
}
.fuel-section {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}
.fuel-description {
    font-size: 2.8rem;
    font-weight: normal;
}
.fuel-price {
    /* color: lightgreen; */
    color: #98FB98;
    font-family: "Doto", monospace;
    font-weight: 800;
    font-size: 2.8rem;
    text-align: right;
}
/* == Media queries for scaling == */
@media (max-width: 768px) {
    .svg-section svg {
        padding: 10px 40px;
        width: 80%;
        height: auto;
    }
}
@media (max-width: 600px) {
    .fuel-description {
        font-size: 2rem;
    }
    .fuel-price {
        color: lightgreen;
        font-weight: 800;
        font-size: 2rem;
    }
}


/* =================================== */
/* ===== GALLERY OVERLAY STYLING ===== */
/* =================================== */
.gallery-overlay {
    margin-top: 20px;
}
#gallery-overlay.overlay {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1300px;
    height: 90vh;
    padding: 20px;
    margin: 0;
}
.gallery-overlay-content {
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.main-image-container {
    position: relative;
    flex: 1;
    min-height: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.gallery-nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* background: rgba(0, 0, 0, 0.5); */
    background: rgba(47, 79, 79, 0.7);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    z-index: 2;
}
.gallery-nav-button.left {
    left: 0;
}
.gallery-nav-button.right {
    right: 0;
}
.thumbnail-ribbon {
    margin-top: auto;
}
.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.thumbnail.active {
    opacity: 1;
    /* border: 2px solid #007bff; */
    border: 2px solid #4682B4;
}



/* ================================ */
/* ======== FOOTER STYLING ======== */
/* ================================ */
.footer-section {
    background-color: #F5F5DC;
    color: #2F4F4F;
    border-top: 5px solid #2E8B57;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo img {
    max-width: 120px;
    height: auto;
}

.footer-logo h3 {
    margin-top: 10px;
    margin-right: 10px;
    flex-shrink: 0;
    /*width: 20px;*/
    font-size: 1.5rem;
    color: #2E8B57;
}

.footer-images {
    max-width: 28px;
    height: auto;
}

.abn {
    align-items: center;
    text-align: center;
    color: #464646;
    margin-top: 10px;
}

.footer-section h4 {
    margin-bottom: 15px;
    border-bottom: 2px solid #4682B4;
    padding-bottom: 8px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #2F4F4F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #2E8B57;
}

.footer-links p {
    display: flex;
    align-items: flex-start;
}

.footer-links p span {
    display: block;
    padding-left: 30px; /* Same as image width + margin-right */
}

address {
    font-style: normal;
    line-height: 1.25;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

.copyright a{
    color: #2F4F4F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright a:hover {
    color: #2E8B57;
}



@media (max-width: 768px) {
    .footer-section .col-md-4 {
        text-align: center;
    }

    .footer-logo {
        align-items: center;
    }

    .footer-links p span {
        padding-left: 0; /* Remove padding on smaller screens */
    }
}


