.location-section {
    position: relative;
    max-width: 1440px;
    margin: 0px auto 0px;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.location-map {
    position: relative;
    width: 100%;
    height: 100%;
    background: #f1f5f9; 
}

.location-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    z-index: 100;
}

.map-loading-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    z-index: 101; 
    pointer-events: none;
}
.map-loading-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    box-shadow: 0 0 0 2px rgba(148,163,184,.35), 0 12px 24px rgba(15,23,42,.15);
}

.location-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.map-skeleton {
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background:
        linear-gradient(100deg,
            rgba(255,255,255,0) 0%,
            rgba(255,255,255,.55) 40%,
            rgba(255,255,255,0) 80%) 0 0 / 200% 100%,
        linear-gradient(#e2e8f0,#e2e8f0); 
    animation: mapShimmer 1.2s linear infinite;
}

@keyframes mapShimmer {
    to { background-position: -200% 0, 0 0; }
}

.location-button {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.oai-dots {
    display: inline-flex;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15,23,42,.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(15,23,42,.25);
    animation: groupBreath 2.4s ease-in-out infinite;
}

.oai-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
    opacity: .9;
    transform-origin: 50% 60%;
    animation: dotGoogly 1.1s ease-in-out infinite;
    box-shadow: 0 0 0 rgba(0,0,0,0);
}


.oai-dots span:nth-child(1) { background: #1A73E8; } 
.oai-dots span:nth-child(2) { background: #EA4335; } 
.oai-dots span:nth-child(3) { background: #FBBC04; } 
.oai-dots span:nth-child(4) { background: #34A853; } 


.oai-dots span:nth-child(1) { animation-delay: 0s;    }
.oai-dots span:nth-child(2) { animation-delay: .12s; }
.oai-dots span:nth-child(3) { animation-delay: .24s; }
.oai-dots span:nth-child(4) { animation-delay: .36s; }

@keyframes dotGoogly {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 0 rgba(0,0,0,0));
  }
  40% {
    transform: translateY(-4px) scale(1.08);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,.18));
  }
  60% {
    transform: translateY(-2px) scale(1.04);
  }
}

@keyframes groupBreath {
  0%, 100% { transform: scale(1); }
  50%     { transform: scale(1.02); }
}

@media (prefers-reduced-motion: reduce) {
  .oai-dots { animation: none; }
  .oai-dots span { animation: none; }
}

.map-iframe.is-hidden { opacity: 0; }
.map-iframe { transition: opacity .28s ease; }
.map-loading-overlay.fade-out { opacity: 0; transition: opacity .28s ease; }

.map-iframe {
    transition: opacity .28s ease;
    background: transparent;
}

.map-loading-overlay.fade-out {
    opacity: 0;
    transition: opacity .28s ease;
}

.location-button.primary {
    background-color: rgba(37, 99, 235, 0.9);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.location-button.primary:hover {
    background-color: rgba(29, 78, 216, 0.9);
}

.location-button.secondary {
    background-color: rgba(248, 250, 252, 0.9);
    color: #475569;
    border: 1px solid rgba(226, 232, 240, 0.3);
}

.location-button.secondary:hover {
    background-color: rgba(241, 245, 249, 0.9);
}

.location-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.share-container {
    display: flex;
    background-color: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.3);
    border-radius: 6px;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.share-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    position: relative;
}

.share-button:first-child {
    border-right: 1px solid rgba(226, 232, 240, 0.3);
}

.share-button:hover {
    background-color: rgba(226, 232, 240, 0.2);
    color: #334155;
}

.share-button:active {
    background-color: rgba(226, 232, 240, 0.3);
    transform: scale(0.98);
}

.share-button svg {
    transition: inherit;
}

.whatsapp-button:hover svg {
    fill: #25D366;
}

.park-hours-info {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 101;
    background-color: rgba(248, 250, 252, 0.9);
    border: 2px solid rgba(148, 163, 184, 0.4);
    border-radius: 6px;
    padding: 10px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #475569;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.park-hours-info svg {
    color: #10b981;
}

@keyframes pulseBorder {
    0%, 100% {
        border-color: rgba(148, 163, 184, 0.4);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        border-color: rgba(59, 130, 246, 0.6);
        box-shadow: 0 2px 12px rgba(59, 130, 246, 0.25), 0 0 16px rgba(59, 130, 246, 0.15);
    }
}

.park-hours-info.pulse-border {
    animation: pulseBorder 1.4s ease-in-out;
}

@keyframes pulseButton {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3), 0 0 20px rgba(37, 99, 235, 0.15);
    }
}

.location-button.primary.pulse-button {
    animation: pulseButton 1.2s ease-in-out;
}

@media screen and (max-width: 768px) {
    .location-section {
        aspect-ratio: unset;
        height: 600px;
        margin: 0 auto 0px;
    }

    .location-actions {
        flex-direction: column;
        align-items: center;
    }

    .location-button {
        width: 200px;
        font-size: 16px;
        padding: 14px 24px;
        margin-bottom: 8px;
    }

    .share-container {
        width: 100px;
    }

    .share-button {
        padding: 14px 12px;
    }

    .park-hours-info {
        top: 15px;
        padding: 8px 16px;
        font-size: 12px;
    }

    .park-hours-info svg {
        width: 12px;
        height: 12px;
        margin-right: 4px;
    }
}

@media screen and (max-width: 480px) {
    .location-section {
        height: 500px;
        margin: 0 auto 0px;
    }

    .location-overlay {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .location-button {
        width: 180px;
        font-size: 15px;
        margin-bottom: 8px;
    }

    .share-container {
        width: 90px;
    }

    .share-button {
        padding: 12px 10px;
    }

    .park-hours-info {
        top: 12px;
        padding: 6px 12px;
        font-size: 11px;
    }
}
