/* styles/home.css */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    padding: 20px;
}

.intro-section {
    text-align: center;
    margin: 30px 0;
    background: linear-gradient(135deg, #388E3C 30%, #43A047 100%); /* Darker green gradient background */
    color: white; /* Keeping the text white for contrast */
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    position: relative;
}

.intro-section .quote {
    font-size: 26px;
    font-weight: 700;
    color: white;
    position: relative;
    margin-bottom: 30px;
    display: inline-block;
    padding-left: 60px;
    text-align: left;
}

.intro-section .quote::before {
    content: '“';
    font-size: 80px;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    left: 0;
    top: -20px;
    font-family: serif;
}

.intro-section .community-message {
    font-size: 20px;
    font-weight: 500;
    color: #f5f5f5;
    margin-top: 20px;
    margin-bottom: 10px;
}

.intro-section .community-message span {
    font-weight: 700;
    color: #ffffff;
}

#button-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.styled-button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: #3B8A40;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.styled-button:hover {
    background-color: #2E6D33;
    transform: scale(1.05);
}

#map-container {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 20px 0;
}

#map {
    width: 100%;
    height: 100%;
}

#map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
}

#map-overlay p {
    font-size: 20px;
    color: #333;
    font-weight: bold;
}

.map-notice-text {
    text-align: center;
    font-size: 18px;
    color: #4CAF50;
    margin-top: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

#location-details {
    padding: 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
    border-radius: 5px;
}

#location-details h2 {
    font-size: 26px;
    color: #222;
    font-weight: bold;
    margin-bottom: 15px;
}

#location-details p {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
}

#location-image {
    margin-top: 10px;
}

#location-rating {
    margin-top: 10px;
    font-size: 18px;
    color: #4CAF50;
}

#location-reviews {
    margin-top: 20px;
}

#location-reviews h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 10px;
}

#reviews-list {
    list-style: none;
    padding: 0;
}

#reviews-list li {
    background-color: #e9e9e9;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 16px;
}

#review-form {
    margin-top: 20px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#review-form h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 10px;
}

#review-form textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
    margin-bottom: 10px;
}

#review-form button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

#review-form button:hover {
    background-color: #3B8A40;
    transform: scale(1.05);
}

#additional-info {
    padding: 20px;
    background-color: #f9f9f9;
    border-top: 1px solid #ddd;
    margin: 20px auto;
    max-width: 800px;
    text-align: left;
    border-radius: 5px;
}

#additional-info h2 {
    font-size: 26px;
    color: #222;
    font-weight: bold;
    margin-bottom: 15px;
}

#additional-info p, #additional-info ul {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
}

#additional-info ul {
    list-style: none;
    padding: 0;
}

#additional-info ul li {
    background-color: #e9e9e9;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 5px;
    font-size: 18px;
    display: flex;
    align-items: center;
}

#additional-info ul li::before {
    content: "•";
    color: #4CAF50;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

@media (max-width: 768px) {
    .intro-section p, #additional-info p, #additional-info ul li {
        font-size: 16px;
    }

    #additional-info h2 {
        font-size: 22px;
    }

    #map {
        height: 300px;
    }

    #filters {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #filters label {
        margin: 5px 0;
    }
}
