/* About Page Styles */

/* Attorney section */
.attorney-profile-card {
    display: flex;
    flex-direction: row;
    box-shadow: 0 15px 25px -3px rgba(0, 0, 0, 0.15), 0 8px 12px -2px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.attorney-profile-card:hover {
    box-shadow: 0 20px 30px -5px rgba(0, 0, 0, 0.2), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.attorney-image-container {
    flex: 0 0 30%;
    max-height: 450px;
    overflow: hidden;
    position: relative;
}

.attorney-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.1), transparent);
}

.attorney-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: all 0.5s ease;
}

.attorney-image-container img:hover {
    transform: scale(1.03);
}

.attorney-info-container {
    flex: 1;
    padding: 2.5rem;
    position: relative;
}

/* Modern Tab System */
.tab-container {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.tab-buttons {
    display: flex;
    border-radius: 9999px;
    background-color: #f3f4f6;
    padding: 0.25rem;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 10;
    width: auto;
    min-width: 500px;
}

.tab-button {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #6b7280;
    border-radius: 9999px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}

.tab-button:hover {
    color: #1f2937;
}

.tab-button.active {
    color: #1f2937;
    font-weight: 700;
}

.tab-slider {
    position: absolute;
    top: 0.25rem;
    left: 0.25rem;
    height: calc(100% - 0.5rem);
    border-radius: 9999px;
    background-color: white;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, width 0.3s ease;
    z-index: 1;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.tab-content.active {
    display: block;
}

.tab-contents {
    margin-top: 1rem;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .attorney-profile-card {
        flex-direction: column;
    }
    
    .attorney-image-container {
        flex: 0 0 100%;
        max-height: 300px;
    }
    
    .attorney-image-container::after {
        display: none;
    }
    
    .tab-buttons {
        width: 100%;
        min-width: unset;
    }
    
    .tab-button {
        padding: 0.75rem 0.5rem;
        font-size: 0.875rem;
        line-height: 1.2;
    }
    
    .attorney-info-container {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .attorney-profile-card {
        margin: 0 0.5rem;
    }
    
    .tab-buttons {
        border-radius: 0.5rem;
    }
    
    .tab-button {
        font-size: 0.75rem;
        padding: 0.75rem 0.25rem;
    }
    
    .attorney-image-container {
        max-height: 250px;
    }
    
    .attorney-info-container {
        padding: 1rem;
    }
    
    .section-title {
        margin-bottom: 1rem;
    }
    
    .tab-slider {
        border-radius: 0.5rem;
    }
}

/* Practice areas */
.practice-area {
    transition: all 0.3s ease;
}

.practice-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Experience badges */
.experience-badge {
    transition: all 0.3s ease;
}

.experience-badge:hover {
    background-color: #fef3c7;
}

/* Divider animation */
.divider {
    position: relative;
    overflow: hidden;
}

.divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: all 0.8s ease;
}

.divider:hover::after {
    left: 100%;
} 