/*
Theme Name: Astra Child
Template: astra
Description: Child theme for Astra
Version: 1.0.0
Author: Your Name
*/

/* ============================================================================
   SERVICE AREA TABS COMPONENT
   ============================================================================ */
.service-area-tabs {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 0;
}

.tab-button {
    background: transparent !important;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    bottom: -2px;
}

.tab-button:hover {
    color: #1f2937;
    background-color: transparent !important;
}

.tab-button.active {
    background: transparent !important;
    color: #1f2937;
    border-bottom-color: #d4af37;
    font-weight: 600;
}

.tab-content-wrapper {
    position: relative;
    min-height: 300px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Locations as stacked rows */
.locations-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 0;
}

.location-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.location-card:hover {
    border-color: #d4af37;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateX(4px);
}

.location-card h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.select-area-btn {
    background-color: #d4af37;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.select-area-btn:hover {
    background-color: #b8941f;
}

.location-card:hover .select-area-btn {
    background-color: #b8941f;
}

.tab-content p {
    text-align: center;
    color: #6b7280;
    padding: 60px 20px;
    font-size: 16px;
}

@media (max-width: 768px) {
    .tab-nav { gap: 5px; }
    .tab-button { padding: 10px 16px; font-size: 14px; }
    
    .location-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px 20px;
    }
    
    .select-area-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .service-area-tabs { padding: 0 15px; }
    .tab-button { padding: 8px 12px; font-size: 13px; }
}




