/* About Page - Cockpit Interior View Design */

/* Cockpit frame overlay - creates the illusion of being inside the aircraft */
.about-full-background {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    background-image: url('../images/cockpit-view.jpg');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow: hidden;
}

/* Cockpit frame effect */
.about-full-background::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    /* Vignette effect to simulate cockpit edges */
    background: 
        radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.6) 85%, rgba(0,0,0,0.95) 100%);
}

/* Animated subtle shake for realism */
@keyframes subtleShake {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(0.5px, 0.5px) rotate(0.01deg); }
    50% { transform: translate(-0.5px, 0.5px) rotate(-0.01deg); }
    75% { transform: translate(0.5px, -0.5px) rotate(0.01deg); }
}

.about-full-background {
    animation: subtleShake 8s ease-in-out infinite;
}

/* Dark overlay with cockpit tint */
.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 20, 40, 0.7) 0%,
        rgba(26, 26, 26, 0.75) 50%,
        rgba(196, 30, 58, 0.65) 100%
    );
    z-index: 1;
}

.about-full-background .container {
    position: relative;
    z-index: 2;
}

/* Content box - HUD style display */
/* Logo header at top center */
.about-logo-header {
    text-align: center;
    margin-bottom: 2rem;
}

.about-page-logo {
    width: 280px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
}

.about-content-box {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(212, 197, 169, 0.95);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 
        0 0 0 3px rgba(196, 30, 58, 0.3),
        0 0 0 6px rgba(0, 0, 0, 0.2),
        0 30px 80px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    position: relative;
}

/* Corner accents - like HUD display corners */
.about-content-box::before,
.about-content-box::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-red);
}

.about-content-box::before {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.about-content-box::after {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

/* Content fade-in animation removed */

/* Scanning line effect - REMOVED */

.about-content-box h1 {
    font-size: 3.5rem;
    color: var(--black);
    margin-bottom: 1rem;
    font-weight: 900;
    text-align: center;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
}

/* Glowing underline effect */
.about-content-box h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-red), 
        transparent);
    box-shadow: 0 0 10px rgba(196, 30, 58, 0.8);
}

.about-subtitle {
    font-size: 1.3rem;
    color: var(--medium-gray);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.story-text {
    margin-bottom: 3rem;
    position: relative;
}

.story-text h2 {
    font-size: 2.5rem;
    color: var(--black);
    margin-bottom: 2rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 2px;
}

.story-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--black);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.story-text strong {
    color: var(--primary-red);
    font-weight: 700;
}

/* Stats with HUD-style display */
.story-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 3px solid var(--primary-red);
    position: relative;
}

.stat {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.9) 0%, 
        rgba(26, 26, 26, 0.95) 100%);
    border-radius: 10px;
    border: 2px solid rgba(196, 30, 58, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Pulsing glow effect */
.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(196, 30, 58, 0.2),
        transparent);
    transition: left 0.5s ease;
}

.stat:hover::before {
    left: 100%;
}

.stat:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 
        0 10px 30px rgba(196, 30, 58, 0.3),
        inset 0 0 20px rgba(196, 30, 58, 0.1);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(196, 30, 58, 0.5);
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: var(--light-gray);
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Founder Section */
.founder-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(196, 30, 58, 0.3);
}

.founder-photo {
    flex-shrink: 0;
}

.founder-photo img {
    width: 180px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(196, 30, 58, 0.4);
}

.founder-info {
    flex: 1;
}

.founder-info h3 {
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-weight: 800;
    font-family: 'Orbitron', sans-serif;
}

.founder-title {
    font-size: 1.2rem;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-family: 'Orbitron', sans-serif;
}

.founder-credentials {
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 600;
}

/* Instrument panel reflection effect */
@keyframes panelGlare {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.15; }
}

.about-content-box::after {
    animation: panelGlare 8s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 968px) {
    .about-full-background {
        padding: 120px 0 60px;
        background-attachment: scroll;
    }

    .about-full-background::before {
        background: radial-gradient(ellipse at center, transparent 20%, rgba(0,0,0,0.5) 80%, rgba(0,0,0,0.9) 100%);
    }

    .about-page-logo {
        width: 220px;
    }

    .about-content-box {
        padding: 3rem 2rem;
        margin: 0 20px;
    }

    .about-content-box h1 {
        font-size: 2.5rem;
    }

    .about-subtitle {
        font-size: 1.1rem;
    }

    .story-text h2 {
        font-size: 2rem;
    }

    .story-text p {
        font-size: 1.05rem;
        text-align: left;
    }

    .story-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .founder-photo img {
        width: 160px;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .about-full-background {
        animation: none; /* Disable shake on mobile */
    }

    .about-page-logo {
        width: 200px;
    }

    .about-content-box {
        padding: 2rem 1.5rem;
        border-radius: 10px;
    }

    .about-content-box::before,
    .about-content-box::after {
        width: 25px;
        height: 25px;
        border-width: 2px;
    }

    .about-content-box h1 {
        font-size: 2rem;
        letter-spacing: 2px;
    }

    .story-text h2 {
        font-size: 1.8rem;
    }

    .story-text p {
        font-size: 1rem;
    }

    .stat {
        padding: 1.5rem 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .founder-photo img {
        width: 140px;
    }

    .founder-info h3 {
        font-size: 1.6rem;
    }

    .founder-title {
        font-size: 1rem;
    }
}
