/* site.css */

body {
    background-color: #121212;
    color: #E0E0E0;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding: 20px;
    margin-bottom: auto;
}

/* Navbar Styles */
.navbar-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 50px; 
    height: 100px;
    background-color: #121212;
    border-bottom: 1px solid #c7c7c7;
}

    .navbar-brand img {
        height: 95px;
    }

/* Centered navigation links */
.navbar-custom .navbar-center {
    display: flex;
    gap: 20px; 
    flex-grow: 1; 
    justify-content: center; 
}

    .navbar-nav {
        flex-direction: row;
    }

.navbar-custom .nav-link {
    font-size: 20px;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap; 
}

    .navbar-custom .nav-link:hover {
        color: #1e90ff;
        text-decoration: none;
    }

/* Right section: Account login and cart */
.navbar-custom .navbar-right {
    display: flex;
    align-items: center;
}

    .navbar-custom .navbar-right .nav-item i {
        font-size: 28px;
        color: #c7c7c7;
        transition: color 0.3s;
    }

    .navbar-custom .navbar-right .nav-item:hover i {
        color: #1e90ff;
    }

    .navbar-custom .navbar-right .nav-link {
        font-size: 18px;
        color: #E0E0E0;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 5px;
        line-height: 27px;
    }

        .navbar-custom .navbar-right .nav-link:hover {
            color: #1e90ff;
            text-decoration: none; 
        }

    .navbar-custom .navbar-right .btn {
        line-height: 27px; 
        padding: 0.25rem 0.75rem; 
    }
.cart-icon {
    width: 24px; /* Adjust size as needed */
    height: 24px;
    vertical-align: middle; /* Align with text if needed */
}

/* Accessibility enhancements */
.navbar-toggler:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.nav-link:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Navigation panel */
.navbar-custom .nav-link {
    font-size: 20px;
    position: relative;
    margin: 0 20px;
    color: #E0E0E0;
    transition: color 0.3s;
}

.navbar-custom .navbar-right .nav-link {
    margin: 0;
    white-space: nowrap;
    font-size: 18px;
    color: #E0E0E0;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 1px;
    left: 0;
    background-color: #1e90ff;
    opacity: 0;
    transition: opacity 0.3s;
}

.navbar-custom .nav-link:hover::after {
    opacity: 1; 
}

.navbar-custom .nav-link:hover {
    color: #1e90ff;
}

/* Screen reader text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Footer styles */
.footer {
    display: flex;
    justify-content: space-between; 
    align-items: center; 
    padding: 10px 20px;
    background-color: #121212;
    border-top: 1px solid #c7c7c7;
    width: 100%;
}

    .footer .social-media {
        display: flex;
        align-items: center;
    }

        .footer .social-media a {
            margin: 0 5px;
            color: #E0E0E0;
        }

        .footer .social-media i {
            font-size: 20px;
            border-radius: 50%;
            padding: 10px;
            background-color: #333333;
            transition: color 0.3s;
        }

        .footer .social-media a:hover i {
            color: #1e90ff;
        }

    .footer .copyright {
        font-size: 12px;
        margin-left: 450px;
        color: #c7c7c7;
        text-align: center;
        flex: 1;
    }

    .footer .links {
        display: flex;
        align-items: center;
    }

        .footer .links a {
            margin: 0 10px;
            text-decoration: none;
            color: #c7c7c7;
            transition: text-decoration 0.3s, color 0.3s;
        }

            .footer .links a:hover {
                text-decoration: underline;
                color: #1e90ff;
            }

        .footer .links .btn-signup {
            background-color: #0047ab;
            color: #ffffff;
            padding: 8px 15px;
            border-radius: 5px;
            border: none;
            cursor: pointer;
        }

            .footer .links .btn-signup:hover {
                background-color: #1e90ff;
                color: #ffffff;
            }

            .footer .links .btn-signup:active {
                background-color: #003366;
            }

/* Index page carousel */
.carousel {
    height: calc(100vh - 100px); 
    overflow: hidden; 
    margin-top: -16px;
}

.carousel-inner {
    height: 100%; 
}

    .carousel-inner img {
        object-fit: contain;
        height: 100%; 
        width: 100%;
    }

/*Hours & Location page styling*/
.hours-location-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.map-section, .hours-section {
    flex: 1;
    min-width: 300px; 
}

.map-only gmpx-store-locator-panel,
.map-only .gmpx-panel {
    display: none !important;
}

.map-only .gmpx-map {
    width: 100% !important;
    height: 100% !important;
}

gmpx-store-locator {
    --gmpx-color-surface: #333333; 
    --gmpx-color-on-surface: #E0E0E0; 
    --gmpx-color-on-surface-variant: #c7c7c7; 
    --gmpx-color-primary: #2c3e50; 
    --gmpx-color-outline: #c7c7c7; 
    --gmpx-fixed-panel-width-row-layout: 0; 
    --gmpx-fixed-panel-height-column-layout: 0; 
    --gmpx-font-family-base: "Roboto", sans-serif;
    --gmpx-font-family-headings: "Roboto", sans-serif;
    --gmpx-font-size-base: 0.875rem;
    --gmpx-hours-color-open: #188038;
    --gmpx-hours-color-closed: #d50000;
    --gmpx-rating-color: #ffb300;
    --gmpx-rating-color-empty: #e0e0e0;
}

.map-link {
    color: #1e90ff; 
    text-decoration: underline;
    font-weight: bold;
}

    .map-link:hover {
        color: #1e90ff; 
        text-decoration: none;
    }

    .map-link:focus {
        outline: 2px solid #1e90ff; 
    }

.hours-section-title {
    color: #E0E0E0;
    margin-bottom: 10px;
}

.hours-section-text, .hours-list-item {
    color: #c7c7c7;
    margin-bottom: 8px;
    line-height: 1.5;
}

.hours-list {
    list-style: none;
    padding: 0;
}

.hours-location-title {
    color: #E0E0E0;
}

/*User Menu Page Styling*/
.food-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.food-item {
    border: 1px solid #c7c7c7;
    padding: 20px;
    width: 350px;
    background-color: #1c1c1c;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.food-image {
    width: 100%;
    max-width: 325px;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.description {
    font-size: 14px;
    color: #c7c7c7;
    margin: 10px 0;
}

.food-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: auto;
    padding-top: 15px;
}

.price {
    font-weight: bold;
    font-size: 18px;
    color: white;
}

.add-to-basket-form {
    display: flex;
    align-items: center;
    gap: 5px; 
    margin: 0;
}

    .add-to-basket-form label {
        color: #E0E0E0;
        font-size: 14px;
    }

.quantity-label {
    margin-left: 10px;
    font-weight: bold;
    vertical-align: middle;
}

.quantity-input {
    width: 50px;
    text-align: center;
    padding: 5px;
    border: 1px solid #c7c7c7;
    border-radius: 3px; 
    background-color: #121212;
    color: #E0E0E0;
}

.add-to-basket-btn {
    background-color: #2c3e50;
    color: #E0E0E0;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

    .add-to-basket-btn:hover {
        background-color: #0047ab;

    }

/* Discover Page Styles */
.discover-banner {
    width: 100%;
    padding: 60px 0;
    background: url('~/img/discover-banner.jpg') no-repeat center center;
    background-size: cover;
    text-align: left;
}

    .discover-banner h1 {
        font-size: 48px;
        margin: 0;
        padding-left: 20px; 
        color: #E0E0E0;
    }

.reviews-section {
    padding: 40px 0;
    background-color: #121212;
    text-align: center;
}

    .reviews-section h2 {
        margin-bottom: 30px;
        font-size: 36px;
        color: #E0E0E0;
    }

.reviews-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.review {
    background: #1c1c1c; 
    border: 1px solid #c7c7c7; 
    border-radius: 8px;
    padding: 20px;
    max-width: 300px;
    text-align: left;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.review-content h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #E0E0E0; 
}

.review-content p {
    font-size: 14px;
    color: #c7c7c7; 
}

/* Contact Us Page Styles */
.contact-container {
    text-align: center;
    padding: 20px;
}

    .contact-container img {
        max-width: 200px;
        margin-bottom: 20px;
    }

    .contact-container h1 {
        margin-bottom: 20px;
    }

    .contact-container p {
        margin-bottom: 20px;
        font-size: 18px;
    }

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

    .contact-form .form-group {
        margin-bottom: 15px;
    }

    .contact-form .form-control {
        width: 100%;
        padding: 10px;
        font-size: 16px;
    }

    .contact-form .btn-primary {
        width: 100%;
        padding: 10px;
        font-size: 16px;
    }


.btn-contact {
    background-color: #0047AB; 
    color: #ffffff; 
    border: none;
    padding: 10px 20px; 
    border-radius: 4px; 
    cursor: pointer;
    width: 100%; 
    font-size: 16px; 
}

    .btn-contact:hover {
        background-color: #003366; 
        color: #ffffff; 
    }

    .btn-contact:active {
        background-color: #003366; 
        color: #ffffff; 
    }

.contact-form .btn-primary {
    display: none; 
}
.contact-form .form-control {
    color: #E0E0E0 !important;
    background-color: #121212;
    border: 1px solid #c7c7c7;
}

::placeholder {
    color: #c7c7c7 !important;
    opacity: 1;
}

.contact-form .form-control:focus {
    color: #E0E0E0 !important;
    background-color: #121212;
    border-color: #2c3e50;
    outline: none;
    box-shadow: 0 0 5px rgba(30, 144, 255, 0.5);
}

.success-message {
    margin-top: 20px;
    font-size: 18px;
    color: #00c853; 
}

.success-message-hidden {
    display: none; 
}

/*CRUD Menu Pages layout*/
.table {
    color: white; 
}

    .table thead th {
        color: white;
    }

    .table tbody td {
        color: white;
    }

.table-bordered {
    border: 1px solid white;
}

.table a {
    color: white; 
    text-decoration: underline; 
}

    .table a:hover {
        color: lightgray;
    }
.img-small {
    width: 100px; 
    height: auto;
    object-fit: cover; 
    border-radius: 5px;
}
/* Admin main page styling */
.admin-card {
    background-color: #1c1c1c;
    border: 1px solid #c7c7c7;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

    .admin-card .card-header {
        background-color: #121212;
        border-bottom: 1px solid #c7c7c7;
    }

.admin-title, .admin-header {
    color: #E0E0E0;
}

.admin-lead, .admin-contact, .admin-small {
    color: #c7c7c7;
}

.admin-btn {
    background-color: #2c3e50;
    color: #E0E0E0;
    padding: 8px 15px;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
    transition: background-color 0.3s;
    margin-right: 15px;
    min-width: 150px;
}

    .admin-btn:hover {
        background-color: #0047ab;
        color: #E0E0E0;
    }

.admin-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap; 
}

.admin-link {
    color: #2c3e50;
    text-decoration: none;
}

    .admin-link:hover {
        text-decoration: underline;
        color: #0047ab;
    }

/* Admin Menu Page Styling */
.menu-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.category {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    flex: 1 1 calc(25% - 40px); 
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

    .category h2 {
        margin-bottom: 15px;
        font-size: 1.5rem;
        color: #333;
    }

    .category .btn {
        width: 100%;
        margin-top: 10px;
    }

/*Details page styling*/
img-fluid {
    max-width: 450px;
}

/* Login/register pages styling */
.form-control {
    color: #E0E0E0 !important;
    background-color: #121212;
    border: 1px solid #c7c7c7;
}

::placeholder {
    color: #c7c7c7 !important;
    opacity: 1;
}

.form-control:focus {
    color: #E0E0E0 !important;
    background-color: #121212;
    border-color: #2c3e50;
    outline: none;
    box-shadow: 0 0 5px rgba(30, 144, 255, 0.5);
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.login-box {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    background-color: #1c1c1c;
    border-radius: 10px;
}

.register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.register-box {
    width: 100%;
    max-width: 500px;
    padding: 20px;
    background-color: #1c1c1c;
    border-radius: 10px;
}

.btn-login {
    background-color: #0047AB; 
    color: #ffffff; 
    border: none;
    padding: 10px 20px; 
    border-radius: 5px;
    cursor: pointer;
    width: 100%; 
}

    .btn-login:hover {
        background-color: #1e90ff; 
        color: #ffffff;
    }

    .btn-login:active {
        background-color: #003366; 
    }

.btn-register {
    background-color: #0047AB; 
    color: #ffffff; 
    border: none;
    padding: 10px 20px; 
    border-radius: 5px;
    cursor: pointer;
    width: 100%; 
}

    .btn-register:hover {
        background-color: #1e90ff; 
        color: #ffffff; 
    }

    .btn-register:active {
        background-color: #003366;
    }

.login-link {
    color: #1e90ff; 
    text-decoration: none;
    font-size: 14px; 
}

    .login-link:hover {
        color: #0047ab; 
        text-decoration: underline;
    }

    .login-link:focus {
        outline: 2px solid #1e90ff; 
    }

.register-link {
    color: #1e90ff; 
    text-decoration: none;
    font-size: 14px; 
}

    .register-link:hover {
        color: #0047ab; 
        text-decoration: underline;
    }

    .register-link:focus {
        outline: 2px solid #1e90ff; 
    }

.text-danger {
    color: #d50000; 
}

.form-label {
    color: #E0E0E0; 
}

/* Basket Page Styles*/
.quantity-input {
    width: 80px;
    padding: 5px;
    background-color: #121212; 
    border: 1px solid #c7c7c7; 
    border-radius: 4px; 
    color: #E0E0E0; 
    text-align: center;
}

    .quantity-input:focus {
        outline: none;
        border-color: #2c3e50; 
        box-shadow: 0 0 5px rgba(30, 144, 255, 0.5);
    }

.remove-btn {
    background-color: #d50000; 
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 4px;
}

    .remove-btn:hover {
        background-color: #b30000; 
    }

.button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn-dark {
    background-color: #333333; 
    color: #ffffff; 
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    width: auto; 
    border-radius: 4px;
}

    .btn-dark:hover {
        background-color: #555555;
    }
/* Purchase Confirmation Page Styles*/
.confirmation-container {
    text-align: center;
    padding: 40px;
    margin: 40px auto;
    max-width: 600px;
    background-color: #1c1c1c; 
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6); 
}

    .confirmation-container h1 {
        font-size: 2.5em;
        color: #e0e0e0; 
    }

    .confirmation-container p {
        font-size: 1.2em;
        color: #cccccc; 
    }

    .confirmation-container .btn-primary {
        margin-top: 20px;
        background-color: #333333; 
        color: #e0e0e0;
        border: none;
        padding: 10px 20px;
        border-radius: 4px;
    }

        .confirmation-container .btn-primary:hover {
            background-color: #555555;
        }