@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
}

.header {
    background-color: ;
    color: #392F5A;
    padding-top: 10px;

}

.header:hover {
    color: aqua;

}

.container {
    max-width: 100%;
    width: 100%;
    margin: auto;
}

.navbar {
    position: fixed;
    /* keeps navbar at top */
    width: 100%;
    box-shadow: 0 1px 4px rgb(146 161 176 / 15%);
    background-color: #FFF8F0;
    flex-shrink: 0;
    z-index: 1000;

}

.links {
    color: #392F5A;
}

.line {
    background-color: #392F5A;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
}

.navbar .Links {
    display: flex;
}

.navbar .nav-container li {
    list-style: none;
}

.navbar .nav-container a {
    text-decoration: none;
    color: #0e2431;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 0.7rem;
}

.navbar .nav-container a:hover {
    font-weight: bolder;
}

.nav-container {
    display: block;
    position: relative;
    height: 60px;
}

.nav-container .checkbox {
    position: absolute;
    display: block;
    height: 32px;
    width: 32px;
    top: 20px;
    left: 20px;
    z-index: 5;
    opacity: 0;
    cursor: pointer;
}

.nav-container .nav-icon {
    display: block;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 17px;
    left: 20px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-container .nav-icon .line {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background: #0e2431;
}

.nav-container .nav-icon .line1 {
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
}

.nav-container .nav-icon .line2 {
    transition: transform 0.2s ease-in-out;
}

.nav-container .nav-icon .line3 {
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
}

.navbar .Links {
    padding-top: 120px;
    background-color: rgba(255, 255, 255, 0.85);
    height: 100vh;
    width: 100%;
    transform: translate(-150%);
    display: flex;
    flex-direction: column;
    margin-left: -40px;
    padding-left: 50px;
    transition: transform 0.5s ease-in-out;
    text-align: center;
}

.navbar .Links li {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;

}


.logo {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 1.2rem;
    color: #0e2431;
}

.nav-container input[type="checkbox"]:checked ~ .Links {
    transform: translateX(0);
}

.nav-container input[type="checkbox"]:checked ~ .nav-icon .line1 {
    transform: rotate(45deg);
}

.nav-container input[type="checkbox"]:checked ~ .nav-icon .line2 {
    transform: scaleY(0);
}

.nav-container input[type="checkbox"]:checked ~ .nav-icon .line3 {
    transform: rotate(-45deg);
}

.nav-container input[type="checkbox"]:checked ~ .logo {
    display: none;
}


.center1 {
    width: 100%;
    height: 1000px;
    background-color: #9DD9D2;
}

.center2 {
    width: 100%;
    height: 1000px;
    background-color: #FF8811;
}

.center3 {
    width: 100%;
    height: 1000px;
    background-color: #F4D06F;
}

main {
    padding-top: 62px;
    /* space for fixed navbar */
}

main#map {
    flex-grow: 1;
}

#map {
    width: 100%;
    height: calc(100vh - 62px);
    border: 0;
}

form {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    max-width: 400px;
}

.leaflet-popup-content form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 300px;
    /* increase width */
    max-width: 350px;
    /* optional max width */
    font-size: 16px;
    /* bigger, readable text */
    line-height: 1.4;
    /* easier to read */
    font-family: "Poppins", sans-serif;
}

.leaflet-popup-content input,
.leaflet-popup-content textarea,
.leaflet-popup-content select,
.leaflet-popup-content button {
    width: 100%;
    padding: 0.5rem;
    /* more padding for easier tapping */
    font-family: "Poppins", sans-serif;
    font-size: 14-16px;
    /* bigger text */
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 0.5rem;
}

.leaflet-popup-content button {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    padding: 0.6rem;
    /* slightly taller button */
}

.leaflet-popup-content button:hover {
    background-color: #0056b3;
}

.confirmation-popup {
    text-align: center;
    font-size: 14px;
    font-family: "Poppins", sans-serif;
    /* match your page */
}

.confirmation-popup p {
    margin-bottom: 0.5rem;
    /* gap between text lines and buttons */
}

.confirmation-popup button {
    margin: 0.25rem;
    /* small gap between buttons */
    margin-top: 0.5rem;
    /* extra spacing above buttons from text */
    padding: 0.6rem 1rem;
    background-color: #007bff;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.confirmation-popup button:hover {
    background-color: #0056b3;
}

#confirmationModal {
    display: none;
    /* hidden initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* semi-transparent backdrop */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    /* above map and navbar */
}

#confirmationModal .modal-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    font-family: "Poppins", sans-serif;
    max-width: 400px;
}

#confirmationModal button {
    margin: 0.5rem;
    padding: 0.6rem 1rem;
    background-color: #007bff;
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#confirmationModal button:hover {
    background-color: #0056b3;
}

/* Login/Logout buttons */
.auth-btn {
    position: fixed;
    top: 70px;
    right: 10px;
    z-index: 1000;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.1s;
}

.auth-btn:hover {
    background-color: #0056b3;
    transform: translateY(-1px);
}

.auth-btn:active {
    transform: translateY(0);
}

/* Adjust logout button to not overlap login */
#logoutBtn {
    top: 70px !important;
    background-color: #dc3545;
}

#logoutBtn:hover {
    background-color: #a71d2a;
}

#consent {
    width: 20px;
    height: 20px;
    transform: scale(1.2); /* makes it 20% bigger */
    margin-top: 5px;
}

.footer {
    background-color: #FFF8F0;
    width: 100%;
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-weight: bold;
    font-size: 16px;
    padding: 50px;

}

footer-Logo1 {}

.footer .footer-left,
.footer .footer-center,
.footer .footer-right {
    display: inline-block;
    vertical-align: top;
}


/* footer left*/

.footer .footer-left {
    width: 33%;
    padding-right: 15px;
}

.footer .icons {
    margin-top: 25px;
}

.footer .icons a {
    display: inline-block;
    width: 35px;
    height: 35px;
    cursor: pointer;
    background-color: #392F5A;
    border-radius: 2px;
    font-size: 20px;
    color: #ffffff;
    text-align: center;
    line-height: 35px;
    margin-right: 3px;
    margin-bottom: 5px;
}


/* footer center*/

.footer .footer-center {
    width: 30%;
}

.footer .footer-center i {
    background-color: #392F5A;
    color: #FFF8F0;
    font-size: 25px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
    line-height: 42px;
    margin: 10px 15px;
    vertical-align: middle;
}

.footer .footer-center i.fa-envelope {
    font-size: 17px;
    line-height: 38px;
}

.footer .footer-center p {
    display: inline-block;
    color: #392F5A;
    vertical-align: middle;
    margin: 0;
}

.footer .footer-center p span {
    display: block;
    font-weight: normal;
    font-size: 14px;
    line-height: 2;
}

.footer .footer-center p a {
    color: #0099ff;
    text-decoration: none;
}


/* footer right*/

.footer .footer-right {
    width: 35%;
}

.footer h2 {
    color: #392F5A;
    font-size: 36px;
    font-weight: normal;
    margin: 0;
}

.footer h2 span {
    color: #0099ff;
}

.footer .menu {
    color: #392F5A;
    margin: 20px 0 12px;
    padding: 0;
}

.footer .menu a {
    display: inline-block;
    line-height: 1.8;
    text-decoration: none;
    color: inherit;
}

.footer .menu a:hover {
    color: #0099ff;
}

.footer .name {
    color: #0099ff;
    font-size: 14px;
    font-weight: normal;
    margin: 0;
}

@media (max-width: 767px) {
    .footer {
        font-size: 14px;
    }

    .footer .footer-left,
    .footer .footer-center,
    .footer .footer-right {
        display: block;
        width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }

    .footer .footer-center i {
        margin-left: 0;
    }
