:root {
  --pageWidth: 1280px;
  --navBarStartClr: rgba(50, 98, 116, 0);
  --brndClrOne: #2c7680;
  --brandBg: #fefefe;
  --tabBg: rgb(50, 109, 116);
  --tabText: #f3cf40;
  --tabTextActive: #103630;
  --mobileHeroNavHeight: 525px;
  --heroNavHeight: 70vh;
  --navText: #ffffff;
  --navBg: rgba(0,0,0,0.5);
  --navGrad1: rgba(0, 15, 33, 0.7);
  --navGrad2: rgba(0, 15, 33, 0);
  --displayFont: "Google Sans", italic, sans-serif;
  --displaySpacing: 0px;
  --bodyFont: "Google Sans", sans-serif;
  --posterFont: "Permanent Marker", cursive; 
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    max-width: var(--pageWidth);
    background-image: url('./img/bg_tile.svg'), linear-gradient(to bottom, oklch(0.3039 0.0441 181.07), oklch(0.3648 0.0441 181.07));
    background-size: 175px 175px, cover;
    background-repeat: repeat, no-repeat;
    background-position: center, center;
    background-attachment: fixed, fixed;
    margin: auto;
}

button {
    border-radius: .5rem;
    border: #d2d2d2 1px solid;
    cursor: pointer;
    font-family: var(--bodyFont);
    font-weight: bold;
}
button:focus {      
    outline: none;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--tabTextActive);
}
.spinner {
   margin: auto;
   width: 200px;
   height: 100px;
   background-image: url("./img/200w.webp");
   background-size: contain;
   background-position: center;
   background-repeat: no-repeat;
}
input::placeholder, textarea::placeholder, select::placeholder {
  font-family: var(--bodyFont);
}
.nav-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4rem;
    z-index: 2000;
    background-color: var(--tabBg);
    animation: nav-fade-in linear;
    animation-timeline: scroll();
    animation-range: 0 180px;
}
@keyframes nav-fade-in {
  from { background-color: var(--navBarStartClr) }
  to {background-color: var(--tabBg) }
}
.nav-bar {
    position: relative;
    display: grid;
    grid-template-columns: 5fr 1fr;
    height: 100%;
}
#nav-open-container {
    display: grid;
    place-items: end center;
    grid-column: 6;
    width: 31px;
    height:31px; 
    margin: 1rem;
    border: none;
    background: transparent;
    z-index: 19;
    cursor: pointer;  
}
#nav-open {
    position: relative;
    width: 22px;
    height: 3px;
    z-index: 20;
    border: none;
    background-color: var(--tabText);
    color: var(--tabText);
    cursor: pointer;
}
#nav-open::before {
    content: '';
    display: block;
    position: absolute; 
    width: 22px;
    height: 3px;
    background-color: var(--tabText);
    transform: translateY(-18px);
}
#nav-open::after {
    content: '';
    display: block;
    position: absolute; 
    width: 22px;
    height: 3px;
    background-color: var(--tabText);
    transform: translateY(-9px);
}
#nav-panel[popover] {
    max-width: var(--pageWidth);
    height: 100vh;
    overflow: hidden;
    border: 0px;
    margin: 0 auto;
    padding: 3.5rem 1rem 0;
    text-align: right;
    width: 100%;
    font-family: var(--displayFont);
    color: var(--navText);
    background-color: var(--navBg);
    background-image: linear-gradient(to bottom, var(--navGrad1), var(--navGrad2));
    z-index: -1;
    animation: .5s ease-out FadeIn;
}
#nav-panel[popover] ul li:not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    width: 12ch;
    height: 2px;
    right: 0;
    transform: translateY(4px);
    background-color: var(--tabText);
    cursor: default;
}
@keyframes FadeIn {
    from {opacity: 0;}
    to {opacity: 1;}    
}
#nav-panel[popover] ul li {
    opacity: 0;
    animation: .45s ease-out forwards FadeInRt;
}
@keyframes FadeInRt {
    from { transform: translateX(120px); opacity: 0;}
    to { transform: translateX(0px); opacity: 1;}
}
#nav-panel[popover] ul li:nth-child(2) { animation-delay: .1s }
#nav-panel[popover] ul li:nth-child(3) { animation-delay: .2s }
#nav-panel[popover] ul li:nth-child(4) { animation-delay: .3s }
#nav-panel[popover] ul li:nth-child(5) { animation-delay: .4s }

#nav-close {
    position: absolute;
    top: 10px;
    right: 20px;
    border: none;
    font-size: xx-large;
    background-color: rgba(0, 0, 0, 0);
    color: var(--tabText);
    cursor: pointer;
}
.menu-goaway {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0px;
    background-color: rgba(0, 0, 0, 0);
}
.nav-item {
    border: none;
    font-size: large;
    background-color: rgba(0, 0, 0, 0);
    color: var(--navText);
    cursor: pointer;
    font-size: 2rem;
    letter-spacing: 1px;
}
#nav-panel a, ul {
    width: fit-content;
    margin-left: auto;
    text-decoration: inherit;
    color: inherit;
    list-style: none;
}
#nav-panel li {
    margin: 15px 0;
    cursor: pointer;
}

.masthead {
    display: flex;
    align-items: center;
    padding: 0 1rem;
    > a {
        font-family: var(--displayFont);
        text-decoration: none;
        color: var(--tabText);
        font-size: 1rem;
        font-style: italic;
        white-space: nowrap;
        opacity: 1;
        animation: fadeOut linear;
        animation-timeline: scroll();
        animation-range: 0 150px;
    }
}
.hero {
    display: flex;
    flex-direction: column;
    justify-content: left;
    align-items: baseline;
    height: var(--mobileHeroNavHeight);
    position: relative;
    /*overflow: hidden;
    background-image: url(./img/sunset_hero_bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: bottom right;*/
}
.hero img {
    position: absolute;
    bottom: 0;
    right: 0;
}
.hero-container {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    /* margin-top: 4rem; */
}
.hero-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* filter: brightness(1.1) ; */
}
#slide-1 {
    height: auto;
    width: 180%;
    z-index: 3;
}
#slide-2 {
    width: 80vw;
    height: auto;
    z-index: 2;
    animation: saunter-in-from-right 4s cubic-bezier(0, 0, 0, 1) forwards;
}
@keyframes saunter-in-from-right {
    from { transform: translateX(5%);}
    to { transform: translateX(0%);}
}
#slide-3 {
    height: auto;
    width: 200%;
    animation: grow-in 4s cubic-bezier(0, 0, 0, 1) forwards;
}

.fixed-hero-img-container {
    position: fixed;
    width: 100%;
    max-width: var(--pageWidth);
    height: var(--mobileHeroNavHeight);
    background-color: lightblue;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: -10;
}
.fixed-hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.display-img {
    display: block;
    img {
        height: 100%;
        object-fit: cover;
    }
}
@keyframes grow-in {
    from { transform: scale(1) translateY(5%);}
    to { transform: scale(1.05) translateY(0%);}
}

@keyframes fadeOut {
    0% { opacity: 0;}
    25% { opacity: 0;}
    75% { opacity: .5;}
    100% { opacity: 1;}
}
.hero-info {
    display: block;
    margin: 10rem auto;
    text-align: center;
    font-family: var(--displayFont);
    border-radius: .5rem;
    z-index: 5;
    opacity: 0;
    animation: fadeOut reverse;
    animation-timeline: scroll();
    animation-range: 0 180px;
    animation-fill-mode: both;
}
.hero-info a {
    text-decoration: none;
    color: var(--tabText);
    font-style: italic;
    font-size: 1.5rem;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.8);
    > img {position: relative; width: 75vw; height: auto; margin: 0 auto;}
    > p {line-height: 1rem;}
}
.tab-titles{
    display: flex;
    justify-content: space-around;
    background-color: var(--tabBg);
    z-index: -20;
}
.menu-tab-titles{
    display: flex;
    justify-content: space-around;
    background-color: var(--tabBg);
    z-index: -20;
}

.essential-info {
    background-color: var(--brandBg);
    scroll-snap-type: y mandatory;
}
.essential-info a {
    text-decoration: none;
}
.tab-links {
    display: block;
    width: 100%;
    text-align: center;
    font-family: var(--displayFont);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: var(--displaySpacing);
    color: var(--tabText);
    border: none;
    border-radius: 0;
    background: none; 
    cursor: pointer;
    position: relative;
    padding: 10px 0;
    z-index: 1;
}
.tab-links::after{
    content: '';
    width: 100%;
    height: 0%;
    background: var(--brndClrOne);
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.2s ease-in-out;
}
.tab-links.active-link {
    display: none;
    color: var(--tabText);
    background-color: var(--brndClrOne);
}
.tab-links.active-link::after{
    height: 100%;
}
.tab-contents{
    display: none;
}
.tab-contents.active-tab{
    display: block;
    padding-bottom: 1rem;
    scroll-margin-top: 4rem;
}

.tab-buttons {
    position: sticky;
    top: 4rem;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max-content;
    background-color: var(--tabBg);
    overflow-x: scroll;
    scrollbar-width: none;
    z-index: 100;
    box-shadow: 0px 3px 0px lightgray;
}

.tab-button{
    text-align: center;
    font-family: var(--bodyFont);
    font-size: 16px;
    font-weight: 600;
    white-space: no-wrap;
    border: none;
    border-radius: 0;
    background: none;
    color: var(--tabText);
    cursor: pointer;
    padding: 1rem 1.16rem;
    z-index: 1;
}
.tab-button.active{
    background-color: var(--brandBg);
    color: var(--tabTextActive);
    font-weight: 800;
}
.tab-button::after{
    content: '';
    width: 100%;
    height: 0%;
    background: var(--brndClrOne);
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: -1;
    transition: 0.2s ease-in-out;
}
.tab-button.active-link::after{
    height: 100%;
    color: var(--tabTextActive);
}
.menu-tab-contents{
    display: none;
}
.menu-tab-contents.active-tab{
    display: block;
}
.menu-tab-contents{
	display: none;
}
.menu-tab-contents.active-tab{
	display: block;
}
.nav-btn {
    display: none;
}
#open-close {
    height: 5rem;
    margin: 1rem;
    > a, p {
        display: block;
        text-align: center;
        font-family: var(--displayFont);
        letter-spacing: var(--displaySpacing);
        color: var(--brndClrOne);
        font-size: 1.8rem;
        font-weight: 500;
        animation: fadeIn 0.3s ease-in-out;
    }
}
.home-content {
    padding: 1rem;
    a { cursor: pointer;}
    img {width:100%; margin: 2rem 0;}
    p {
        font-family: var(--bodyFont);
        font-size: 1.2rem;
        line-height: 2rem;
    }
}
.tagline {
    display: grid;
    place-items: center;
    padding: 4rem 1rem;
    color: var(--tabText);
    font-family: var(--posterFont);
    font-size: 2.5rem;
    line-height: 2.5rem;
    text-align: center;
    background-image: url('./img/OrnateFloralTile.svg'), linear-gradient(to bottom, oklch(56.888% 0.1004 178.928), oklch(59.759% 0.09587 179.488));
    background-size: calc(40.5px * 4) calc(56px * 4), cover;
    background-repeat: repeat, no-repeat;
    background-position: center, center;
}
.tagline-text{
    grid-column: 1;
    grid-row: 1;
    display: block; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); 
    opacity: 0;
    transform: translateY(50px);
    transition: all .5s ease-in-out;
}
.about-content {
    display: grid;
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
    .display-img { width: 100%; }
    img {width:100%;}
    p {
        font-family: var(--bodyFont);
        font-size: 1.2rem;
        line-height: 2rem;
    }
}
/* Menu Formatting */

.tab-contents ul li{
    list-style: none;
    margin: 10px 10%;
}
.tab-contents ul li span{
    color: var(--brndClrOne);
    font-size: 1rem;
    font-weight: 500;
    line-height: 2rem;
}
.tab-contents h2 {
    font-family: var(--displayFont);
    letter-spacing: var(--displaySpacing);
    color: var(--brndClrOne);
    text-align: center;
    margin: 2rem;
}

#hours {
    max-width: 400px;
    min-height: 60vh;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
}
#hours ul li{
    display: flex;
    justify-content: space-between;
    font-family: var(--bodyFont);    
}
#hours span {
    font-family: var(--displayFont);
    font-size: larger;
}
/* Menu Login Page */
.login-form, .add-item-form, .edit-item-form, .delete-item-form {
    display: flex;
    flex-direction: column;
    /* justify-content: space-around; */
    gap: 1rem;
    max-width: 400px;
    height: fit-content;
    margin: auto;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: #0e0e0e55 0px 3px 10px;
    background-color: whitesmoke;
}
.login-form h2, .delete-item-form h2 {
    margin: 0;
}
textarea {
    min-height: fit-content;
}
option {
    background-color: #eeeeee;
}
.login-form input, .add-item-form input, .add-item-form select, .add-item-form option, .add-item-form textarea, .edit-item-form input, .edit-item-form select, .edit-item-form textarea, .delete-item-form input, .delete-item-form select, .delete-item-form textarea {
    width: min(100%);
    padding: 1rem;
    border-radius: .5rem;
    border: #d2d2d2 1px solid;
    box-shadow: inset 0px 1px 3px lightgray;
    font-family: var(--bodyFont);
}
.login-form label, .add-item-form label, .edit-item-form label, .delete-item-form label , .delete-item-form :is(h2, h3){
    font-family: var(--displayFont);
    letter-spacing: var(--displaySpacing);
}
.delete-item-form p {
    font-family: var(--bodyFont);
}
.form-input-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: var(--bodyFont);
}

#add-image-ui-container, #edit-image-ui-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    font-family: var(--bodyFont);
}
#add-image-ui-container li, #edit-image-ui-container li {
    display: flex;
    flex-direction: column;
    grid-row: 1 / span 2;
    grid-column: 1;
    justify-content: center;
    align-items: center;
    font-family: var(--bodyFont);
}
#add-image-ui-container ul, #edit-image-ui-container ul {
    display: grid;
    grid-row: 1 / span 2;
    justify-content: center;
    justify-items: center;
}
#editImageThumb {
    grid-row: 1 / span 2;
    grid-column: 1;
    margin: 0 auto;
}
#addFileSelect button, #editFileSelect button {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    height: fit-content;
}
#removeButton {
    grid-column: 2;
    grid-row: 2;
    margin: auto;
    width: 100%;
    height: fit-content;
}
#addFileMessage {
    grid-column: 1;
    grid-row: 1;
}
#fileElem {
    display: none;
}

.primary-btn {
    color: var(--tabText);
    background-color: var(--tabBg);
}
.primary-btn:hover {
    background-color: var(--tabTextActive);
}
.secondary-btn:hover, .secondary-btn:focus, .secondary-btn:active {
    background-color: var(--brandBg);
}
.tertiary-btn {
    padding: .7rem;
}
footer {
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(to right, color-mix(in srgb, var(--brndClrOne), transparent 3%), color-mix(in srgb, var(--brndClrOne), transparent 60%)), url(./img/hero_BG.webp);
    
}
.footer-contents {
    padding: 4rem 2rem;
    font-family: var(--bodyFont);
    color: var(--tabText);
}
.footer-logo {
    height: fit-content;
    padding: 1px;
    margin-bottom: 1.5rem;
    > a { filter: drop-shadow( 5px 5px 3px var(--brndClrOne)); text-decoration: none; color: inherit; text-align: center; font-size: 1.3rem; font-style: italic; line-height: 1.4rem;}
    > a > img { display: block; width:250px; margin: 0 auto; }
}
.footer-disclaimer {
    margin: 1rem;
    text-align: center;
    > p { font-family: var(--displayFont); font-size: .8rem; color: var(--tabText);}
    > a > img {height: 1.5rem; width: auto; margin: .5rem;}
}
.social-links > ul {
    display: flex;
    flex-direction: row;
}
.social-links {
    margin: 1rem auto;
    display: grid;
    grid-template-columns: auto auto auto;
    column-gap: 1rem;
    width: fit-content;
}
#address {
    width: fit-content;
    margin: auto;
}
.social-links  {
   > svg, a, button {
        fill: var(--brandBg);
        height: 35px;
        width:35px;
        opacity: 1;
        border-radius: .5rem;
        transition: .1s ease-in-out;
    }
}
.social-links > svg:hover {
    fill: var(--tabText);
    height: 35px;
    width:35px;
    opacity: 1;
}
.menu-section-title {
    font-family: var(--displayFont);
    letter-spacing: var(--displaySpacing);
    color: var(--brndClrOne);
    font-weight: 400;
    text-align: center;
    margin: 2rem;
}
/* section:has(.item-wrapper:hover) .item-wrapper:not(:hover) {
    background-image: repeating-linear-gradient(white, white 3px,  #fafafa 3px, #fafafa 6px); 
}*/
.item-wrapper {
    margin: 0 .2rem .5rem 0;
    border-radius: 1em;
    border: 0px;
    /* box-shadow: 3px 5px 10px lightgray; */
    padding: .8rem 0;
    background-color: white;
}
.item-wrapper-2 {
    margin: 0 1% .5rem 1%;
    border-radius: 1em;
    border: 0px;
    box-shadow: 3px 5px 10px lightgray;
    padding: .8rem;
    background-color: white;
}
.menu-card-content {
    display: grid; 
    grid-template-columns: .125fr 2fr 2fr 1fr;
    grid-template-rows: auto auto;
    justify-content: space-between;
}
.item-number {
    grid-row: 1 / span 2;
    grid-column: 1;
    margin: auto;
    padding-right: .2rem;
    font-family: var(--displayFont);
    font-size: 1.2rem;
    letter-spacing: var(--displaySpacing);
    color: var(--brndClrOne);
    font-weight: 700;
    text-align: center;
}
.name {
    display: inline-block;
    vertical-align: middle;
    padding: .5rem;
    font-family: var(--displayFont);
    letter-spacing: var(--displaySpacing);
    color: var(--tabTextActive);
    font-weight: 800;
    grid-row-start: 1;
    grid-column: 2 / span 2 ;
    font-size: 1.3rem;
}
.description {
    display: inline-block;
    font-family: var(--bodyFont);
    vertical-align: middle;
    grid-row-start: 2;
    grid-column: 2 /span 3;
    padding: 0 .2rem 0 .5rem;
}
.price {
    display: inline-block;
    vertical-align: middle;
    grid-row-start: 1;
    grid-column: 4 / span 2;
    font-family: var(--displayFont);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--tabTextActive);
    text-align: right;
    padding: .2rem;
}
.menu-item-thumb-container {
    display: flex;
    margin: auto;
    justify-items: center;
    align-items: center;
    height: 90px;
    width: 150px;
    border-radius: .5rem;
    overflow: hidden;
    /* grid-column-start: 2; */
    grid-column: 2;
}

.photo-thumb {
    width: 100%;
    height: auto;
}
.actions {
    display: flex;
    flex-direction: column;
    grid-column-start: 3;
    justify-content: space-between;
    width: 80px;
    margin-left: .5rem;
    margin-right: 0;
}
.actions button {
    width: 100%;
}
.form-popup-wrapper {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    justify-items: center;
    background-color: rgba(0, 0, 0, .5);
    z-index: 1000;
}
#edit-category option {
    text-transform: capitalize;
}
#message {
    text-align: center;
    font-family: var(--displayFont);
    color: var(--brndClrOne);
    animation: go-away delay 2s forwards;
}
.view-image h3 {
    font-family: var(--displayFont);
    color: var(--brndClrOne);
    text-align: center;
    margin: 1rem;
}
.view-image img {
    width: 100%;
    height: auto;
}
.view-image:popover-open {
    border-radius: 1rem;
    border: 4px var(--tabBg) solid;
    margin: auto;
    width: 95%;
}
.view-image-container {
    display: block;
    aspect-ratio: 3 / 2 ;
    overflow: hidden;
}
#copyEmail.desktop-link {
    display: none;
}
#successDialog[popover] {
    padding: 1rem;
    border-radius: .5rem;
    border: none;
    box-shadow: 0px 3px 10px rgba(44, 59, 83, 0.467);
    text-align: center;
    position-anchor: --copyEmail;
    position: absolute;
    position-area: top right;
    margin: 0;
    margin-bottom: 5px; 
}

/* New styles for hours table and menu tabs */
.empty-state, .error-state, .loader {
    text-align: center;
    padding: 2rem;
    font-family: var(--bodyFont);
    color: var(--brndClrOne);
}
.error-state {
    color: red;
}
.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin: 3rem 0 1rem 0;
    font-family: var(--bodyFont);
}
.hours-table th, .hours-table td {
    width: fit-content;
    padding: 8px 12px;
    text-align: center;
}
.hours-table th {
    background-color: var(--tabBg);
    color: var(--tabText);
    font-family: var(--displayFont);
    letter-spacing: var(--displaySpacing);
}

.tab-content {
    padding: 1rem;
    background-color: var(--brandBg);
    min-height: 890px;
}
.tab-pane {
    display: none;
    position: relative;
    /* animation: fadeIn 0.3s ease-in-out; */
}
.tab-pane.active {
    display: block;
    scroll-margin-top: 9rem;
}

/* Accessibility Improvements */



.nav-item:focus-visible {
    outline: 3px solid var(--tabText);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Map button styling */
.map-button {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.map-button:focus-visible {
    outline: 3px solid var(--brndClrOne);
    outline-offset: 2px;
}

.map-button img {
    width: 100%;
    height: auto;
    display: block;
}

/* Ensure color contrast for tab text */
.active-link {
    color: var(--tabTextActive);
    font-weight: bold;
}

.nav-item:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* Skip to main content link (optional, but recommended) */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: #ffcc00;
    color: #000;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-main:focus {
    top: 0;
}

/* Screen reader only content */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ===== Gallery Styles ===== */
.gallery-grid {
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
    margin-bottom: 4rem;
}

.lightbox-nav {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
}

.lightbox-prev {
    left: 0.5rem;
}

.lightbox-next {
    right: 0.5rem;
}

.lightbox-close {
    width: 40px;
    height: 40px;
    font-size: 2rem;
    top: 0.5rem;
    right: 0.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 1;
    background-color: #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.gallery-item:focus-visible {
    outline: 3px solid var(--brndClrOne);
    outline-offset: 2px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 2rem;
    color: white;
}

.gallery-item:hover .gallery-item-overlay,
.gallery-item:focus-visible .gallery-item-overlay {
    opacity: 1;
}

/* ===== Lightbox Modal Styles ===== */


.gallery-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: auto;
    border: none;
    overflow: visible;
    animation: fadeIn 0.3s ease-in-out;
}

.gallery-lightbox::backdrop {
    background: rgba(0, 0, 0, 0.95);
}

.gallery-lightbox[open] {
    display: flex;
}

.lightbox-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
    max-width: 100vw;
    max-height: 100vh;
}

.lightbox-close {
    position: absolute;
    top: -5rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-size: 2.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 1001;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
    background: rgba(255, 255, 255, 0.4);
    outline: 2px solid #ffcc00;
    outline-offset: 2px;
}

.lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    height: 100%;
    position: relative;
}

.lightbox-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    max-height: 80vh;
    /* overflow: hidden; */
}

.lightbox-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}

.lightbox-nav {
    position: absolute;
    top: 110%;
    transform: translateY(0%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    font-size: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
    z-index: 1001;
}

.lightbox-nav:hover,
.lightbox-nav:focus-visible {
    background: rgba(255, 255, 255, 0.4);
    outline: 2px solid #ffcc00;
    outline-offset: 2px;
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-info {
    position: absolute;
    bottom: -7rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-align: center;
    min-width: 100px;
}

.lightbox-counter, .lightbox-caption {
    font-size: 0.9rem;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-card {
    margin: 1rem 0;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s;
}
.menu-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}



@media only screen and (min-width: 600px) {

    /* Focus indicators for keyboard navigation */
    button:focus,
    a:focus,
    input:focus,
    select:focus,
    textarea:focus {
        outline:none;
    }
    /* Hover states for better visual feedback */
    button:hover,
    a:hover {
        opacity: 0.8;
        transition: opacity 0.2s ease-in-out;
    }
    /* Enhanced focus styles for buttons */
    a:focus-visible, button:focus-visible {
        outline: 3px solid #ffcc00;
        outline-offset: 2px;
        box-shadow: 0 0 0 5px rgba(255, 204, 0, 0.2);
    }
    .nav-bar-container {
        position: fixed;
        top: 0;
        left: auto;
        max-width: var(--pageWidth);
        margin: auto;
    }
    #nav-open {
        width: 31px;
        height: 6px;
    }
    #nav-open::before {
        content: '';
        display: block;
        position: absolute; 
        width: 31px;
        height: 6px;
        background-color: var(--tabText);
        transform: translateY(-20px);
    }
    #nav-open::after {
        content: '';
        display: block;
        position: absolute; 
        width: 31px;
        height: 6px;
        background-color: var(--tabText);
        transform: translateY(-10px);
    }
    #nav-panel[popover] {
        height: 100%;
    }
    
    .hero {
        position: relative;
        justify-content: left;
        align-items: baseline;
        height: var(--heroNavHeight);
    }
    .hero-container {
        margin: 0;
    }
    #slide-1 {
    height: auto;
    width: 100%;
    z-index: 3;
    }
    #slide-2 {
        width: 37vw;
        max-width: 500px;
        height: auto;
        z-index: 2;
        animation: saunter-in-from-right 4s cubic-bezier(0, 0, 0, 1) forwards;
    }
    @keyframes saunter-in-from-right {
        from { transform: translateX(5%);}
        to { transform: translateX(0%);}
    }
    #slide-3 {
        height: auto;
        width: 100%;
        animation: grow-in 4s cubic-bezier(0, 0, 0, 1) forwards;
    }
    .fixed-hero-img-container {
        position: fixed;
        width: 100%;
        max-width: var(--pageWidth);
        height: var(--heroNavHeight);
        background-color: lightblue;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: -10;
    }
    .fixed-hero-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    #hero-bg-img {
        
        width: auto;
        object-fit: cover;
        /* max-width: var(--pageWidth);
        height: calc(var(--heroNavHeight) + 200px); */
       
    }
    @keyframes grow-in {
        from { transform: scale(1) translateY(5%);}
        to { transform: scale(1.05) translateY(0%);}
    }
    .hero-info {
        margin: auto 4rem;
        z-index: 100;
        padding: 1rem 1.5rem;
    }
    .hero-info a {
        > img {position: relative; width: 400px; height: auto; margin: auto;}
    }
    .hero-info h1{
        font-size: 3rem;
        text-transform: uppercase;
    }
    .hero-info > p {
        font-size: 1.5rem;
    }

    .home-content {
        display: grid;
        grid-template-columns: 1fr 2fr;
        grid-template-rows: auto auto auto;
        gap: 2rem;
        padding: 2rem 4rem;
        img {grid-column: 2; grid-row: 3; margin: 0;}
        > p {grid-column: 2; grid-row: 2; columns: 2 200px;}
        > .display-img {grid-column: 1; grid-row: 2 / span 2;}
    }
    .tagline {
        padding: 8rem 1rem;
        font-size: 4rem;
        background-size: calc(40.5px * 2) calc(56px * 2), cover;
    }
    #open-close {
        grid-column: 1 / span 2;
        grid-row: 1;
        > p { text-align: center;}
    }
    .about-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        gap: 2rem;
        padding: 2rem 4rem;
        h2 {grid-column: 1 / span 2; grid-row: 1; text-align: center;}
        iframe {grid-column: 2; grid-row: 3; margin: 0;}
        p {grid-column: 2; grid-row: 2; columns: 2 200px;}
        > .display-img {grid-column: 1; grid-row: 2 / span 2;}
    }
    .tab-buttons {
        scrollbar-color: var(--tabBg) var(--tabBg);
        scrollbar-width: thin;
        transition: all .2s ease-in-out;
    }
    .tab-buttons:hover {
        scrollbar-color: var(--brandBg) var(--tabBg);
    }
    .tab-buttons::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }
    .tab-buttons::-webkit-scrollbar-track {
        background-color: var(--brandBg);
        border-radius: 8px;
        padding: 1px;
    }
    .tab-buttons::-webkit-scrollbar-track:hover {
        background-color: var(--brandBg);
    }
    .tab-buttons::-webkit-scrollbar-track:active {
        background-color: var(--brandBg);
    }
    .tab-buttons::-webkit-scrollbar-thumb {
        background-color: var(--brndClrOne);
        border-radius: 8px;
        min-height: 30px;
    }
    .tab-buttons::-webkit-scrollbar-thumb:hover {
        background-color: #fff;
    }
    .tab-buttons::-webkit-scrollbar-thumb:active {
        background-color: #fff;
    }
    .tab-buttons::-webkit-scrollbar-button {
        display: none;
        width: 0;
        height: 0;
    }

    .tab-button{
        font-size: 16px;
        font-weight: 600;
    }
    .tab-button:hover {
    outline: 0px;
    color: var(--tabText);
    background-color:  var(--brndClrOne);
    }
    .item-wrapper {
        min-width: 500px;
        max-width: 50%;
        margin: auto;
        border-radius: 1em;
        border: 0px;
        padding: .5rem;
        transition:all .1s ease-in-out;
    }
    .item-wrapper-bordered {
        max-width: 50%;
        margin: .6rem auto;
        border-radius: 1em;
        border: 0px;
        box-shadow: 0px 3px 3px #d2d2d2;
        padding: .8rem;
        transition:all .1s ease-in-out;
    }
    .item-wrapper-bordered:hover {
        transform: translatex(-5px);
    }
    .menu-card-content {
        display: grid; 
        grid-template-columns: .5fr 2fr 2fr 1fr;
        grid-template-rows: auto auto;
        justify-content: space-between;
        align-items: start;
    }
    .item-number {
        grid-row: 1 ;
    }
    .name {
        grid-column: 2 ;
        grid-row: 1 ;
        padding: .5rem;
        text-align: left;
        font-weight: 500;
    }
    .description {
        grid-row: 1 / span 2 ;
        grid-column: 3;
        padding: .5rem 0;
        font-variation-settings: "wdth" 50;
    }
    .price {
        grid-column: 4;
        font-weight: 600;
        font-size: 1rem;
        text-align: right;
        padding: .5rem;
    }
    .menu-item-thumb-container {
        grid-column: 4;
        display: flex;
        flex-grow: 1;
        margin: auto;
        justify-items: center;
        height: 90px;
        width:150px;
        border-radius: .5rem;
        overflow: hidden;
    }
    .nav-btn {
        display: block;
        position:absolute;
        top: 0rem;
        z-index: 90;
        height: 80vh;
        width: auto;
        padding: 15px;
        border-radius: 2rem;
        border:none;
        background-color: transparent;
        cursor:pointer;
        > svg { width: 25px; height: auto; fill:#e6e6e6;}
    }
    button.nav-btn:hover {
        opacity: 1;
        > svg .cls-1{fill: var(--tabText);}
    }
    .nav-btn:active {
        background-color:white;
    }
    #nav-l {
        left: 0;
        margin-left:3%;
    }
    #nav-r {
        right: 0;
        margin-right: 3%;
    }
    .actions {
        display: flex;
        flex-direction: column;
        justify-content: end;
        grid-column-start: 6;
        gap: .5rem;
        width: 80px;
        margin-left: .5rem;
        margin-right: 0;
    }
    .view-image:popover-open {
        width: 40vw;
    }
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        max-width: 60%;
        gap: 1rem;
        padding: 1rem;
        margin: 4rem auto;
    }
    .lightbox-container {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
        position: relative;
        max-width: 50vw;
        max-height: 80vh;
    }
    .lightbox-content {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1rem;
        width: 100%;
        height: 100%;
        position: relative;
    }
    .lightbox-image-wrapper {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        max-width: 100%;
        max-height: 80vh;
        /* overflow: visible; */
    }
    .lightbox-info {
        position: absolute;
        bottom: 1rem;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(0, 0, 0, 0.7);
        color: white;
        padding: 0.5rem 1rem;
        border-radius: 4px;
        text-align: center;
        min-width: 100px;
    }
    .lightbox-close {
        position: absolute;
        top: 1rem;
    }
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    .lightbox-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }
    footer {
    background-size: cover;
    background-position: center;
    background-image: linear-gradient(to right, var(--brndClrOne) 33%, rgba(44, 113, 128, 0)), url(./img/hero_BG.webp);
    
    }
    .footer-contents {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-rows: auto auto;
        align-items: center;
        padding: 4rem 2rem;
        font-family: var(--bodyFont);
        font-size: 1.2rem;
        color: var(--tabText);
        .footer-logo { grid-column: 2; grid-row: 1 / span 2; }
    }
    .footer-logo {
        margin: auto;
        filter: drop-shadow( 5px 5px  5px var(--brndClrOne));
        > a { text-decoration: none; color: inherit; text-align: center; line-height: 1.5rem; }
        > a > img { width:350px; margin: .25rem; }
    }
    .footer-info {
        grid-column: 1;
        grid-row: 1 / span 2;
        max-width: fit-content;
        margin: 0 auto;
        .social-links { margin-left: 0; }
    }
    .footer-disclaimer {
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto 1rem;
    }
    .mobile-link {
        display: none;
    }
    #copyEmail.desktop-link {    
    display: block;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    /* Optional: Ensure SVG scales nicely */
    align-items: center;
    justify-content: center;
    anchor-name: --copyEmail;
    }
}