/* Maps CSS for AtticCleaning.com */

/* Map Container Styles */
.map-container {
    width: 100%;
    height: 400px;
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Loading state */
.map-container.loading {
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container.loading::after {
    content: "Loading map...";
    color: #666;
    font-size: 14px;
}

/* Error state */
.map-container.error {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fee;
    color: #c33;
}

/* Map controls override */
.map-container .gm-style-cc,
.map-container .gmnoprint {
    opacity: 0.8;
}

/* Info window styles */
.map-info-window {
    padding: 10px;
    max-width: 250px;
}

.map-info-window h3 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #2c5282;
}

.map-info-window p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .map-container {
        height: 300px;
        margin: 15px -15px;
        border-radius: 0;
    }
}

/* Service area overlay */
.service-area-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: white;
    padding: 10px 15px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    z-index: 1;
}

.service-area-overlay h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #2c5282;
}

/* Marker styles */
.custom-marker {
    width: 30px;
    height: 30px;
    background-color: #3182ce;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

/* Directions panel */
.directions-panel {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.directions-panel h4 {
    margin: 0 0 10px 0;
    color: #2c5282;
}

/* Print styles */
@media print {
    .map-container {
        height: 300px;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}