:root {
    --deep-black: #0B0B0D;
    --midnight-navy: #1F2A3A;
    --smoky-grey: #1F2A3A;

    --champaigne-gold: #D4B483;
    --bronze-gold: #A36A3F;
    --bronze: #6A4A33;

    /* Style 1 Start */
    --bg-primary: #1F2A3A;
    --bg-secondary: #1F2A3A;
    --bg-light: #3B3B3D;
    --bg-dark: #0B0B0D;

    --text-primary: #D4B483;
    --text-dark: #0B0B0D;
    /* Style 1 End */

}

html,
body {
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    padding: 0 10px;
    background-color: var(--bg-primary);
    color: var(--champaigne-gold);
    height: 98vh;
    overflow: hidden;
    /* default: no scroll on desktop/tablet */
}

/* Headings: logo script */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Great+Vibes', cursive;
    color: var(--champaigne-gold);
}

.bg-primary {
    background-color: var(--bg-primary);
}

.bg-secondary {
    background-color: var(--bg-secondary);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--bg-dark) !important;
}

.text-primary {
    color: var(--text-primary);
}

.btn-primary {
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: #454545;
}


.btn-secondary {
    background-color: var(--champaigne-gold);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background-color: var(--bronze-gold);
    color: #fff;
}

iframe {
    width: 100%;
    filter: grayscale(100%);
    border-radius: 5px;
    /* removes all color */
    /* filter: contrast(66%) brightness(122%); */
}

/* Base navbar style */
.navbar {
    /* background-color: rgba(255, 255, 255, 0.9); */
    background-color: var(--bg-primary);
    color: var(--champaigne-gold);
    /* color: var(--bg-primary); */
    box-sizing: border-box;
    /* ✅ ensures padding applies evenly */
    padding: 5px;
    /* Increased navbar padding for now */
    border-radius: 12px;
    /* Increased border radius so that navbar border appears even to hero-grid*/
    z-index: 10;
    /* Esnure that navbar appears on top*/
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    /* ✅ even inset */
}

/* Left group: hamburger + logo */
.nav-left {
    display: flex;
    align-items: center;
    gap: 5px;
    /* spacing between hamburger and logo */
}



/* Links: Menu + About */
.nav-links {
    display: flex;
    gap: 20px;
    /* spacing between links */
    margin-left: 20px;
    /* ✅ padding from logo */
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    /* below the link */
    left: 0;
    background-color: var(--bg-primary);
    border-radius: 8px;
    min-width: 150px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.dropdown-content a {
    display: block;
    padding: 10px;
    color: var(--champaigne-gold);
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: rgba(211, 197, 183, 0.2);
}

/* Show on hover (desktop) */
.dropdown:hover .dropdown-content {
    display: block;
}

/* .nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--champaigne-gold);
    font-weight: 500;
    margin-right: 10px;
    padding: 6px 10px;
    border-radius: 4px;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--champaigne-gold);
    border-radius: 4px;
    transform: scaleX(0);
    transform-origin: top;
    transition: transform 0.5s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: var(--bg-primary);
}

.nav-links a:hover::after {
    transform: scaleX(1);
} */


/* .nav-links a {
    position: relative;
    text-decoration: none;
    color: var(--champaigne-gold);
    font-weight: 500;
    margin-right: 10px;
    padding: 11px 16px;
    border-radius: 10px;
    overflow: hidden;
    transition: color 0.3s ease;
    z-index: 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--champaigne-gold);
    border-radius: 50px;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: var(--bg-primary);
}

.nav-links a:hover::after {
    width: 100%;
    height: 100%;
    opacity: 1;
} */

.nav-links a {
    position: relative;
    display: inline-block;
    padding: 8px 7px;
    border: none;
    /* font-size: 16px; */
    background-color: inherit;
    border-radius: 100px;
    /* font-weight: 600; */
    color: var(--champaigne-gold);
    /* box-shadow: 0 0 0 2px #ffffff20; */
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    text-decoration: none;
}

.nav-links a span:last-child {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: var(--champaigne-gold);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.320, 1);
}

.nav-links a span:first-child {
    position: relative;
    z-index: 1;
}

.nav-links a:hover {
    box-shadow: 0 0 0 1px var(--champaigne-gold);
    color: var(--bg-dark);
}

.nav-links a:active {
    scale: 0.95;
}

.nav-links a.active {
    scale: 0.95;
    box-shadow: 0 0 0 1px var(--champaigne-gold);
    color: #ffffff;
}

.nav-links a:hover span:last-child {
    width: 150px;
    height: 150px;
    opacity: 1;
}

/* Book button on far right */
.nav-btn {
    margin-left: auto;
    background: none;
    border: 2px solid var(--champaigne-gold);
    color: var(--champaigne-gold);
    padding: 25px 15px;
    border-radius: 7px;
    border-width: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
    line-height: 1.3rem;
    font-weight: 600;
}

.nav-btn:hover {
    background: var(--champaigne-gold);
    color: var(--bg-primary);
}

/* Hamburger + logo styling */
.nav-hamburger {
    /* display: none; */
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--champaigne-gold);
    cursor: pointer;
    border: 1px solid;
    border-radius: 5px;
    margin-left: 7px;
    padding: 5px 10px 5px 10px;
}

.nav-logo img {
    max-width: 100px;
}

/* Modal overlay */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    /* overlay */
    display: none;
    /* hidden by default */
    z-index: 1000;
}

body.modal-open {
    overflow: hidden;
    /* disables scrolling */
    height: 100%;
    /* ensures no scrollbars */
}

/* Modal content */
.modal-content {
    background-color: var(--bg-primary);
    color: var(--champaigne-gold);
    height: 100vh;
    max-width: 50%;
    /* desktop */
    width: 100%;
    /* tablet/mobile */
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* vertical center */
    align-items: center;
    /* horizontal center */
    overflow-y: auto;
    /* enable vertical scroll */
}

.modal-header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background: var(--deep-black);
    color: var(--champaigne-gold);
    border-bottom: 4px solid var(--bg-primary);
}

/* Close button */
.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--champaigne-gold);
    cursor: pointer;
}

.close-reservation {
    color: #fff;
}

.nav-modal-logo {
    text-align: center;
}

.nav-modal-logo a img {
    max-width: 140px;
}

/* Links inside modal */
.nav-modal-links a {
    display: block;
    margin: 15px 0;
    font-size: 1.2rem;
    color: var(--champaigne-gold);
    text-decoration: none;
    font-size: 30px;
    font-family: 'Great Vibes1', cursive;
}

#reservations-modal-content,
#rights-modal-content {
    justify-content: start !important;
    align-items: start;
    max-width: 60%;
}

#reservations-modal-content {
    align-items: center;
}

#nav-modal-content {
    background-color: var(--bg-dark);
}

.rights-grid {
    padding: 0px 10px 10px 10px;
}

.rights-grid ul li {
    line-height: 1.4rem;
}

.reservation-grid {
    display: flex;
    gap: 20px;
    /* reduce spacing between calendar and form */
    margin: 10px;
    /* outer margin */
    padding-right: 20px;
    /* no inner padding */
    width: 100%;

    padding-top: 20px;
}

.reservation-calendar {
    flex: 0;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
}

/* Override Flatpickr defaults */
.flatpickr-calendar {
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none;
    /* optional: remove drop shadow */
    border: none;
    /* optional: remove border */
}

/* Flatpickr inner containers */
.flatpickr-days,
.flatpickr-months,
.flatpickr-innerContainer {
    margin: 0 !important;
    padding: 0 !important;
}

/* Loader hidden by default */
.btn-loader {
    margin-left: 8px;
}

/* Alerts */
.form-alert {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    display: none;
}

.form-alert.success {
    background-color: #d4edda;
    color: #155724;
}

.form-alert.error {
    background-color: #f8d7da;
    color: #721c24;
}

.form-alert div {
    margin-bottom: 4px;
}

.reservation-form,
.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    height: 48px;
    /* fixed height for consistency */
    box-sizing: border-box;
    /* include padding/border in width/height */
    padding: 0 40px 0 12px;
    /* space for icon */
    border: 1px solid #ccc;
    background: var(--bg-dark);
    font-size: 16px;
    line-height: 1.2;
    padding-top: 12px;
    color: #ccc;
}

input:focus,
textarea:focus,
select:focus {
    border-radius: 0 !important;
    /* force square corners */
    outline: none;
    /* remove browser glow */
    border: 2px solid var(--bronze-gold);
    /* your custom focus border */
}

/* Label starts inside */
.input-group label {
    position: absolute;
    left: 12px;
    top: 16px;
    color: #888;
    font-size: 16px;
    transition: 0.2s ease all;
    pointer-events: none;

}

/* Float label when focused or filled */
.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label,
.input-group textarea:focus+label,
.input-group textarea:not(:placeholder-shown)+label,
.input-group select:focus+label,
.input-group select:valid+label {
    top: 5px;
    left: 8px;
    font-size: 12px;
    /* color: #333; */
    padding: 0 4px;
}

/* Icon styling */
.input-group .icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

/* Remove default select arrows */
.input-group select {
    -webkit-appearance: none;
    /* Safari/Chrome */
    -moz-appearance: none;
    /* Firefox */
    appearance: none;
    /* Standard */
    background: var(--bg-dark);
    /* keep consistent background */
    padding: 18px 13px 8px 10px;
    /* space for custom icon */
    border: 1px solid #ccc;
    font-size: 16px;
}

/* Hide IE arrow */
.input-group select::-ms-expand {
    display: none;
}

.error-message {
    display: none;
    color: red;
    font-size: 12px;
    margin-top: 4px;
}

/* Show error when invalid */
.input-group.invalid .error-message {
    display: block;
}

.submit-btn {
    border: none;
    cursor: pointer;
    padding: 15px;
    border-radius: 9px;
}

.about-logo {
    width: 100%;
    text-align: center;
}

.about-content {
    font-family: 'poppins', cursive;
    font-size: 20px;
}

.about-logo img {
    max-width: 200px;
}

/* Override Flatpickr defaults */
.flatpickr-calendar {
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none;
    /* optional: remove drop shadow */
}

.flatpickr-calendar.inline {
    left: 10px !important;
}

/* Month & Year header */
.flatpickr-months {
    background: var(--color-charcoal-black);
    color: var(--color-champagne-gold);
    border-radius: 8px 8px 0 0;
    padding: 8px;
}

.flatpickr-month {
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
}

/* Navigation arrows */
.flatpickr-prev-month,
.flatpickr-next-month {
    color: var(--color-champagne-gold);
    transition: color 0.3s ease;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    color: var(--color-royal-gold);
}

/* Weekdays row */
.flatpickr-weekdays {
    background: var(--color-charcoal-black);
    color: var(--color-ivory-cream);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Individual days */
.flatpickr-day {
    border-radius: 6px;
    transition: background 0.3s ease, color 0.3s ease;
}

.flatpickr-day:hover {
    background: var(--color-champagne-gold);
    color: var(--color-charcoal-black);
}

/* Selected day */
.flatpickr-day.selected {
    background: var(--color-royal-gold);
    color: var(--color-midnight-black);
    font-weight: bold;
}

/* Today’s highlight */
.flatpickr-day.today {
    border: 2px solid var(--color-royal-gold);
    color: var(--color-royal-gold);
}

/* Disabled past days */
.flatpickr-day.disabled {
    color: var(--color-smoke-grey);
    background: transparent;
    cursor: not-allowed;
}



.admin-reservations-page .side-item,
.admin-contact-page .side-item,
.admin-menu-page .side-item,
.admin-register-page .side-item,
.admin-login-page .side-item,
.admin-password-forgot-page .side-item,
.admin-password-reset-page .side-item {
    background: #eee;
    align-items: start;
    justify-content: start;
    /* padding: 10px; */
    height: auto;
    justify-content: center;
}

.admin-sidebar {
    width: 100%;
    /* adjust width */
    background-color: #757d87;
    /* navbar background */
    border-radius: 6px;
    overflow: hidden;
}

.admin-sidebar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.admin-sidebar li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-sidebar li:last-child {
    border-bottom: none;
}

.admin-sidebar a {
    display: block;
    padding: 12px 16px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.admin-sidebar a:hover {
    background-color: #57585a;
    /* hover color */
    padding-left: 24px;
    /* subtle slide effect */
}

.admin-sidebar a.active {
    background-color: #57585a;
    /* hover color */
    padding-left: 24px;
    /* subtle slide effect */
}

.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 999px;
    /* fully rounded pill shape */
}

.badge-all {
    background-color: #17a2b8;
    color: #fff;
}

/* Pending / New */
.badge-pending {
    background-color: #ffc107;
    /* Bootstrap warning (yellow/orange) */
    color: #212529;
    /* dark text for contrast */
}

/* Confirmed */
.badge-confirmed {
    background-color: #28a745;
    /* Bootstrap success (green) */
    color: #fff;
    /* white text */
}

/* Rejected */
.badge-rejected {
    background-color: #dc3545;
    /* Bootstrap danger (red) */
    color: #fff;
    /* white text */
}

/* Cancelled */
.badge-cancelled {
    background-color: #6c757d;
    /* Bootstrap secondary (gray) */
    color: #fff;
    /* white text */
}

.admin-page-content {
    flex: 3 !important;
    overflow-y: scroll;
}

.admin-page-content .side-item {
    border-radius: 0px;
    padding: 10px 10px;
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
}

.admin-item-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #4b4b4b;
}



.table-filters {
    display: flex;
    gap: 5px;
}

.table-filters input,
.table-filters select {
    padding: 4px;
}

.table-filters button {
    padding: 4px 20px;
    background-color: var(--bg-primary);
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.table-filters button:hover {
    background-color: #4b4b4b;
}

.table-container {
    width: 100%;
    overflow-x: auto;
    margin-top: 10px;
}

.responsive-table {
    width: 100%;
    border-collapse: collapse;
}

.responsive-table thead {
    background-color: #343a40;
    /* dark background */
    color: #fff;
    /* white text for contrast */
}

.responsive-table th {
    padding: 10px 12px;
    border-radius: 4px 4px 0 0;
    /* rounded top corners */
}

.responsive-table th,
.responsive-table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
}

.responsive-table td {
    color: #343a40;
}

.pagination {
    display: flex;
    justify-content: center;
    /* centers horizontally */
    align-items: center;
    /* aligns vertically if needed */
    gap: 6px;
    margin: 20px auto;
    /* auto margins center the block itself */
    width: 100%;
    /* ensures it spans the table width */
}

.pagination a {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #343a40;
    transition: background-color 0.2s ease;
}

.pagination a:hover {
    background-color: #f1f1f1;
}

.pagination a.active {
    background-color: #343a40;
    color: #fff;
    font-weight: bold;
    cursor: default;
}

.pagination a.prev,
.pagination a.next {
    font-weight: bold;
}

/* Action buttons row */
.action-buttons {
    display: flex;
    gap: 6px;
}

.btn-action {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: #fff;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

/* Tooltip */
.btn-action[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    /* above the button */
    left: 50%;
    transform: translateX(-50%);
    background: #343a40;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    font-size: 0.8em;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.btn-action[data-tooltip]:hover::after {
    opacity: 1;
}

/* Specific colors */
.btn-edit {
    background-color: #17a2b8;
}

.btn-edit:hover {
    background-color: #117a8b;
}

.btn-confirm {
    background-color: #28a745;
}

.btn-confirm:hover {
    background-color: #1e7e34;
}

.btn-reject {
    background-color: #dc3545;
}

.btn-reject:hover {
    background-color: #bd2130;
}

.btn-cancel {
    background-color: #6c757d;
}

.btn-cancel:hover {
    background-color: #5a6268;
}

.btn-restore {
    background-color: #ffc107;
    color: #212529;
}

.btn-restore:hover {
    background-color: #e0a800;
}

.reservation-action-overlay,
.main-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    /* 🔑 start hidden */
    z-index: 999;
    /* flex centering */
    align-items: center;
    justify-content: center;
}

.reservation-action-container,
.main-modal-container {
    background: #fff;
    max-width: 450px;
    width: 90%;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: none;
    /* 🔑 start hidden */
}

.reservation-action-header,
.main-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 16px;
    border-bottom: 1px solid #eee;
    color: var(--bg-dark);
    background: #f9f9f9;
}

.reservation-action-close,
.main-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
}

.reservation-action-body,
.main-modal-body {
    padding: 16px;
    color: var(--bg-dark);
}

.reservation-action-body p,
.main-modal-body p {
    margin-bottom: 12px;
}

.comment-label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.reservation-action-body textarea {
    width: 100%;
    min-height: 80px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    box-sizing: border-box;
    padding: 8px;
    /* ✅ ensures padding + border stay inside width */
}

.reservation-action-buttons,
.main-modal-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.reservation-action-info {
    background: #f9f9f9;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 4px;
    font-size: 0.9rem;

}

.reservation-action-info p {
    margin: 4px 0;
}

#action-comments-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

#action-comments-list li {
    margin-bottom: 10px;
    padding: 6px;
    border-bottom: 1px solid #eee;
}

#action-comments-list em {
    color: #555;
    font-size: 0.85rem;
}

#action-comments-list .comment-text {
    display: block;
    font-size: 0.9rem;
    /* 🔑 refined font size */
    margin-top: 4px;
    color: #333;
}

/* .btn-primary {
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    background: #007bff;
    color: #fff;
    cursor: pointer;
}

.btn-secondary {
    padding: 8px 14px;
    border: none;
    border-radius: 4px;
    background: #ccc;
    color: #333;
    cursor: pointer;
} */

/* .action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
} */

/* .btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 0.9em;
    cursor: pointer;
    color: #fff;
    transition: background-color 0.3s ease;
} */

.btn-secondary {
    cursor: pointer;

    width: 100%;
    padding: 12px;
    background-color: #ccc;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.login-link-wrapper {
    margin-top: 15px;
    /* adds space above the link */
    text-align: center;
    /* optional: center the link */
}

.login-link {
    font-size: 0.9em;
    color: #007bff;
    /* bootstrap blue */
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}

/* Responsive: full width on tablet/mobile */
@media (max-width: 1024px) {
    .nav-modal-content {
        max-width: 100%;
    }

    .reservations-modal-content {
        max-width: 100%;
    }
}

/* Desktop (≥1025px) */
@media (min-width: 1025px) {
    .navbar {
        position: absolute;
        /* sits inside hero */
        top: 30px;
        /* Ensure navbar appears to be inside hero-grid */
        left: 30px;
        /* Ensure navbar appears to be inside hero-grid */
        /* width: 40%;  ✅ half width of hero */
        width: 70%;
        /* descresed widthsince we increased left from 10px to 20px */
        margin: 0;
        /* no extra margin */
    }

    .about-page .navbar,
    .contact-page .navbar,
    .menu-page .navbar {
        width: 45%;
    }

    .admin-reservations-page .navbar,
    .admin-contact-page .navbar,
    .admin-menu-page .navbar,
    .admin-register-page .navbar,
    .admin-login-page .navbar,
    .admin-password-forgot-page .navbar,
    .admin-password-reset-page .navbar {
        position: relative;
        /* sits above hero/container */
        width: 100%;
        /* ✅ full width */
        margin: 0;
        /* zero margin */
        border-radius: 0;
        /* flush edge look */
        top: 0px;
        left: 0px;
    }
}

.food-menu-link {
    text-decoration: none;
}

/* Tablet (768px–1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .navbar {
        position: relative;
        /* sits above hero/container */
        width: 100%;
        /* ✅ full width */
        margin: 0;
        /* zero margin */
        border-radius: 0;
        /* flush edge look */
    }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
    .navbar {
        position: absolute;
        /* inside hero again */
        top: 20px;
        /* left: 10px; */
        left: 20px;
        right: 20px;
        /* Ensure left and right are even*/
        /* width: 100%; */
        /* ✅ full width on mobile */
        margin: 0;
        border-radius: 15px;
        /* Added border radius to be even with hero-grid */
        z-index: 10;
        /* optional: keep flush edges */
    }

    .admin-reservations-page .navbar,
    .admin-contact-page .navbar,
    .admin-menu-page .navbar,
    .admin-register-page .navbar,
    .admin-login-page .navbar,
    .admin-password-forgot-page .navbar,
    .admin-password-reset-page .navbar {
        position: relative;
        /* sits above hero/container */
        width: 100%;
        /* ✅ full width */
        margin: 0;
        /* zero margin */
        border-radius: 0;
        /* flush edge look */
        top: 0px;
        left: 0px;
    }
}

/* Container */
.container {
    display: flex;
    height: 100%;
    gap: 15px;
    /* even spacing between hero and side grid */
    padding-top: 10px;
}

/* Hero Grid */
.hero-grid {
    flex: 3;
    /* 75% width on md+ screens */
    position: relative;
    min-height: 90vh;
    /* desktop hero height */
    background: url('../img/hero-desktop-landscape.png') center/cover no-repeat;
    display: flex;
    align-items: flex-end;
    border-radius: 20px;
    /* animation: bgMove 40s infinite alternate ease-in-out; */
    animation: bgZoom 10s infinite alternate ease-in-out;
}

@keyframes bgZoom {
    0% {
        background-size: 100%;
    }

    50% {
        background-size: 110%;
    }

    100% {
        background-size: 100%;
    }
}

@keyframes bgMove {
    0% {
        background-position: center;
    }

    25% {
        background-position: top right;
    }

    50% {
        background-position: bottom center;
    }

    75% {
        background-position: left top;
    }

    100% {
        background-position: center;
    }
}

@keyframes moveAround {
    0% {
        transform: scale(1.05) translate(0, 0);
    }

    25% {
        transform: scale(1.1) translate(-10px, 5px);
    }

    50% {
        transform: scale(1.05) translate(10px, -5px);
    }

    75% {
        transform: scale(1.1) translate(-5px, -10px);
    }

    100% {
        transform: scale(1.05) translate(0, 0);
    }
}

/* Base styles for hero-grid */
.menu-page .hero-grid {
    flex: 1 !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    /* Optional: add a default background here */
}

/* Background changes based on body class */
body.food-bg .hero-grid {
    background-image: url('../img/vanta-food.jpg');
}

body.wines-bg .hero-grid {
    background-image: url('../img/vanta-wines.jpg');
}

body.drinks-bg .hero-grid {
    background-image: url('../img/vanta-drinks.jpg');
}


.about-page .hero-grid,
.contact-page .hero-grid {
    flex: 1 !important;
    background: url('../img/hero-mobile.png') center/cover no-repeat;
}

.about-page .side-grid .side-item,
.contact-page .side-grid .side-item {
    align-items: start;
    justify-content: center;
    padding: 10px 15px 0px 15px;
    flex-direction: column;
}

.contact-page .side-grid .side-item {
    align-items: start;
    justify-content: start;
    overflow-y: scroll;
}

/* Overlay gradient */
.hero-overlay {
    position: absolute;
    inset: 0;
    /* covers entire hero */
    background: linear-gradient(to bottom,
            rgba(16, 41, 35, 0) 0%,
            /* transparent at top */
            var(--bg-primary) 100%
            /* solid background at bottom */
        );
    pointer-events: none;
    /* overlay doesn’t block clicks */
}

/* Hero content sits above overlay */
.hero-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 1;
}

.hero-content h1 {
    font-size: 4.8rem;
}

.hero-content p {
    /* font-family: 'Great Vibes', cursive; */
    font-size: larger;
    font-weight: 600;
}

.hero-content p span {
    /* font-family: 'Great Vibes', cursive; */
    color: #fff;
}

.hero h1 {
    font-size: 1.8rem;
    margin: 0;
    background: rgba(0, 0, 0, 0.4);
    /* overlay for readability */
    padding: 10px;
    border-radius: 4px;
}

/* Side Grid */
.side-grid {
    flex: 1;
    /* 25% width on md+ screens */
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* removed height:100% to avoid empty space on mobile */
}

.side-item {
    flex: none;
    height: calc((100% - 20px) / 3);
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    /* keeps zoomed image clipped */
    border-radius: 20px;
}

.menu-page .side-item,
.about-page .side-item {
    height: calc((100% - 20px) / 1) !important;
}

.menu-page .side-item {
    align-items: start;
    justify-content: start;
    display: flex;
    flex-direction: column;
    display: flex;
    flex-direction: column;
    overflow-y: scroll;
}


.menu-item {
    background-color: #eee;
    padding: 20px;
    width: 100%;
    border-bottom: 1px dotted var(--champaigne-gold);
    display: flex;
    gap: 20px;
}

.menu-item-photo {
    max-width: 150px;
}

.menu-page .message-actions {
    margin-right: 35px;
}

.side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    /* animation: moveAround 12s infinite alternate ease-in-out; */
    /* smooth zoom */
}

.side-item:hover img {
    transform: scale(1.1);
    /* zoom only the image */
}




/* V1 */
/* .side-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    padding: 10px 20px;
    background-color: var(--bg-primary);
    color: var(--champaigne-gold);
    border: none;
    border-radius: 50px 0 0 0;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 9;
    min-width: 50%;
} */

/* V1 */
/* .side-btn {
    position: absolute;
    padding: 10px 20px;
    transform: translateX(0%);
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffdaa1;
    border: none;
    border-radius: 4px 0 0 0;
    font-size: 1.125rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 9;
    min-width: 50%;
}

.side-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
} */

.side-btn {
    position: absolute;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.4);
    color: #ffdaa1;
    border: none;
    border-radius: 4px;
    font-size: 1.125rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    /* center content by default */
    gap: 8px;
    z-index: 9;
    min-width: 50%;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.side-btn .food-icon {
    width: 24px;
    color: #fff;
    transform: translateX(-40px) rotate(-90deg);
    /* hidden off-screen */
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
        opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.side-btn .text {
    position: relative;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.side-btn:hover .food-icon {
    transform: translateX(0) rotate(0deg);
    /* slide in + rotate */
    opacity: 1;
}

.side-btn:hover .text {
    transform: translateX(8px);

    /* nudge text slightly to make space */
}

.side-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.contact-hero h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: var(--champaigne-gold);
}

.contact-hero h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--champaigne-gold);
}

.contact-hero p {
    margin: 5px 0;
    font-size: 1rem;
    color: var(--champaigne-gold);
}

.contact-hero i {
    margin-right: 8px;
    color: var(--champaigne-gold);
}

.contact-hero .hero-time {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px;
    border-radius: 5px;
}

.info-line {
    display: flex;
    /* icon + text side by side */
    align-items: flex-start;
    /* align icon to top of text block */
    margin: 0 0 1rem 0;
    /* spacing between lines */
}

.info-line i {
    margin-right: 8px;
    /* space between icon and text */
    flex-shrink: 0;
    /* prevent icon from shrinking */
}

.info-text {
    display: inline-block;
    /* keeps text flowing normally */
    line-height: 1.4;
    /* nice readable spacing */
    color: var(--champaigne-gold) !important;
}

.contact-time {
    color: #fff !important;
    /* highlight color */
    font-weight: 100;
    /* optional emphasis */
}

.contact-info {
    background-color: rgba(212, 180, 131, 0.34);
    padding: 10px;
    margin-top: 10px;
    border-radius: 10px;
    line-height: 1.3rem;
}

.contact-info p,
.contact-info p i {
    color: #fff;
}

.contact-info p {
    display: flex;
    align-items: flex-start;
    font-weight: lighter;
}

.contact-info p i {
    margin-right: 8px;
    /* space between icon and text */
}



/* Social icons */
.social-icons a {
    display: inline-block;
    margin-right: 12px;
    color: gold;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--champaigne-gold);
}

.contact-side h2 {
    margin-bottom: 15px;
    color: var(--champaigne-gold);
    font-size: 1.4rem;
}

.form-item {
    flex: 1;
}

/* Flex row for name + email */
.form-row {
    display: flex;
    gap: 20px;
    /* spacing between fields */
}

/* Make inputs share space evenly */
.form-row .input-group {
    flex: 1;
}

.map-item {
    flex: 1;
}

.form-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

    width: 100%;
    /* allow it to shrink */
    max-width: 450px;
    /* cap at 450px */
    box-sizing: border-box;
    /* include padding in width calc */
}

.form-content h2 {
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 6px;
    font-weight: 600;
    color: #444;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.95rem;
}

.admin-register-page .container,
.admin-login-page .container,
.admin-password-forgot-page .container,
.admin-password-reset-page .container {
    display: flex;
    height: 100%;
    gap: 15px;
    padding-top: 10px;
    align-items: start;
    justify-content: center;
    overflow-y: scroll;
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.admin-nav-link-container {
    margin-top: 20px;
}

.contact-form-admin-btn {
    display: flex;
    flex-direction: row;
    /* default, but explicit */
    justify-content: space-between;
    /* pushes one left, one right */
    align-items: center;
    /* vertical alignment */
    margin-top: 20px;
    /* optional spacing above */
    width: 100%;
}


.message-card {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.message-card-read {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 15px;
    background: #dedede;
    display: flex;
    flex-direction: column;
}

.message-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-style: italic;
    color: #555;
}

/* Content row: message left, actions right */
.message-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.message-body {
    flex: 1;
    /* take most of the width */
    color: #333;
}

.message-subject {
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: bold;
    color: #000;
}

.message-actions {
    flex: 0;
    /* fixed width for actions */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.message-status-toggle {
    margin-right: 6px;
}

.archive-btn,
.delete-item-btn {
    padding: 6px 12px;
    border: none;
    background: #dc3545;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.archive-btn:hover,
.delete-item-btn:hover {
    background: #c82333;
}

.unarchive-btn,
.edit-item-btn {
    padding: 6px 12px;
    border: none;
    background: #35bddc;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}

.unarchive-btn:hover,
.edit-item-btn:hover {
    background: #189dbe;
}

#clear-menu-form-btn {
    display: none;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 767px) {
    .message-content {
        flex-direction: column;
        align-items: stretch;
    }

    .message-actions {
        align-items: flex-start;
        flex: unset;
    }
}

/* Responsive Rules */

/* Between 768px and 1024px */
@media (max-width: 1024px) and (min-width: 768px) {
    body {
        overflow-y: auto;
        /* enable scroll only on small screens */
    }

    .container {
        flex-direction: column;
    }

    .admin-register-page .container,
    .admin-login-page .container,
    .admin-password-forgot-page .container,
    .admin-password-reset-page .container {
        flex-direction: row;
    }

    .hero-grid,
    .side-grid {
        flex: none;
        width: 100%;
    }

    .hero-grid {
        /* background: url('../img/hero-tablet.png') center/cover no-repeat; */
        min-height: 78vh;
        /* hero shrinks slightly on tablet */
    }

    .side-grid {
        flex-direction: row;
        /* ✅ remove height:100% here so no extra space */
        max-height: 20vh;
        /* cap the whole row */
    }

    .menu-page .side-grid {
        max-height: 50vh;
    }

    .admin-reservations-page .side-grid,
    .admin-contact-page .side-grid,
    .admin-menu-page .side-grid,
    .admin-register-page .side-grid,
    .admin-login-page .side-grid,
    .admin-password-forgot-page .side-grid,
    .admin-password-reset-page .side-grid {
        max-height: 100%;
    }

    .about-page .side-grid,
    .contact-page .side-grid {
        max-height: 100vh;
    }

    .side-item {
        flex: 1;
        height: 100%;
        /* max-height: 20vh; */
        /* each item capped */
    }

    .about-page .side-item,
    .contact-page .side-item {
        max-height: 100vh;
    }

    .menu-page .side-item {
        height: auto;
        max-height: 50vh;
        /* each capped at 20vh when stacked */
    }
}



/* Below 767px */
@media (max-width: 767px) {
    body {
        overflow-y: auto;
        /* enable scroll only on small screens */
    }

    .nav-btn {
        order: 1;
        /* Book button before hamburger */
    }

    .nav-hamburger {
        /* order: 2; */
        /* hamburger pushed to far right */
        margin-left: auto;
        /* display: block; */
    }

    .nav-links {
        display: none;
    }

    .container {
        flex-direction: column;
    }

    .admin-register-page .container,
    .admin-login-page .container,
    .admin-password-forgot-page .container,
    .admin-password-reset-page .container {
        flex-direction: row;
    }

    .hero-grid {
        width: 100%;
        flex: none;
        max-height: 100vh;
        /* hero fills full viewport height without overflow */
        background: url('../img/hero-mobile.png') center/cover no-repeat;
    }

    .side-grid {
        width: 100%;
        flex: none;
        flex-direction: column;
    }

    .admin-menu-page .side-grid {
        overflow-y: inherit;
    }

    .side-item {
        height: auto;
        max-height: 40vh;
        /* each capped at 20vh when stacked */
    }



    .about-page .side-item,
    .contact-page .side-item {
        max-height: 100vh;
    }

    .menu-page .side-item {
        height: auto;
        max-height: 50vh;
        /* each capped at 20vh when stacked */
    }

    .admin-reservations-page .side-item,
    .admin-contact-page .side-item,
    .admin-menu-page .side-item,
    .admin-register-page .side-item,
    .admin-login-page .side-item,
    .admin-password-forgot-page .side-item,
    .admin-password-reset-page .side-item {
        max-height: 100% !important;
        justify-content: center;
    }

    .side-item .side-item-overlay {
        position: absolute;
        inset: 0;
        background-color: rgba(16, 41, 35, 0.3);
        transition: background-color 0.3s ease;
    }

    .side-item:hover .side-item-overlay {
        background-color: rgba(16, 41, 35, 0.1);
    }

    .side-btn {
        max-width: 65%;
    }

    .form-row {
        flex-direction: column;
        gap: 0px;
        /* reduce spacing on mobile */
    }


    .responsive-table thead {
        display: none;
        /* hide headers on mobile */
    }

    .responsive-table,
    .responsive-table tbody,
    .responsive-table tr,
    .responsive-table td {
        display: block;
        /* width: 100%; */
    }

    .responsive-table tr {
        margin-bottom: 1rem;
        border: 1px solid #ddd;
        border-radius: 6px;
        overflow: hidden;
        /* ensures background sections stay inside rounded corners */
    }

    .responsive-table td {
        display: flex;
        /* split into label + value */
        align-items: center;
        border-bottom: 1px solid #ddd;
        margin: 0;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
    }

    .responsive-table td:last-child {
        border-bottom: none;
        /* no divider for Actions */
    }

    /* Left-hand label section */
    .responsive-table td::before {
        flex: 0 0 40%;
        /* fixed width for label column */
        background-color: #f8f9fa;
        /* light grey background */
        color: #343a40;
        /* dark text for contrast */
        font-weight: bold;
        padding: 8px;
        border-right: 1px solid #ddd;
        content: attr(data-label);
        box-sizing: border-box;
    }

    /* Right-hand value section */
    .responsive-table td {
        padding: 0px;
    }

    .responsive-table td:before {
        margin-right: 5px;
        /* subtle spacing tweak for Name column */
    }

}

/* Tablet & mobile: stack vertically */
@media (max-width: 991px) {

    /* adjust breakpoint as needed */
    .reservation-grid {
        flex-direction: column;
        gap: 10px;
        /* tighter spacing when stacked */
        justify-content: center;
        align-items: center;
    }

    .reservation-calendar,
    .reservation-form,
    .contact-form {
        flex: 1 1 auto;
        width: 95%;
        margin-left: 20px;
        padding: 10px;
    }

    .contact-form {
        flex: 1 1 auto;
        width: 95%;
        margin-left: 0px;
        padding: 10px;
    }

    .modal-content {
        max-width: 100% !important;
        /* full width on tablet/mobile */
    }
}