@keyframes textLoadIn {
    from {
        opacity: 0;
    }
    
     to {
        opacity: 1;
     }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-300px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
} 

@keyframes slideInRight {
    from {
        transform: translateX(300px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.backgroundColor {
    background: #FDF6E3;
    justify-content: center;
}

/*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;
}

/*ABOUT SECTION*/
.aboutContent {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

.row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 100px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.imageBlock, .textBlock {
    width: 45%;
}

.textBlock h2 {
    font-family: 'Fredoka one', serif;
    font-size: 32px;
    margin-bottom: 20px;
}

.textBlock p {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
}

.aboutLeft, .aboutRight {
    text-align: left;
}

.imageBlock img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.normalContentText {
    text-align: left;
    margin-top: 100px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.normalContentText h2 {
    margin-bottom: 20px;
    font-family: 'Fredoka one', serif;
    font-size: 32px;
}

.normalContentText p {
    font-size: 20px;
    font-family: 'Lato', sans-serif;
}

/*CREATES GAP BETWEEN TEXT AND IMAGES*/
.row:nth-child(odd) .textBlock {
    margin-right: 25px; /* Adjust as needed */
}

.row:nth-child(odd) .imageBlock {
    margin-left: 25px; /* Adjust as needed */
}

.row:nth-child(even) .textBlock {
    margin-left: 25px; /* Adjust as needed */
}

.row:nth-child(even) .imageBlock {
    margin-right: 25px; /* Adjust as needed */
}

/*MAGIC SCROLL ADJUSTMENTS*/
.showRow {
    opacity: 1;
}

.showText {
    opacity: 1;
}

/*RESPONSIVENESS*/
@media screen and (max-width: 1250px) {
    .aboutContent {
        margin: 0 25px;
    }
}
@media screen and (max-width: 900px) {
    .textBlock h2 {
        font-size: 26px;
    }
    .textBlock p {
        font-size: 18px;
    }
    .normalContentText h2 {
        margin-bottom: 20px;
        font-size: 26px;
    }
    
    .normalContentText p {
        font-size: 18px;
    }
}
@media screen and (max-width: 768px) {
    .textBlock h2 {
        font-size: 26px;
    }
    .textBlock p {
        font-size: 17px;
    }
    .normalContentText h2 {
        margin-bottom: 20px;
        font-size: 26px;
    }
    .normalContentText p {
        font-size: 17px;
    }
    .messageContent h1 {
        font-size: 47px;
    }
}
@media screen and (max-width: 700px) {
    .row {
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }
    .imageBlock, .textBlock {
        width: 90%;
        margin: 0; /* Remove any margins set for even/odd rows */
    }
    .row:nth-child(odd) .textBlock,
    .row:nth-child(odd) .imageBlock,
    .row:nth-child(even) .textBlock,
    .row:nth-child(even) .imageBlock {
        margin: 0; /* Remove the margin */
    }
    .imageBlock {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .imageBlock img {
        width: 75%;
        margin-bottom: 20px;
    }
    .textBlock {
        text-align: left;  /* Center the text content */
    }
}
@media screen and (max-width: 480px) {
    .messageContent h1 {
        font-size: 42px;
    }
}

/*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;
}