/**
 * Project Map Styles
 * Clean, comprehensive styles for the country-based project map
 */

/* Main map section */
.map.project-page-map {
    padding: 60px 0;
}

/* Top text container */
.top-text-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 40px;
}

.project-page-map .left-container .heading {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0;
    color: #333;
}

.project-page-map .right-container .subtext {
    margin-bottom: 20px;
    color: #1e4a53;
    line-height: 1.2;
}

/* Filter buttons styling */
.map-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.filter-btn {
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: #1E4A53;
    color: white;
}


/* Map container */
.map-inner {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-map {
    width: 100%;
    height: 575px;
    min-height: 400px;
}

/* Google Maps UI adjustments */
.project-map .gm-style-iw {
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    padding: 0px !important;
}

.project-map .gm-style-iw-d {
    overflow: hidden !important;
}

/* Map Info Window Styling */
.map-info-window {
    padding: 15px !important;
    font-family: inherit;
    max-width: 373px;
    min-width: 350px;
}

.map-info-window h4 {
    margin: 0 0 10px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: bold;
    color: #1E4A53;
    line-height: auto;
}

.map-info-content {
    margin: 10px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    color: #1E4A53;
    line-height: auto;
}

.map-info-stats {
    margin: 10px 0;
    padding: 8px 0;
    border-top: 1px solid #eee;
}

.map-info-stats p {
    margin: 0;
    color: #333;
    font-size: 14px;
}

.map-info-actions {
    margin-top: 12px;
}

/* Close button styling */
.gm-style .gm-style-iw-c {
    border-radius: 8px 8px 0 0;
}

.gm-style .gm-style-iw-t::after {
    background: white;
    border-radius: 0 0 2px 0;
}

/* Custom marker styles (if needed for future enhancements) */
.custom-marker {
    background: #FF6B35;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
    .map.project-page-map {
        padding: 40px 0;
    }
    
    .top-text-container {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .left-container .heading {
        font-size: 2rem;
    }
    
    .project-map {
        height: 400px;
        min-height: 350px;
    }
    
    .map-filter-buttons {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .map-filter-buttons {
        gap: 5px;
    }
    
    .filter-btn {
        padding: 6px 10px;
        font-size: 13px;
        min-width: 70px;
    }
    
    .left-container .heading {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .project-map {
        height: 350px;
        min-height: 300px;
    }
} 