/* ===== Map Section Background Fix ===== */

/* Remove the distracting lines pattern behind the office box */
.map-placeholder::before {
    display: none; /* Remove the animated line pattern */
}

/* Provide a cleaner background for the map section */
.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-secondary), var(--bg-tertiary));
    position: relative;
    overflow: hidden;
}

/* Add a subtle pattern instead of the distracting lines */
.map-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(135, 197, 230, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(135, 197, 230, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Ensure the office box is clearly visible */
.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: var(--card-bg);
    padding: var(--spacing-2xl);
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px var(--card-shadow);
    z-index: 10; /* Increase z-index to ensure it's above any background */
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px); /* Add subtle blur effect */
}

/* Make sure the overlay content is clearly readable */
.map-overlay h3 {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-weight: 600;
}

.map-overlay p {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

/* Improve the button styling */
.map-overlay .btn {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    display: inline-block;
    border: none;
    box-shadow: 0 4px 12px rgba(135, 197, 230, 0.3);
}

.map-overlay .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(135, 197, 230, 0.4);
}