/* ==========================================================================
   Fonte Da Vida - About Page Styles
   Description: Specific styles for the About Us page including the 
   mission grid, timeline, team cards, and CTA banner.
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. Page Header & Breadcrumbs
   -------------------------------------------------------------------------- */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 500px;
    background: radial-gradient(circle at center, var(--accent-soft) 0%, transparent 55%);
    pointer-events: none;
}

.light-mode .page-header::before {
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.04) 0%, transparent 55%);
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px), linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.3;
    mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 65%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 20%, transparent 65%);
    pointer-events: none;
}

.page-header > * {
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px;
    font-size: 13px; 
    color: var(--text-muted); 
    margin-bottom: 24px;
    font-family: 'JetBrains Mono', monospace; 
    position: relative; 
    z-index: 1;
}

.breadcrumb a { 
    color: var(--text-muted); 
    transition: color 0.3s; 
}

.breadcrumb a:hover { 
    color: var(--text-primary); 
}

.breadcrumb .bc-sep { 
    opacity: 0.4; 
}

/* --------------------------------------------------------------------------
   02. Mission Section
   -------------------------------------------------------------------------- */
.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-content h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.03em;
}

.mission-content p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.mission-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,0.2);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.light-mode .mission-image {
    box-shadow: 0 24px 48px rgba(0,0,0,0.06);
}

/* --------------------------------------------------------------------------
   03. History Timeline Section
   -------------------------------------------------------------------------- */
.history-section {
    background: var(--surface-1);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    border-left: 2px solid var(--border-subtle);
    padding-left: 40px;
    margin-left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child { 
    margin-bottom: 0; 
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -49px; /* Centered on the border */
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent);
    border: 4px solid var(--surface-1);
    box-shadow: 0 0 0 2px var(--accent-glow);
}

.timeline-year {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    display: block;
}

.timeline-item h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.timeline-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   04. Team Grid Section
   -------------------------------------------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.team-card {
    background: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:hover {
    border-color: var(--accent-border);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.15);
}

.light-mode .team-card:hover {
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

.team-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.team-card:hover .team-img { 
    filter: grayscale(0%); 
}

.team-info {
    padding: 20px;
    text-align: center;
}

.team-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.team-role {
    font-size: 13px;
    color: var(--accent-light);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

/* --------------------------------------------------------------------------
   05. Call to Action Banner
   -------------------------------------------------------------------------- */
.cta-banner-section { 
    padding: 40px 0 120px; 
}

.cta-banner {
    background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface-1) 100%);
    border: 1px solid var(--accent-border);
    border-radius: 24px;
    padding: 64px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.light-mode .cta-banner {
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%; 
    right: -10%;
    width: 400px; 
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-banner p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 32px;
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   06. Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .mission-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .page-header { padding: 130px 0 60px; }
    .timeline { margin-left: 10px; padding-left: 30px; }
    .timeline-item::before { left: -39px; }
    .team-grid { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
    .cta-banner { padding: 40px 24px; }
}