/*
Theme Name: Westhawk - Astra Child
Template: astra
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Map Styles */

/* Main container with rounded borders */
.map-page-container {
    max-width: 1200px;
    margin: 20px auto;
    border-radius: 125px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: #fff;
    min-height: 80vh;
}

/* Layout container - 70/30 split */
.map-layout {
    display: flex;
    height: 80vh;
    min-height: 80vh;
}

/* Map section - 70% width */
.map-section {
    flex: 0 0 70%;
    position: relative;
    background: #f0f0f0;
}

/* Map container */
#interactive-map {
    height: 100%;
    width: 100%;
    border: none;
}

/* Controls section - 30% width with black background */
.map-controls {
    flex: 0 0 30%;
    background: #000;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Controls title */
.map-controls h2 {
    color: #fff;
    font-size: 24px;
    margin: 0 0 30px 0;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.5px;
}

/* Button container */
.category-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Individual buttons */
.category-btn,
.clear-all-btn {
    background: transparent;
    border: none;
    color: #CFC39B;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

/* Button hover effect */
.category-btn:hover,
.clear-all-btn:hover {
    background: rgba(207, 195, 155, 0.1);
    transform: translateX(5px);
}

/* Active button state */
.category-btn.active {
    background: rgba(207, 195, 155, 0.15);
    border-left: 4px solid #CFC39B;
    padding-left: 16px;
}

/* Material Icons styling */
.category-btn .material-icons,
.clear-all-btn .material-icons {
    font-size: 24px;
    min-width: 24px;
}

/* Clear all button special styling */
.clear-all-btn {
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 25px;
    color: #ff4757;
}

.clear-all-btn:hover {
    background: rgba(255, 71, 87, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .map-page-container {
        margin: 15px;
        border-radius: 15px;
    }
    
    .map-layout {
        height: 500px;
        min-height: 500px;
    }
    
    .map-controls h2 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .category-btn,
    .clear-all-btn {
        font-size: 14px;
        padding: 12px 15px;
    }
}

@media (max-width: 768px) {
    .map-page-container {
        margin: 10px;
        border-radius: 12px;
    }
    
    /* Stack vertically on mobile */
    .map-layout {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }
    
    /* Map takes full width and fixed height */
    .map-section {
        flex: none;
        height: 400px;
        order: 2;
    }
    
    /* Controls at top */
    .map-controls {
        flex: none;
        order: 1;
        padding: 20px;
        border-radius: 12px 12px 0 0;
    }
    
    /* Horizontal button layout on mobile */
    .category-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .category-btn,
    .clear-all-btn {
        flex: 1;
        min-width: calc(50% - 5px);
        justify-content: center;
        font-size: 13px;
        padding: 10px 8px;
        gap: 8px;
    }
    
    .category-btn .material-icons,
    .clear-all-btn .material-icons {
        font-size: 20px;
    }
    
    .map-controls h2 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .clear-all-btn {
        margin-top: 10px;
        border-top: none;
        padding-top: 10px;
        flex: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .map-page-container {
        margin: 5px;
        border-radius: 8px;
    }
    
    .map-section {
        height: 350px;
    }
    
    .map-controls {
        padding: 15px;
    }
    
    .category-btn,
    .clear-all-btn {
        font-size: 12px;
        padding: 8px 6px;
        gap: 6px;
    }
    
    .category-btn .material-icons,
    .clear-all-btn .material-icons {
        font-size: 18px;
    }
    
    .map-controls h2 {
        font-size: 16px;
        margin-bottom: 12px;
    }
}