html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', sans-serif;
}

footer {
    font-family: 'Lato', sans-serif;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    
    to {
        opacity: 1;
    }
}

.backgroundColor {
    background: #FDF6E3;
    justify-content: center;
}

.centeredImage {
    display: block;
    margin: 25px auto 75px auto;
    width: 80%;
    max-width: 1000px;
    transform: translateX(-18px);
}

@media (max-width: 1200px) {
    .centeredImage {
        transform: none; /* Remove the transform at 1200px width or below */
    }
}

.fadeIn {
    animation: fadeIn 1s ease-out;
}

.mainText h1, .mainText h2 { /*FONT FOR ALL TEXT ON PAGE*/
    animation: fadeIn 1s ease-out;
    color: black;
    text-align: center;
    font-family: 'Lato', sans-serif;
}

.welcomeText {
    opacity: 0;
    transition: 0.5s;
    text-align: center;
    width: 80%;
    margin: 0 auto;
}

.welcomeText h1{
    font-size: 52px;
    font-family: 'Fredoka one', serif;
    text-transform: uppercase;
}

.showWelcomeText {
    opacity: 1 !important;
}

.counter {
    width: 75%;
    line-height: 1.6;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    font-family: 'Lato', sans-serif;
}

.count {
    display: inline-block;
    color: #f1a125;
}

.showCounter {
    transition: 0.5s;
    opacity: 1 !important;
}

.countFontNumber {
    font-size: 26px;
    font-weight: 750;
}

.countFont {
    color: black;
    font-size: 26px;
}

@media screen and (max-width: 900px) {
    .welcomeText h1 {
        font-size: 32px;
    }
    .countFontNumber, .countFont {
        font-size: 20px;
    }
}

/*CONTENT BOXES*/
.contentBoxesArea {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.contentBox {
    position: relative; /* Ensure the link can be positioned relative to the box */
    margin-top: 100px;
    width: 550px;
    height: 250px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background-color: #FFFFFF;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    box-sizing: border-box; /* Ensure padding is included in the width/height */
    transition: box-shadow 0.3s ease, transform 0.6s ease; /* Apply transition to box shadow and transform */
}

.contentBox img.contentImage {
    width: 100px;
}

.contentBox h2, 
.contentBox p {
    margin: 10px 0;
}

.contentBox h2 {
    font-family: 'Fredoka one', serif;
    font-size: 42px;
    margin: 10px 0;
    color: #D32F2F;
}

.contentBox p {
    font-size: 26px;
    color: black;
    margin: 10px 0;
    font-family: 'Lato', sans-serif;
}

.divider {
    width: 25px;
    height: 6px;
    background-color: #D32F2F;
    border: none;
    border-radius: 100px;
    transition: width 0.5s ease;
    margin: 10px auto;
}

.contentBox:hover .divider {
    width: 200px;
}

.contentBox:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1), 0 12px 40px rgba(0, 0, 0, 0.1);
}

.contentBoxLink {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/*FIXES FORMAT ERROR BETWEEN 900-700PX WIDTH*/
@media screen and (max-width: 900px) and (min-width: 700px) {
    .contentBoxesArea {
        flex-direction: column;
        align-items: center;
    }

    .contentBox {
        width: 350px;
        margin-top: 100px;
    }
}
@media screen and (max-width: 400px) {
    .contentBox {
        width: 300px;
        margin-top: 100px;
    }
}

/*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;
}

/*MAP PORTION*/
.locationContainer {
    text-align: left;
    color: black;
}

.locationSection {
    margin-top: 135px;
    padding: 75px 0;
    background-color: black;
}

.locationSection h1 {
    width: 90%;
    margin: 0 auto;
    font-size: 50px;
    color: #fff7f9;
    font-family: 'Fredoka one', serif;
}

.locationConfigure {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 135px;
    gap: 20px;
    flex-wrap: wrap;
}

.locationText, 
.mapContainer {
    flex: 1 1 750px; /* Ensure both map and text take up equal space */
    color: black;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    max-width: 750px; /* Ensures maps and text are the same width | CHANGE FOR LAYOUT*/
}

.locationText {
    padding: 0px;
    text-align: left;
}

.locationText h2,
.locationText p,
.locationText a {
    opacity: 0; /* Start hidden */
    transition: 0.5s; /* Smooth transition */
}

.locationText h2 {
    text-align: left;
    margin: 0;
    font-size: 40px;
    font-family: 'Lato', sans-serif;
}

.locationText p {
    margin: 5px 0;
    font-size: 22px;
    text-align: left;
    font-family: 'Lato', sans-serif;
}

.locationText p:last-of-type {
    margin-top: auto;
}

.getDirectionsButton {
    width: 23%;
    height: 50px;
    padding: 0;
    margin-bottom: 15px;
    border-radius: 30px;
    box-sizing: border-box;
    background: #f44336;
    cursor: pointer;
    transition: background-color .4s ease, box-shadow .4s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    outline: none;
    font-family: 'Fredoka one', serif;
    font-size: 25px;
    text-align: center; /* Center the text */
    line-height: 50px; /*Vertically center the text */
}

.getDirectionsButton a {
    display: block;
    width: 100%;
    height: 100%;
    color: white; /* Set the text color */
    text-decoration: none; /* Remove underline */
    border-radius: 30px; /* Ensure the link has the same border radius */
    text-align: center;
    line-height: 50px; /* Vertically center the text */
}

.getDirectionsButton:hover {
    background: #d32f2f;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Increase shadow on hover for a raised effect */
}

.directionsLink {
    text-decoration: none;
    color: white;
}

.directionsLink:hover {
    text-decoration: none;
    color: white;
}

.mapContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.mapContainer iframe {
    width: 750px;
    height: 400px;
    opacity: 0; /* Start hidden */
    transition: 0.5s;
}

/* Class to show elements */
.showLocationText {
    opacity: 1 !important;
}

.locationText.showLocationText h2,
.locationText.showLocationText p,
.locationText.showLocationText a {
    opacity: 1 !important;
}

.showMapIframe {
    opacity: 1 !important;
}

.showMapIframe .mapContainer iframe {
    opacity: 1 !important;
}

/* TO ADJUST FORMAT WITH VARIOUS WINDOW SIZE */
@media screen and (max-width: 900px) {
    .locationText h2,
    .locationText p,
    .locationText a {
    width: 90%;
    margin: 0 auto;
    }
    .getDirectionsButton {
        margin-left: 20px;
        width: 23%;
    }
    .mapContainer {
        margin: 0 25px;
    }
    .mapContainer iframe {
        width: 100%;
        height: 350px;
    } 
}
/*RESPONSIVENESS FOR GETDIRECTIONSBUTTON WIDTH*/
@media screen and (max-width: 700px) {
    .getDirectionsButton {
        width: 25%;
    }
}
@media screen and (max-width: 600px) {
    .getDirectionsButton {
        width: 30%;
    }
}
@media screen and (max-width: 500px) {
    .getDirectionsButton {
        width: 35%;
    }
}
@media screen and (max-width: 430px) {
    .getDirectionsButton {
        width: 40%;
    }
}
@media screen and (max-width: 375px) {
    .getDirectionsButton {
        width: 45%;
    }
}

/*REVIEW BOX AREA*/

.reviewText {
    text-align: center;
    color: #fff7f9;
    background-color: black;
    margin-top: 115px;
    padding: 75px 0;
    font-family: 'Fredoka one', serif;
}

.reviewText h1{
    animation: fadeIn 1s ease-out;
    font-size: 50px;
    width: 90%;
    margin: 0 auto;
}

.reviewLogo {
    padding: 0;
    margin: 35px auto 0 auto;
    display: block;
}

.reviewLogo img {
    margin-bottom: 50px;
    display: block;
}

.reviewBox {
    margin: 125px auto;
    width: 90%; /* Adjust to be responsive */
    max-width: 1175px; /* Ensure it doesn't exceed 1175px */
    padding: 20px; /* Add padding for content spacing */
    box-sizing: border-box; /* Ensure padding is included in the width */
    background-color: white; /* Example background color */
    color: #333; /* Example text color */
    display: flex; /* Use flexbox for internal content */
    flex-direction: column; /* Stack children vertically */
    align-items: center; /* Center align children */
    animation: fadeIn 1s ease-out;
    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);
    opacity: 0;
    transition: 0.5s;
}

.showReviewBox {
    opacity: 1 !important;
}

.inputGroup, .selectGroup, .textareaGroup {
    margin-bottom: 30px;
    position: relative;
}

.reviewBox input, .reviewBox textarea, .reviewBox select {
    width: 1000px;
    padding: 10px;
    outline: 0;
    border: 1px solid #C0C0C0;
    color: black;
    font-size: 16px;
    border-radius: 10px;
}

/* CHANGES BORDER COLOR WHEN HOVERING */
.reviewBox input:hover,
.reviewBox textarea:hover,
.reviewBox select:hover {
    border-color: #333; 
}

/* CHANGES BORDER COLOR WHEN SELECTED */
.reviewBox input:focus,
.reviewBox textarea:focus,
.reviewBox select:focus {
    border-color: #333; 
}

.reviewBox button {
    width: 15%;
    height: 50px;
    padding: 0 20px;
    margin-bottom: 15px;
    border-radius: 30px;
    box-sizing: border-box; /* Include padding in the element's total width and height */
    font-size: 25px;
    background: #f44336;
    color: white;
    cursor: pointer;
    transition: background-color .4s ease, box-shadow .4s ease; /* Smooth transition for background and box-shadow */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle shadow for a modern look */
    font-family: 'Fredoka one', serif;
    border: none;
    outline: none;
}

.reviewBox button:hover {
    background: #d32f2f;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Increase shadow on hover for a raised effect */
}

.reviewBox h2, p {
    text-align: center;
}

.reviewBox h2 {
    font-size: 35px;
}

.reviewBox p {
    font-size: 20px;
}

.thankYouMessage {
    margin: 150px;
}

/*START OF SELECT ANIMATION (MOVING TEXT UPWARD)*/
.reviewBox label {
    height: auto;
    position: absolute;
    left: 10px;
    top: 0;
    padding: 10px; /* Adjust horizontal padding */
    color: black;
    cursor: text;
    transition: 0.2s;
    background: none; /* Remove background from the label itself */
}

.reviewBox label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    height: 100%;
    z-index: -1; /* Place background behind the text */
    padding: 0 5px; /* Match the label's padding */
    border-radius: 3px; /* Optional: Add some border radius for better aesthetics */
}



.checkboxArea {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 35px;
    margin-bottom: 20px;
    margin-top: -10px;
    cursor: auto;
    user-select: none;
    font-size: 20px;
    color: #555555;
    transition: color 0.3s ease;
}

.checkboxArea input {
    position: absolute;
    opacity: 0;
    height: 0;
    width: 0;

}

.customCheckbox {
    cursor: pointer;
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border: 2px solid #cccccc;
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s;
}

.checkboxArea:hover input ~ .customCheckbox {
    border-color: #888888;
}

.checkboxArea input:checked ~ .customCheckbox {
    background-color: #d32f2f;
    border-color: #d32f2f;
}

.customCheckbox:after {
    content: "";
    position: absolute;
    display: none;
}

.checkboxArea input:checked ~ .customCheckbox:after {
    display: block;
}

.checkboxArea .customCheckbox:after {
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkboxArea input:focus ~ .customCheckbox {
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.4);
}



input:focus ~ label,
input:not(:placeholder-shown) ~ label,
textarea:focus ~ label,
textarea:not(:placeholder-shown) ~ label {
    top: -17px;
    font-size: 14px;
    background-color: white; /* Set desired background color */
    padding: 3px 7px; /* Match the label's padding */

}

input:focus ~ label::before,
input:not(:placeholder-shown) ~ label::before,
textarea:focus ~ label::before,
textarea:not(:placeholder-shown) ~ label::before {
    top: -17px;
    height: 14px; /* Adjust height to match the label's new position */
    background-color: white; /* Set desired background color */
    padding: 3% 7px; /* Match the label's padding */

}

/* REMOVES BACKGROUND COLOR CHANGE WHEN SELECTED AUTOFILL OPTION */
.reviewBox input:-webkit-autofill,
.reviewBox input:-webkit-autofill:hover,
.reviewBox input:-webkit-autofill:focus,
.reviewBox textarea:-webkit-autofill,
.reviewBox textarea:-webkit-autofill:hover,
.reviewBox textarea:-webkit-autofill:focus,
.reviewBox select:-webkit-autofill,
.reviewBox select:-webkit-autofill:hover,
.reviewBox select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    box-shadow: 0 0 0px 1000px white inset !important;
    transition: background-color 5000s ease-in-out 0s;
}
/*END OF ANIMATION MOVING TEXT UPWARD*/


/*REVIEWBOX RESPONSIVENESS FOR VARIOUS SCREEN SIZE*/
@media screen and (max-width: 1200px) {
    .reviewBox input, .reviewBox textarea, .reviewBox select {
        width: 750px;
    }
    .reviewBox button {
        width: 20%;
    }
    .thankYouMessage {
        margin: 150px 50px;
    }
}
@media screen and (max-width: 900px) {
    .reviewBox input, .reviewBox textarea, .reviewBox select {
        width: 600px;
    }
    .reviewBox button {
        width: 25%;
    }
    .thankYouMessage {
        margin: 80px 30px;
    }
}
@media screen and (max-width: 700px) {
    .reviewBox input, .reviewBox textarea, .reviewBox select {
        width: 400px;
    }
    .reviewBox button {
        width: 35%;
    }
    .thankYouMessage {
        margin: 60px 20px;
    }
}
/*MOBILE SIZE*/
@media screen and (max-width: 480px) {
    .reviewBox input, .reviewBox textarea, .reviewBox select {
        width: 300px;
    }
    .reviewBox button {
        width: 45%;
    }
    .thankYouMessage {
        margin: 40px 15px;
    }
}
@media screen and (max-width: 360px) {
    .reviewBox input, .reviewBox textarea, .reviewBox select {
        width: 250px;
    }
    .reviewLogo img{
        width: 250px;
    }
    .reviewBox button {
        width: 50%;
    }
    .thankYouMessage {
        margin: 30px 10px;
    }
}
/*BLACK BAR FONT-SIZE RESPONSIVENESS*/
@media screen and (max-width: 768px) {
    .locationSection h1 {
        font-size: 47px;
    }
    .reviewText h1 {
        font-size: 47px;
    }
    
}
@media screen and (max-width: 480px) {
    .locationSection h1 {
        font-size: 36px;
    }
    .reviewText h1 {
        font-size: 36px;
    }
}

/*FOOTER AREA*/
footer {
    color: aliceblue;
    background: #1c2630;
    padding: 20px;
    text-align: center;
}

.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;
}
