/**
 * About Page Styles
 * Academic Legal Website
 * 
 * Styles for the about/bio page
 */

/* ============================================================================
   ABOUT HERO SECTION
   ========================================================================= */

.about-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    color: var(--white);
    padding: var(--space-3xl) 0 var(--space-2xl);
    text-align: center;
}

.about-hero h1 {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.about-hero-subtitle {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-lg);
}

.about-hero-credentials {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

/* Uses .hero-credential from home.css */

@media (min-width: 768px) {
    .about-hero h1 {
        font-size: var(--text-4xl);
    }
}

@media (min-width: 1024px) {
    .about-hero h1 {
        font-size: var(--text-5xl);
    }
}

/* ============================================================================
   ABOUT SECTIONS
   ========================================================================= */

.about-section {
    padding: var(--space-3xl) 0;
    border-bottom: 1px solid var(--border-light);
}

.about-section:last-of-type {
    border-bottom: none;
}

.about-section h2 {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--primary);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.about-section h3 {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    font-weight: var(--font-semibold);
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-content p {
    font-size: var(--text-lg);
    line-height: var(--leading-relaxed);
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
}

/* ============================================================================
   EDUCATION LIST
   ========================================================================= */

.education-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.education-item {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.education-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.education-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--accent);
    color: var(--white);
    border-radius: var(--radius-full);
}

.education-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.education-content {
    flex: 1;
}

.education-content h4 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.education-content p {
    font-size: var(--text-base);
    color: var(--text-medium);
    margin-bottom: var(--space-xs);
}

.education-year {
    font-size: var(--text-sm) !important;
    color: var(--text-light) !important;
    font-weight: var(--font-semibold);
}

@media (max-width: 767px) {
    .education-item {
        flex-direction: column;
        text-align: center;
    }
    
    .education-icon {
        margin: 0 auto;
    }
}

/* ============================================================================
   EXPERTISE GRID
   ========================================================================= */

.expertise-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.expertise-item {
    padding: var(--space-xl);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.expertise-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.expertise-item h4 {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.expertise-item ul {
    list-style-position: inside;
    padding: 0;
    margin: 0;
}

.expertise-item li {
    font-size: var(--text-base);
    color: var(--text-medium);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-sm);
    padding-left: var(--space-sm);
}

.expertise-item li::marker {
    color: var(--accent);
}

/* ============================================================================
   RESEARCH STATEMENT
   ========================================================================= */

.research-statement {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-2xl);
    background-color: var(--light-bg);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-md);
}

.research-statement p {
    font-size: var(--text-xl);
    font-style: italic;
    line-height: var(--leading-relaxed);
    color: var(--text-dark);
    margin: 0;
}

/* ============================================================================
   DISCLAIMER BOX (Softened Design)
   ========================================================================= */

.disclaimer-box {
    padding: var(--space-lg);
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--text-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}

.disclaimer-box h4 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--text-medium);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.disclaimer-box h4 svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--text-light);
}

.disclaimer-box p {
    font-size: var(--text-sm);
    color: var(--text-medium);
    line-height: var(--leading-relaxed);
    margin-bottom: var(--space-sm);
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

.disclaimer-box strong {
    color: var(--text-dark);
    font-weight: var(--font-medium);
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================= */

@media (max-width: 767px) {
    .about-section {
        padding: var(--space-2xl) 0;
    }
    
    .about-section h2 {
        font-size: var(--text-2xl);
    }
    
    .research-statement p {
        font-size: var(--text-lg);
    }
}
    .about-content p {
        font-size: var(--text-base);
    }
}

/* ============================================================================
   PROFESSIONAL PHOTO INTEGRATION (When photos available)
   ========================================================================= */

/* Photo-ready hero layout */
.about-hero-with-photo {
    text-align: left;
}

.about-hero-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    align-items: center;
    max-width: var(--container-xl);
    margin: 0 auto;
}

@media (min-width: 768px) {
    .about-hero-split {
        grid-template-columns: 2fr 1fr;
    }
}

.about-hero-photo {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-xl);
    border: 4px solid rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-xl);
    margin: 0 auto;
    display: block;
}

@media (max-width: 767px) {
    .about-hero-split {
        grid-template-columns: 1fr;
    }
    
    .about-hero-with-photo {
        text-align: center;
    }
    
    .about-hero-photo {
        max-width: 300px;
        order: -1;
        margin-bottom: var(--space-lg);
    }
}

/* ============================================================================
   TIMELINE ADJUSTMENTS FOR ABOUT PAGE
   ========================================================================= */

/* Timeline already styled in timeline.css, just minor about-page tweaks */
.about-section .timeline {
    max-width: 900px;
    margin: 0 auto;
}

/* Simpler year-only date for about page timeline */
.about-section .timeline-date-year {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
}

.about-section .timeline-date-month,
.about-section .timeline-date-day {
    display: none; /* Hide month/day for about page timeline, show year only */
}

/* ============================================================================
   EXTENDED BIO SECTIONS
   ========================================================================= */

.about-section h3 {
    position: relative;
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.about-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 4rem;
    height: 3px;
    background: var(--accent);
    border-radius: var(--radius-sm);
}

@media (max-width: 767px) {
    .about-section h3 {
        font-size: var(--text-xl);
    }
}

/* ============================================================================
   PHASE 6: CONTACT CTA SECTION
   ========================================================================= */

.contact-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    margin-top: var(--space-3xl);
}

.contact-cta .container {
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.contact-cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-cta h2 {
    color: white;
    margin-bottom: var(--space-lg);
}

.contact-cta p {
    font-size: var(--text-lg);
    opacity: 0.9;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.contact-cta .btn-primary {
    background: white;
    color: var(--primary);
    border-color: white;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.contact-cta .btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-cta .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Dark mode adjustments */
[data-theme="dark"] .contact-cta {
    background: linear-gradient(135deg, var(--dark-surface) 0%, #1e3a5f 100%);
}

/* Responsive */
@media (max-width: 640px) {
    .contact-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
