/* Map Styles */
.map-container {
    position: relative;
    /* For overlay positioning */
    margin-top: 5rem;
    width: 100%;
    height: 450px;
    border-radius: 4px;
    overflow: hidden;
    filter: grayscale(100%) invert(92%) contrast(83%);
    /* Custom dark map style */
    transition: filter 0.3s ease;
}

.map-container:hover {
    filter: none;
    /* Show colors on hover */
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
    /* KEY: Disable interactions with iframe so click goes to overlay */
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.1);
    text-decoration: none;
    cursor: pointer;
}

.map-overlay span {
    opacity: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
    transform: translateY(10px);
}

.map-container:hover .map-overlay span {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .map-container {
        height: 300px;
        margin-top: 3rem;
    }

    .map-overlay span {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
}

/* Floating WhatsApp Button Styles */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    /* Always visible on all devices */
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4),
        0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    animation: whatsapp-pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6),
        0 4px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Pulse Animation */
@keyframes whatsapp-pulse {

    0%,
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4),
            0 2px 6px rgba(0, 0, 0, 0.2),
            0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    50% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4),
            0 2px 6px rgba(0, 0, 0, 0.2),
            0 0 0 15px rgba(37, 211, 102, 0);
    }
}

/* Smaller button on very small screens */
@media (max-width: 480px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-icon {
        width: 28px;
        height: 28px;
    }
}