.backgroundColor {
    background: #FDF6E3;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    
    to {
        opacity: 1;
    }
}

/*NAVIGATION BAR*/
.header {
    background-color: #FDF6E3;
    color: #000; /* Changed to black for visibility */
    padding: 20px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.25); /* Add shadow effect */
    height: 100px;
}

.headerContainer {
    display: flex;
    justify-content: space-between; /* Center the content */
    align-items: center; /* Vertically center the items */
    width: 90%;
    height: 100%;
    margin: auto auto;
    padding: 0 20px;
}

.headerImage {
    width: auto;
    height: auto;
}

.nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.navList {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.navItem {
    margin: 0 30px;
}

.navItem a {
    font-size: 26px;
    text-decoration: none;
    font-family: 'Fredoka one', serif;
    color: #555555;
    position: relative;
}

.navItem a:after {
    content: "";
    position: absolute;
    background-color: #d32f2f;
    height: 3px;
    width: 0%;
    left: 0;
    bottom: -10px;
    transition: 0.3s;
}

.navItem a:hover:after {
    width: 25%;
}

.navItem a:hover {
    text-decoration: none;
    color: black;
    transition: 0.3s;
}

.navItem a.active {
    color: black;
}

.navItem a.active:after {
    width: 25%;
}

.locationsButtonContainer {
    align-items: center;
    display: flex;
}

.locationsButton {
    background-color: #f44336 ;
    border: none;
    padding: 10px 20px;
    font-size: 26px;
    font-family: 'Fredoka one', serif;
    cursor: pointer;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for a modern look */
    transition: background-color .4s ease, box-shadow .4s ease; /* Smooth transition for background and box-shadow */
    color: white;
    text-decoration: none;
}

.locationsButton:hover {
    background-color: #d32f2f;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Increase shadow on hover for a raised effect */
    color: white;
    text-decoration: none;
}

/*HAMBURGER MENU*/
.hamburgerHeader {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    height: 24px;
}

.hamburgerHeader span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #000;
    border-radius: 2px;
}

/*OVERLAY HEADER MENU SECTION*/
.overlayHeaderMenu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Transparent background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    padding: 20px;
}

.overlayHeaderMenu.active {
    transform: translateY(0);
}

.overlayHeaderMenu .closeOverlayHeader {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
}

.overlayHeaderNavList {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.overlayHeaderNavListItem a {
    font-size: 26px;
    color: white;
    text-decoration: none;
    font-family: 'Fredoka one', serif;
}

.overlayHeaderNavListItem a:hover {
    text-decoration: none;
    color: white;
}

.overlayLocationsButtonContainer {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

/*RESPONSIVENESS HAMBURGER MENU ON MOBILE*/
@media screen and (max-width: 480px) {
    .nav, .locationsButtonContainer {
        display: none;
    }

    .headerContainer {
        width: 100%;
        padding: 0 10px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hamburgerHeader {
        position: absolute;
        right: 20px;
        top: 20px;
        display: flex;
    }
    
    .navItem {
        display: none; /* Ensure nav items are hidden */
    }
}

@media screen and (min-width: 481px) and (max-width: 1200px) {
    .nav, .locationsButtonContainer {
        display: none;
    }

    .headerContainer {
        width: 100%;
        padding: 0 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hamburgerHeader {
        display: flex;
    }

    .navItem {
        display: none; /* Ensure nav items are hidden */
    }

    .overlayHeaderNavListItem a {
        font-size: 32px; /* Increase the font size for better readability */
    }

    .locationsButton {
        font-size: 32px; /* Increase the font size of the Locations button */
    }
}

/*PREVENTS SCROLLING ON OVERLAY*/
body.overlayActive {
    overflow: hidden;
}

/*MESSAGE BLACK BAR*/
.messageContent {
    text-align: center;
    color: #fff7f9;
    background-color: black;
    padding: 50px 0;
    font-family: 'Fredoka one', serif;
    width: 100%;
}

.messageContent h1 {
    font-size: 52px;
    width: 90%;
    margin: 0 auto;
}

.messageContent p {
    font-size: 26px;
    width: 90%;
    margin: 0 auto;
}



/*MENU SELECTOR AREA*/
.menuContainer {
    width: 90%;
    max-width: 1400px; /*CHANGE LATER FOR RESPONSIVENESS SIZE*/
    text-align: center;
    margin: 150px auto;
    padding: 20px;
    animation: fadeIn 0.5s ease;
    box-sizing: border-box; 
    background-color: white; 
    display: flex; 
    flex-direction: column; 
    border-radius: 15px;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
}

.menuSelectorContainer {
    width: 100%;
    margin: 50px auto;
}

.menuSelector {
    display: flex;
    justify-content: center;
    gap: 100px;
}

.menuButton {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    padding: 10px;
    outline: none;
    position: relative; /* Required for positioning the pseudo-elements */
    font-family: 'Lato', sans-serif;
    color: #555555;
}

.menuButton:focus {
    outline: none;
}

.menuButton::before,
.menuButton::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 3px; /* Thickness of the line */
    background-color: #d32f2f; /* Line color */
    transform: scaleX(0); /* Start with the line hidden */
    transition: transform 0.3s ease; /* Smooth transition */
}

.menuButton::before {
    top: 3px; /* Line above the text */
}

.menuButton::after {
    bottom: 3px; /* Line below the text */
}

.menuButton:hover {
    color: black;
}

.menuButton:hover::before,
.menuButton:hover::after,
.menuButton.active::before,
.menuButton.active::after {
    transform: scaleX(1); /* Expand the line to full width on hover or when active */
}

.menuButton.active {
    color: black; /* Ensure active button text color is black */
}


/* Basic Styling */
.menuButtonContent {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    width: 100%;
}

.menuButtonContent.active {
    display: block;
    opacity: 1;
    position: relative;
}

.menuButtonContent.fade-out {
    opacity: 0;
}

.imageGrid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.menuImage {
    cursor: pointer;
    width: 90%; /* Adjust size as needed */
    height: auto;
    border: 2px solid black;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 25px auto;
}

.menuImage:hover {
    transform: scale(1.01);
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

/* Gallery Overlay */
.gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Dark transparent background */
    z-index: 1;
}

.galleryImage {
    z-index: 2;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.7);
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 100px;
    color: white;
    cursor: pointer;
    z-index: 3;
}

.navigation a {
    color: white;
    font-size: 50px;
    position: absolute;
    top: 50%;
    z-index: 3;
    cursor: pointer;
    padding: 20px;
}

.prev {
    left: 10px;
}

.prev:hover {
    text-decoration: none;
}

.next {
    right: 10px;
}

.next:hover {
    text-decoration: none;
}
@media screen and (max-width: 1300px) and (min-width: 1051px) {
    /* Adjust the gallery image to provide more space for arrows */
    .galleryImage {
        max-width: 90%; /* Slightly reduce width for larger tablets/laptops */
        max-height: 90%;
        margin: 0 auto;
    }
    .navigation a {
        font-size: 45px; /* Slightly larger arrows for larger screens */
        padding: 20px;
    }
    .prev, .next {
        width: 40px;
        height: 40px;
    }
    .prev {
        left: 0;
    }
}
@media screen and (max-width: 1050px) and (min-width: 769px) {
    .menuSelector {
        gap: 5%; /* Adjust the gap as a percentage of the container's width */
    }
    .galleryImage {
        max-width: 85%; /* Slightly reduce width for tablets */
        max-height: 85%;
        margin: 0 auto;
    }
    .navigation a {
        font-size: 40px; /* Slightly reduce the size of arrows for tablets */
        padding: 15px;
    }
    .prev, .next {
        width: 35px;
        height: 35px;
    }
    .prev {
        left: 0;
    }
}
@media screen and (max-width: 768px) {
    .menuSelector {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Creates a 2x2 grid layout */
        gap: 10px; /* Adjust spacing between buttons */
    }
    .menuButton {
        width: 100%; /* Ensure buttons fill their grid space */
    }
    .menuButton::before,
    .menuButton::after {
        width: 50%; /* Set line width to 50% of the text width */
        left: 25%; /* Adjust position to center */
        right: 25%; /* Adjust position to center */
    }
    .messageContent h1 {
        font-size: 47px;
    }
    .messageContent p {
        font-size: 21px;
    }
    .galleryImage {
        max-width: 80%;
        max-height: 80%;
    }
    .navigation a {
        font-size: 35px; /* Adjust arrow size for smaller screens */
        padding: 12px;
    }
    .prev, .next {
        width: 30px;
        height: 30px;
    }
    .prev {
        left: 0px;
    }
}
@media screen and (max-width: 700px) and (min-width: 481px) {
    .menuButton::before,
    .menuButton::after {
        width: 65%; /* Set line width to 50% of the text width */
        left: 17.5%; /* Adjust position to center */
        right: 17.5%; /* Adjust position to center */
    } 
}
@media screen and (max-width: 480px) {
    .messageContent h1 {
        font-size: 42px;
    }
    .menuButton::before,
    .menuButton::after {
        width: 85%; /* Set line width to 50% of the text width */
        left: 7.5%; /* Adjust position to center */
        right: 7.5%; /* Adjust position to center */
    }
    .galleryImage {
        max-width: 75%; /* Maximize space for arrows on very small screens */
        max-height: 75%;
    }
    .navigation a {
        font-size: 25px; /* Smallest arrow size for small screens */
        padding: 10px;
    }
    .prev, .next {
        width: 25px;
        height: 25px;
    }
    .prev {
        left: 0px;
    }
}














/*FOOTER AREA*/
footer {
    color: aliceblue;
    background: #1c2630;
    padding: 20px;
    text-align: center;
    font-family: 'Lato', sans-serif;
}

.footerContainer {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.nav-item {
    margin: 0 10px;
}

.nav-link {
    color: aliceblue;
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
}

.footerCopyright p {
    color: aliceblue;
    font-size: 15px;
    margin: 10px 0;
    text-align: center;
}

.footerRow {
    display: flex;
    justify-content: center;
    width: 100%;
}

.mt-3 {
    margin-top: 1rem;
}
