/* ==========================================
   HOME.CSS - Michelle Langan Mediation Law Firm
   MOBILE RESPONSIVE VERSION
   
   TABLE OF CONTENTS
   ==========================================
   0. Hero Section
   1. What I Do Section
   2. What I Don't Do Section
   3. Key Statistics Section
   4. Responsive Adjustments
      4.1 Large Screens (< 1020px)
      4.2 Mobile (< 768px)
      4.3 Small Mobile (< 480px)
   ========================================== */

/* ========================================
   0. HERO SECTION
======================================== */

.home-hero {
    background: var(--gradient-blue);
    color: var(--text-light);
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(67, 56, 202, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
    text-align: center;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.profile-section {
    align-items: center;
    width: 100%;
}

.profile-image {
    flex-shrink: 0;
}

.profile-image img {
    width: 460px;
    height: 340px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    border: 4px solid var(--warm-tan);
    box-shadow: var(--shadow-dramatic);
    image-rendering: -webkit-optimize-contrast;
    -ms-interpolation-mode: bicubic;
}

.profile-info {
    flex: 1;
    min-width: 0;
    margin-left: var(--space-md);
    margin-top: var(--space-xl);
}

.profile-info h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: var(--space-sm);
    color: var(--text-light);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.profile-info .subtitle {
    color: var(--warm-peach);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.profile-info .formerly {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    font-size: 1rem;
}

.profile-info .contact-info-hero {
    background: none;
    display: flex;
    align-items: center;
    column-gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-phone,
.contact-email {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.contact-phone:hover,
.contact-email:hover {
    color: var(--text-white);
    border-bottom-color: var(--warm-tan);
    transform: translateY(-1px);
}

.contact-separator-hero {
    color: var(--warm-tan);
    font-weight: bold;
    font-size: 1.2em;
    user-select: none;
}

.certification-section {
    background: var(--bg-white);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-strong);
    border-top: 4px solid var(--primary-navy);
    margin-bottom: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.certification-section h2 {
    color: var(--primary-navy);
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.certifications-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
}

.indiv-certification {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    padding: var(--space-md);
    align-items: center;
    text-align: center;
    background: var(--gradient-light);
    box-shadow: var(--shadow-subtle);
}

.certification-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.075em;
}

.certification-section img {
    width: 180px;
    max-width: 100%;
    height: auto;
    filter: brightness(1.1);
    transition: transform 0.3s ease;
}

.vcard-button {
    color: var(--text-light);
    margin: var(--space-xs) var(--space-sm);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border-bottom: 2px var(--warm-tan) solid;
}

.vcard-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
    background: var(--gradient-blue);
    border-color: var(--warm-tan);
}

.vcard-button:active {
    transform: translateY(0);
}

/* ========================================
   1. WHAT I DO SECTION
======================================== */

.what-i-do {
    background: var(--bg-white);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-strong);
    border-top: 4px solid var(--primary-navy);
    margin-bottom: var(--space-lg);
    width: 100%;
}

.what-i-do h2 {
    color: var(--primary-navy);
    font-size: 2.25rem;
    margin-bottom: var(--space-lg);
    text-align: center;
}

.intro-statement {
    font-size: 1.25rem;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--space-2xl) auto;
    color: var(--text-secondary);
}

.practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
    width: 100%;
}

.practice-area {
    background: var(--gradient-light);
    padding: var(--space-xl);
    border-left: 4px solid var(--warm-tan);
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
}

.practice-area:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-left-color: var(--accent-blue);
}

.practice-area h3 {
    color: var(--primary-navy);
    font-size: 1.25rem;
    margin: 0;
}

.practice-area .category-details {
    list-style: circle;
    padding: 0;
    margin: var(--space-md) 0 0 var(--space-md);
    font-size: 1.125rem;
}

.practice-note {
    padding-top: var(--space-lg);
    font-size: 1.25rem;
    text-align: center;
}

/* ========================================
   2. WHAT I DON'T DO SECTION
======================================== */

.what-i-dont-do {
    box-shadow: var(--shadow-strong);
    background: var(--gradient-blue);
    color: var(--text-light);
    padding: var(--space-3xl);
    margin-bottom: var(--space-lg);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.what-i-dont-do::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 25% 25%, rgba(177, 134, 110, 0.15) 0%, transparent 50%);
    opacity: 0.5;
}

.what-i-dont-do h2 {
    color: var(--warm-peach);
    position: relative;
    z-index: 2;
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: var(--space-lg);
}

.what-i-dont-do > p {
    position: relative;
    z-index: 2;
    font-size: 1.25rem;
    text-align: center;
}

.exclusions-list {
    list-style: none;
    padding: 0;
    margin: var(--space-xl) auto;
    max-width: 800px;
    position: relative;
    z-index: 2;
    width: 100%;
}

.exclusions-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-lg);
    border-left: 4px solid var(--warm-tan);
    backdrop-filter: blur(10px);
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.exclusions-list li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.exclusions-list strong {
    color: var(--text-light);
    font-size: 1.2rem;
}

.redirect-note {
    position: relative;
    z-index: 2;
    text-align: center;
    font-size: 1.25rem;
    margin-top: var(--space-xl);
}

.redirect-note a {
    color: var(--warm-peach);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.redirect-note a:hover {
    color: var(--text-light);
}

/* ========================================
   3. KEY STATISTICS SECTION
======================================== */

.key-statistics {
    background: var(--gradient-light);
    padding: var(--space-3xl);
    border-left: 6px solid var(--warm-brown);
    box-shadow: var(--shadow-medium);
    margin-bottom: var(--space-lg);
    width: 100%;
}

.key-statistics h2 {
    color: var(--primary-navy);
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-lg);
    width: 100%;
}

.stat-item {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: var(--space-sm);
    line-height: 1;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stats-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    width: 100%;
}

.stats-details h3 {
    font-size: 1.75rem;
    text-align: center;
    margin: var(--space-lg) auto;
}

.stats-details ul {
    font-size: 1.25rem;
    max-width: 100%;
}

.stats-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: var(--space-md);
}

/* ========================================
   4. RESPONSIVE ADJUSTMENTS
======================================== */

/* 4.1 LARGE SCREENS (< 1020px) */
@media (max-width: 1020px) {
    .home-hero {
        padding: var(--space-xl) 0;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 var(--space-md);
    }
    
    .profile-section {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .profile-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .profile-image img {
        width: 100%;
        max-width: 440px;
        height: auto;
    }

    .profile-info {
        width: 100%;
    }

    .profile-info h2 {
        font-size: 2.5rem;
    }

    .profile-info .contact-info-hero {
        justify-content: center;
    }
}

/* 4.2 MOBILE (< 768px) */
@media (max-width: 768px) {
    .home-hero {
        padding: var(--space-lg) 0;
    }

    .hero-content {
        padding: 0 var(--space-sm);
        gap: var(--space-lg);
    }
    
    .profile-section {
        gap: var(--space-md);
    }

    .profile-image img {
        max-width: 320px;
    }

    .profile-info h2 {
        font-size: 2rem;
    }

    .profile-info .subtitle {
        font-size: 1.125rem;
    }

    .profile-info .contact-info-hero {
        font-size: 1.125rem;
        justify-content: center;
    }

    .certification-section {
        padding: var(--space-xl);
    }

    .certification-section h2 {
        font-size: 1.875rem;
    }

    .certifications-wrapper {
        flex-direction: column;
        gap: var(--space-md);
    }

    .indiv-certification {
        max-width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .practice-areas-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .practice-area {
        padding: var(--space-lg);
    }
    
    .what-i-do,
    .what-i-dont-do,
    .key-statistics {
        padding: var(--space-xl);
    }

    .what-i-do h2,
    .what-i-dont-do h2,
    .key-statistics h2 {
        font-size: 1.875rem;
    }

    .intro-statement {
        font-size: 1.125rem;
    }

    .exclusions-list {
        margin: var(--space-lg) var(--space-sm);
    }

    .exclusions-list li {
        padding: var(--space-md);
        font-size: 1rem;
    }
}

/* 4.3 SMALL MOBILE (< 480px) */
@media (max-width: 480px) {
    .home-hero {
        padding: var(--space-md) 0;
    }

    .hero-content {
        padding: 0 var(--space-xs);
    }

    .profile-section {
        gap: var(--space-sm);
    }

    .profile-image img {
        max-width: 280px;
        border-width: 3px;
    }

    .profile-info h2 {
        font-size: 1.75rem;
    }

    .profile-info .subtitle {
        font-size: 1rem;
    }

    .profile-info .contact-info-hero {
        flex-direction: column;
        gap: var(--space-xs);
        font-size: 1rem;
        align-items: center;
    }

    .contact-separator-hero {
        display: none;
    }

    .certification-section {
        padding: var(--space-lg);
    }

    .certification-section h2 {
        font-size: 1.5rem;
    }

    .certification-text {
        font-size: 0.75rem;
    }

    .certification-section img {
        width: 140px;
    }

    .what-i-do,
    .what-i-dont-do,
    .key-statistics {
        padding: var(--space-lg);
    }

    .what-i-do h2,
    .what-i-dont-do h2,
    .key-statistics h2 {
        font-size: 1.5rem;
    }
    
    .intro-statement,
    .what-i-dont-do > p,
    .redirect-note {
        font-size: 1rem;
    }
    
    .practice-area {
        padding: var(--space-md);
    }

    .practice-area h3 {
        font-size: 1.125rem;
    }

    .practice-area .category-details {
        font-size: 1rem;
        margin-left: var(--space-sm);
    }

    .practice-note {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.875rem;
    }

    .stat-item {
        padding: var(--space-md);
    }

    .stats-details h3 {
        font-size: 1.375rem;
    }

    .stats-details ul {
        font-size: 1rem;
        padding-left: var(--space-lg);
    }
    
    .exclusions-list {
        margin: var(--space-md) 0;
    }

    .exclusions-list li {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9375rem;
    }

    .exclusions-list strong {
        font-size: 1rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
}