/**
 * About Page Styles
 * MyHomePros - About Us Page
 * 
 * Requires: main.css for variables, page.css for breadcrumb base styles
 * 
 * @package MyHomePros
 */

/* ========================================
   SHARED ELEMENTS
   ======================================== */
.about-section-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.about-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: var(--primary-500);
    color: white !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.about-btn-primary:hover {
    background: var(--primary-600);
    color: white !important;
}

.about-btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.about-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--primary-600) !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.about-btn-white:hover {
    background: var(--primary-50);
    color: var(--primary-700) !important;
}

/* ========================================
   HERO SECTION
   ======================================== */
.about-hero {
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
    padding: 4rem 1.5rem 5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .about-hero {
        padding: 5rem 1.5rem 6rem;
    }
}

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

/* Breadcrumb in hero - light theme override */
.about-hero .mhp-breadcrumb {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.about-hero .mhp-breadcrumb-link {
    color: var(--slate-400);
}

.about-hero .mhp-breadcrumb-link:hover {
    color: var(--primary-400);
}

.about-hero .mhp-breadcrumb-separator {
    color: var(--slate-500);
}

.about-hero .mhp-breadcrumb-current {
    color: var(--slate-300);
}

.about-hero-title {
    font-family: 'DM Serif Display', serif;
    font-size: 2.25rem;
    font-weight: 400;
    color: white;
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .about-hero-title {
        font-size: 3rem;
    }
}

.about-hero-subtitle {
    font-size: 1.125rem;
    color: var(--slate-300);
    margin: 0;
    line-height: 1.7;
}

/* ========================================
   MISSION SECTIONS (About & Our Mission)
   ======================================== */
.about-mission {
    padding: 4rem 1.5rem;
    background: white;
}

@media (min-width: 768px) {
    .about-mission {
        padding: 5rem 1.5rem;
    }
}

.about-mission-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .about-mission-inner {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 4rem;
    }
}

/* Reverse layout for alternating sections */
.about-mission-reverse {
    background: var(--slate-50);
}

/* Mobile: Force content before image in reverse section */
.about-mission-reverse .about-mission-image {
    order: 1;
}

.about-mission-reverse .about-mission-content {
    order: 0;
}

@media (min-width: 768px) {
    .about-mission-reverse .about-mission-inner {
        grid-template-columns: 0.8fr 1.2fr;
    }
    
    .about-mission-reverse .about-mission-image {
        order: -1;
    }
    
    .about-mission-reverse .about-mission-content {
        order: 0;
    }
}

.about-mission-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.875rem;
    font-weight: 400;
    color: var(--slate-900);
    margin: 0 0 1.25rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .about-mission-content h2 {
        font-size: 2.125rem;
    }
}

.about-mission-content p {
    font-size: 1rem;
    color: var(--slate-600);
    margin: 0 0 1rem;
    line-height: 1.75;
}

.about-mission-content p:last-child {
    margin-bottom: 0;
}

.about-mission-content strong {
    color: var(--slate-800);
}

.about-mission-image {
    text-align: center;
}

.about-mission-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ========================================
   VALUES SECTION
   ======================================== */
.about-values {
    padding: 4rem 1.5rem;
    background: var(--slate-50);
}

@media (min-width: 768px) {
    .about-values {
        padding: 5rem 1.5rem;
    }
}

.about-values-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.about-values-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.about-values-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--slate-900);
    margin: 0;
}

.about-values-grid {
    display: grid;
    gap: 1.5rem;
}

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

.about-value-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    text-align: center;
    transition: all 0.3s;
}

.about-value-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.about-value-icon {
    width: 56px;
    height: 56px;
    background: var(--primary-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.about-value-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-500);
}

.about-value-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--slate-900);
    margin: 0 0 0.75rem;
}

.about-value-card p {
    font-size: 0.95rem;
    color: var(--slate-600);
    margin: 0;
    line-height: 1.65;
}

/* ========================================
   MATCHING ADVANTAGE SECTION
   ======================================== */
.about-matching {
    padding: 4rem 1.5rem;
    background: white;
}

@media (min-width: 768px) {
    .about-matching {
        padding: 5rem 1.5rem;
    }
}

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

.about-matching-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--slate-900);
    margin: 0 0 1.25rem;
}

.about-matching-content > p {
    font-size: 1rem;
    color: var(--slate-600);
    margin: 0 0 1rem;
    line-height: 1.75;
}

.about-matching-links {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-matching-links li {
    margin: 0;
}

.about-matching-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-500);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
}

.about-matching-links a:hover {
    color: var(--primary-600);
}

.about-matching-links a:hover svg {
    transform: translateX(4px);
}

.about-matching-links svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.2s;
}

/* ========================================
   WHY CHOOSE US SECTION
   ======================================== */
.about-why {
    padding: 4rem 1.5rem;
    background: var(--slate-50);
}

@media (min-width: 768px) {
    .about-why {
        padding: 5rem 1.5rem;
    }
}

.about-why-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.about-why-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.about-why-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--slate-900);
    margin: 0;
}

.about-why-grid {
    display: grid;
    gap: 1.5rem;
}

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

.about-why-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    text-align: center;
    transition: all 0.3s;
}

.about-why-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.about-why-icon {
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.about-why-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.about-why-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--slate-900);
    margin: 0 0 0.75rem;
}

.about-why-card p {
    font-size: 0.95rem;
    color: var(--slate-600);
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   YOUR PARTNER SECTION
   ======================================== */
.about-partner {
    padding: 4rem 1.5rem;
    background: white;
    text-align: center;
}

@media (min-width: 768px) {
    .about-partner {
        padding: 5rem 1.5rem;
    }
}

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

.about-partner h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--slate-900);
    margin: 0 0 1.25rem;
}

.about-partner p {
    font-size: 1rem;
    color: var(--slate-600);
    margin: 0 0 1.25rem;
    line-height: 1.75;
}

.about-partner .about-btn-primary {
    margin-top: 0.5rem;
}

/* ========================================
   EDITORIAL TEAM SECTION
   ======================================== */
.about-team {
    padding: 4rem 1.5rem;
    background: var(--slate-50);
}

@media (min-width: 768px) {
    .about-team {
        padding: 5rem 1.5rem;
    }
}

.about-team-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.about-team-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

.about-team-header h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: var(--slate-900);
    margin: 0 0 1rem;
}

.about-team-header p {
    font-size: 1rem;
    color: var(--slate-600);
    margin: 0;
    line-height: 1.7;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .about-team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .about-team-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.about-team-member {
    background: white;
    padding: 1.5rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    text-align: center;
}

.about-team-member h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--slate-900);
    margin: 0 0 0.25rem;
}

.about-team-member span {
    font-size: 0.85rem;
    color: var(--slate-500);
    display: block;
}

/* ========================================
   CONTRACTOR CTA SECTION
   ======================================== */
.about-contractor-cta {
    padding: 4rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    text-align: center;
}

@media (min-width: 768px) {
    .about-contractor-cta {
        padding: 5rem 1.5rem;
    }
}

.about-contractor-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.about-contractor-cta-content h2 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.875rem;
    font-weight: 400;
    color: white;
    margin: 0 0 1rem;
}

@media (min-width: 768px) {
    .about-contractor-cta-content h2 {
        font-size: 2.25rem;
    }
}

.about-contractor-cta-content p {
    font-size: 1.0625rem;
    color: var(--primary-100);
    margin: 0 0 1.5rem;
    line-height: 1.7;
}

.about-contractor-cta-content p strong {
    color: white;
}

/* ========================================
   MOBILE RESPONSIVE
   ======================================== */
@media (max-width: 767px) {
    .about-hero-title {
        font-size: 1.875rem;
    }
    
    .about-mission-content h2,
    .about-values-header h2,
    .about-matching-content h2,
    .about-why-header h2,
    .about-partner h2,
    .about-team-header h2 {
        font-size: 1.625rem;
    }
    
    .about-contractor-cta-content h2 {
        font-size: 1.5rem;
    }
    
    .about-value-card,
    .about-why-card {
        padding: 1.5rem;
    }
}
