/**
 * Qulbay Child Theme — About Page Styles
 * Template: page-about.php
 * RUN_ID: QLB-PUBLIC-PAGES-01
 * Version: 1.0.0
 *
 * Design system: staff-portal.css tokens (truck-art palette) +
 *                booking-form.css nav (unscoped qlb-nav block).
 * No inline CSS anywhere — all rules here.
 * Font: Poppins (loaded in template <head>)
 */

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
    --qlb-about-deep-purple:  #4B0082;
    --qlb-about-apple-green:  #8DB600;
    --qlb-about-yellow:       #FFD700;
    --qlb-about-pink:         #E91E63;
    --qlb-about-orange:       #FF5722;
    --qlb-about-blue:         #00BCD4;
    --qlb-about-off-white:    #F4F7F2;
    --qlb-about-text:         #1A1A1A;
    --qlb-about-gradient: linear-gradient(
        90deg,
        #FFD700 0%,    #FFD700 16.6%,
        #E91E63 16.6%, #E91E63 33.3%,
        #FF5722 33.3%, #FF5722 50%,
        #8DB600 50%,   #8DB600 66.6%,
        #00BCD4 66.6%, #00BCD4 83.3%,
        #4B0082 83.3%, #4B0082 100%
    );
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
body.qlb-about *,
body.qlb-about *::before,
body.qlb-about *::after {
    box-sizing: border-box;
}

body.qlb-about {
    background: var(--qlb-about-off-white);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--qlb-about-text);
    -webkit-font-smoothing: antialiased;
}

/* Hide TT25 chrome */
body.qlb-about .wp-site-blocks > header,
body.qlb-about .wp-site-blocks > footer,
body.qlb-about .wp-block-template-part[data-slug="header"],
body.qlb-about .wp-block-template-part[data-slug="footer"],
body.qlb-about .wp-site-blocks {
    padding: 0 !important;
    margin: 0 !important;
}
body.qlb-about .wp-site-blocks > header,
body.qlb-about .wp-site-blocks > footer,
body.qlb-about .site-header,
body.qlb-about .site-footer,
body.qlb-about #masthead,
body.qlb-about #colophon {
    display: none !important;
}

/* ── Truck-art rainbow strip (fixed top) ───────────────────────────────── */
.qlb-about-truck-border {
    height: 8px;
    background: var(--qlb-about-gradient);
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

/* ── NAV — same brand black sticky nav as /airport-services-v3/ ─────────── */
.qlb-nav {
    position: sticky;
    top: 8px; /* sits just below the 8px rainbow strip */
    z-index: 1000;
    background: #0b0b0b;
    height: 64px;
    display: flex;
    align-items: center;
}

.qlb-nav .qlb-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.qlb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.qlb-logo-box {
    width: 40px;
    height: 40px;
    border: 2px solid #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qlb-logo-box span {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 0.85rem;
    color: #ffffff;
    letter-spacing: 0.05em;
}

.qlb-logo-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 1.2rem;
    color: #ffffff;
    letter-spacing: 0.06em;
}

.qlb-nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
}

.qlb-nav-links a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    transition: color 0.15s, background 0.15s;
    text-decoration: none;
}

.qlb-nav-links a:hover,
.qlb-nav-links a.qlb-nav-active {
    color: #FFD700;
    background: rgba(255, 215, 0, 0.08);
}

/* Hamburger — mobile only */
.qlb-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.qlb-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: opacity 0.2s;
}

/* Mobile menu */
.qlb-mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: #0b0b0b;
    z-index: 999;
    padding: 16px 20px 24px;
    flex-direction: column;
    gap: 4px;
}

.qlb-mobile-menu.open {
    display: flex;
}

.qlb-mobile-menu a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-weight: 600;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    text-decoration: none;
}

.qlb-mobile-menu a:last-child {
    border-bottom: none;
}

@media (max-width: 767px) {
    .qlb-nav-links {
        display: none;
    }
    .qlb-hamburger {
        display: flex;
    }
}

/* ── Page wrapper — offset for fixed strip + sticky nav ─────────────────── */
.qlb-about-page {
    padding-top: 8px; /* rainbow strip height */
}

/* ── Hero band ──────────────────────────────────────────────────────────── */
.qlb-about-hero {
    background: var(--qlb-about-deep-purple);
    padding: 28px 5% 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.qlb-about-hero::before {
    content: '✈';
    position: absolute;
    font-size: 320px;
    color: rgba(255, 215, 0, 0.04);
    top: -60px;
    right: -40px;
    pointer-events: none;
    line-height: 1;
}

.qlb-about-hero-tag {
    display: inline-block;
    background: var(--qlb-about-yellow);
    color: var(--qlb-about-deep-purple);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.qlb-about-hero h1 {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    font-weight: 800;
    margin: 0 0 14px;
    line-height: 1.15;
}

.qlb-about-hero h1 em {
    color: var(--qlb-about-yellow);
    font-style: normal;
}

.qlb-about-hero p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ── Card section ───────────────────────────────────────────────────────── */
.qlb-about-section {
    max-width: 1100px;
    margin: -32px auto 0;
    padding: 0 5% 72px;
    position: relative;
    z-index: 10;
}

.qlb-about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

/* Card */
.qlb-about-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 32px 26px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
    border-bottom: 4px solid var(--qlb-about-apple-green);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.qlb-about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.13);
}

.qlb-about-card--purple { border-bottom-color: var(--qlb-about-deep-purple); }
.qlb-about-card--pink   { border-bottom-color: var(--qlb-about-pink); }
.qlb-about-card--orange { border-bottom-color: var(--qlb-about-orange); }
.qlb-about-card--blue   { border-bottom-color: var(--qlb-about-blue); }

.qlb-about-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #fff9e6;
    border: 2px solid var(--qlb-about-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.qlb-about-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--qlb-about-deep-purple);
    margin: 0;
    line-height: 1.3;
}

.qlb-about-card p {
    font-size: 13.5px;
    color: #555;
    margin: 0;
    line-height: 1.6;
}

/* ── Mission strip ──────────────────────────────────────────────────────── */
.qlb-about-mission {
    background: var(--qlb-about-deep-purple);
    border-radius: 16px;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 48px;
}

.qlb-about-mission::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--qlb-about-gradient);
    opacity: 0.08;
    pointer-events: none;
}

.qlb-about-mission h2 {
    font-family: 'Poppins', sans-serif;
    color: #ffffff;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    margin: 0 0 16px;
}

.qlb-about-mission p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1rem;
    max-width: 620px;
    margin: 0 auto 24px;
    line-height: 1.65;
}

.qlb-about-mission-tag {
    display: inline-block;
    background: var(--qlb-about-yellow);
    color: var(--qlb-about-deep-purple);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 5px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* CTA button */
.qlb-about-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--qlb-about-yellow);
    color: var(--qlb-about-deep-purple);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 13px 28px;
    border-radius: 999px;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
}

.qlb-about-btn:hover {
    background: #e6c200;
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--qlb-about-deep-purple);
}

/* ── Airports served strip ──────────────────────────────────────────────── */
.qlb-about-airports {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px 36px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
}

.qlb-about-airports h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--qlb-about-deep-purple);
    margin: 0 0 6px;
}

.qlb-about-airports-sub {
    font-size: 13.5px;
    color: #888;
    margin: 0 0 24px;
}

.qlb-about-airports-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.qlb-about-airport-chip {
    background: var(--qlb-about-off-white);
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--qlb-about-text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.qlb-about-airport-chip span {
    background: var(--qlb-about-deep-purple);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 999px;
    letter-spacing: 0.04em;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.qlb-about-footer {
    background: #0b0b0b;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    font-size: 12.5px;
    padding: 24px 20px;
}

.qlb-about-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.15s;
}

.qlb-about-footer a:hover {
    color: var(--qlb-about-yellow);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .qlb-about-hero {
        padding: 28px 5% 36px;
    }
    .qlb-about-mission {
        padding: 36px 24px;
    }
    .qlb-about-airports {
        padding: 28px 20px;
    }
}
