/* ===================================================================
   FLYATIVE - ABOUT PAGE STYLES (about.css)
   =================================================================== */

/* --- Layout Override for About Page Grid --- */
.about-hero {
    position: relative;
    padding-top: 4.5rem;   
    padding-bottom: 4rem;
    background-color: #eef3f8; 
    overflow: hidden;
    border-bottom: 1px solid var(--border-color, #d2e3f3);
    text-align: center;
}

/* Ensure text and image sit crisp above the layout */
.about-hero .container {
    position: relative;
    z-index: 1;
}

/* Constrained Max-Width Hero Image Container */
.about-hero-img-container {
    max-width: 900px;
    margin: 1.5rem auto 0 auto;
    overflow: hidden;
    border-radius: 8px;
    background-color: #eef3f8;
}

/* Explicit Image Sizing, Centering, and Rectangular Alpha Edge Gradient */
.about-hero-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    opacity: 0.85; 
    transition: opacity 0.2s ease;

    /* Rectangular gradient mask for clean edge fading without corner artifacts */
    -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 12%, rgba(0,0,0,1) 88%, rgba(0,0,0,0) 100%),
                        linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    -webkit-mask-composite: destination-in;
    mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 12%, rgba(0,0,0,1) 88%, rgba(0,0,0,0) 100%),
                linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,1) 85%, rgba(0,0,0,0) 100%);
    mask-composite: intersect;
}

.about-hero-img:hover {
    opacity: 1;
}
/* Ensure text sits crisp above the graphic layer */
.about-hero .container {
    position: relative;
    z-index: 1;
}
.about-content-section { border-top: none; padding-top: 0; }
.about-copy { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }
.about-copy-spaced { margin-bottom: 1.5rem; }
.about-quote { margin-bottom: 2rem; }
.about-profile-frame { height: 320px; margin-bottom: 2rem; }
.about-profile-image { width: 100%; height: 100%; object-fit: cover; border-radius: 6px; }
.about-contact-details { border-top: 1px dashed var(--border-color); padding-top: 1.5rem; }
.about-contact-heading { margin-bottom: 1rem; font-size: 1.15rem; }
.about-location-copy { margin-bottom: 0.5rem; }
.about-email-copy { margin-top: 1rem; margin-bottom: 0; }
.about-email-link { color: var(--accent); text-decoration: none; }
.about-career-heading { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; }
.about-career-heading h3 { margin-bottom: 0; }
.timeline-copy { color: var(--text-muted); font-size: 0.85rem; }
.about-contact-cta { margin-top: 2.5rem; text-align: center; }
.about-contact-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    background-color: var(--accent);
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
}

.about-contact-button:hover { background-color: var(--accent-hover); }

.about-page-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
    margin-top: 3rem;
}

/* --- Content Cards / Left & Right Panels --- */
.about-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: border-color 0.2s ease;
}

.about-card:hover {
    border-color: var(--accent);
}

.about-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.about-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

/* --- Timeline Component (Right Column Style) --- */
.timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid var(--border-color);
    margin-top: 1.5rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

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

/* Timeline dot */
.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.77rem;
    top: 0.25rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--text-muted);
    border: 2px solid var(--card-bg);
}

.timeline-date {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}

.timeline-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
}

.timeline-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* --- Responsive adjustments --- */
@media (max-width: 900px) {
    .about-page-grid {
        grid-template-columns: 1fr;
    }
    .about-hero {
        padding-top: 3.5rem;
        padding-bottom: 5rem;
    }
    .about-bg-img {
        top: 20px;
        opacity: 0.75;
    }
}
