/* ===============================
   GOOGLE MAPS SECTION STYLES
=============================== */

.google-maps-section {
    position: relative;
    z-index: 10;
    padding: 4rem 0;
}

.map-container {
    margin-top: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.google-map {
    width: 100%;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.google-map:hover {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Map Placeholder Styles */
.map-placeholder {
    background: rgba(26, 26, 26, 0.6);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4rem 2rem;
    text-align: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-content {
    max-width: 500px;
    width: 100%;
}

.placeholder-content i {
    font-size: 4rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.placeholder-content h3 {
    font-family: var(--serif);
    font-weight: var(--medium);
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.placeholder-content p {
    font-family: var(--sans);
    font-weight: var(--light);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.placeholder-requirements {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.placeholder-requirements h4 {
    font-family: var(--serif);
    font-weight: var(--medium);
    color: var(--white-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.placeholder-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.placeholder-requirements li {
    font-family: var(--sans);
    font-weight: var(--light);
    color: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.placeholder-requirements li:last-child {
    border-bottom: none;
}

/* Info Window Styles */
.map-info-window {
    padding: 1rem;
    max-width: 300px;
}

.map-info-window h4 {
    font-family: var(--serif);
    font-weight: var(--medium);
    color: var(--main-red);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.map-info-window p {
    font-family: var(--sans);
    font-weight: var(--light);
    color: #333;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

/* Google Maps UI Customization */
.gm-style-iw-gd {
    border-radius: 8px !important;
}

.gm-style-iw-t::after {
    background: linear-gradient(45deg, var(--accent), var(--main-red-3)) !important;
}

.gm-style .gm-style-iw-c {
    border-radius: 8px !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Loading State */
.google-map.loading {
    background: rgba(26, 26, 26, 0.6);
    position: relative;
}

.google-map.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: mapLoading 1s linear infinite;
    z-index: 10;
}

@keyframes mapLoading {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .google-maps-section {
        padding: 3rem 0;
    }
    
    .map-container {
        margin-top: 2rem;
        border-radius: 12px;
    }
    
    .google-map {
        border-radius: 12px;
    }
    
    .map-placeholder {
        padding: 3rem 1.5rem;
        border-radius: 12px;
        min-height: 350px;
    }
    
    .placeholder-content i {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .google-maps-section {
        padding: 2rem 0;
    }
    
    .map-container {
        margin-top: 1.5rem;
        border-radius: 10px;
    }
    
    .google-map {
        border-radius: 10px;
        height: 300px !important;
    }
    
    .map-placeholder {
        padding: 2rem 1rem;
        border-radius: 10px;
        min-height: 300px;
    }
    
    .placeholder-content i {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .placeholder-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .placeholder-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .placeholder-requirements {
        padding: 1rem;
    }
    
    .placeholder-requirements h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .placeholder-requirements li {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
}

@media (max-width: 480px) {
    .google-maps-section {
        padding: 1.5rem 0;
    }
    
    .map-container {
        border-radius: 8px;
    }
    
    .google-map {
        border-radius: 8px;
        height: 250px !important;
    }
    
    .map-placeholder {
        padding: 1.5rem 0.75rem;
        border-radius: 8px;
        min-height: 250px;
    }
    
    .placeholder-content i {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .placeholder-content h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    
    .placeholder-content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .placeholder-requirements {
        padding: 0.75rem;
    }
    
    .placeholder-requirements h4 {
        font-size: 0.9rem;
    }
    
    .placeholder-requirements li {
        font-size: 0.8rem;
    }
    
    .map-info-window {
        padding: 0.75rem;
        max-width: 250px;
    }
    
    .map-info-window h4 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }
    
    .map-info-window p {
        font-size: 0.85rem;
    }
}