/* =========================================================
   AVIATION PAGE
========================================================= */

:root {
    --aviation-red: #e30613;
    --aviation-black: #151515;
    --aviation-dark: #282828;
    --aviation-text: #626262;
    --aviation-muted: #858585;
    --aviation-light: #f5f5f4;
    --aviation-border: #e5e5e5;
    --aviation-white: #ffffff;
}


/* =========================================================
   BASE
========================================================= */

.aviation-page {
    width: 100%;
    overflow: hidden;
    background: var(--aviation-white);
    color: var(--aviation-dark);
}

.aviation-container {
    width: min(1240px, calc(100% - 80px));
    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.aviation-hero {
    position: relative;
    min-height: 580px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.aviation-hero > img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transform: scale(1.02);
}

.aviation-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.82) 0%,
            rgba(0, 0, 0, 0.55) 45%,
            rgba(0, 0, 0, 0.12) 100%
        );
}

.aviation-hero-content {
    position: relative;
    z-index: 2;

    width: min(1240px, calc(100% - 80px));

    margin: 0 auto;

    padding-top: 45px;

    color: #ffffff;
}

.hero-accent {
    width: 58px;
    height: 3px;

    margin-bottom: 25px;

    background: var(--aviation-red);
}

.hero-label {
    display: block;

    margin-bottom: 14px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.aviation-hero h1 {
    margin: 0 0 22px;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(55px, 7vw, 90px);

    line-height: 1;

    font-weight: 400;
}

.aviation-hero p {
    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,.88);

    font-size: 19px;
    line-height: 1.7;
}


/* =========================================================
   CATEGORY NAVIGATION
========================================================= */

.aviation-category-nav {
    position: sticky;
    top: 0;

    z-index: 9000;

    width: 100%;

    background: rgba(255,255,255,.97);

    border-bottom: 1px solid var(--aviation-border);

    box-shadow:
        0 4px 18px rgba(0,0,0,.06);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.aviation-category-nav-inner {
    width: min(1240px, calc(100% - 80px));

    margin: 0 auto;

    display: flex;
    align-items: stretch;

    overflow-x: auto;

    scrollbar-width: none;
}

.aviation-category-nav-inner::-webkit-scrollbar {
    display: none;
}

.aviation-category-link {
    position: relative;

    flex: 0 0 auto;

    min-height: 72px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 0 24px;

    color: #666666;

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        color .25s ease,
        background-color .25s ease;
}

.aviation-category-link span {
    color: #a0a0a0;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1px;

    transition: color .25s ease;
}

.aviation-category-link::after {
    content: "";

    position: absolute;

    left: 18px;
    right: 18px;
    bottom: 0;

    height: 3px;

    background: var(--aviation-red);

    transform: scaleX(0);

    transition: transform .3s ease;
}

.aviation-category-link:hover,
.aviation-category-link.active {
    color: var(--aviation-red);
}

.aviation-category-link:hover span,
.aviation-category-link.active span {
    color: var(--aviation-red);
}

.aviation-category-link:hover::after,
.aviation-category-link.active::after {
    transform: scaleX(1);
}


/* =========================================================
   INTRO
========================================================= */

.aviation-intro {
    padding: 110px 0 100px;
}

.aviation-intro-grid {
    display: grid;

    grid-template-columns: 38% 62%;

    gap: 70px;
}

.aviation-intro-title {
    padding-top: 5px;
}

.section-label {
    display: inline-flex;

    margin-bottom: 20px;

    color: var(--aviation-red);

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 3px;

    text-transform: uppercase;
}

.aviation-intro-title h2 {
    margin: 0;

    color: var(--aviation-black);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(42px, 4vw, 58px);

    line-height: 1.12;

    font-weight: 400;
}

.red-line {
    width: 60px;
    height: 3px;

    margin-top: 32px;

    background: var(--aviation-red);
}

.aviation-intro-content p {
    margin: 0 0 22px;

    color: var(--aviation-text);

    font-size: 16px;

    line-height: 1.85;
}

.aviation-intro-content p:last-child {
    margin-bottom: 0;
}

.aviation-intro-content .intro-large {
    color: var(--aviation-dark);

    font-size: 21px;

    line-height: 1.7;
}


/* =========================================================
   PRODUCT SECTIONS
========================================================= */

.aviation-product-section {
    padding: 110px 0;

    background: var(--aviation-white);

    scroll-margin-top: 100px;
}

.aviation-section-light {
    background: var(--aviation-light);
}

.aviation-product-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    gap: 75px;

    align-items: center;
}

.aviation-product-layout.reverse {
    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);
}

.aviation-product-layout.reverse
.aviation-product-image {
    order: 2;
}

.aviation-product-layout.reverse
.aviation-product-content {
    order: 1;
}


/* =========================================================
   PRODUCT IMAGE
========================================================= */

.aviation-product-image {
    position: relative;

    min-height: 560px;

    overflow: hidden;

    background: #eeeeee;
}

.aviation-product-image img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 560px;

    object-fit: cover;

    transition:
        transform .8s
        cubic-bezier(.2,.7,.2,1);
}

.aviation-product-image:hover img {
    transform: scale(1.04);
}

.image-caption {
    position: absolute;

    left: 0;
    bottom: 0;

    padding: 18px 25px;

    background: var(--aviation-red);

    color: #ffffff;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;
}


/* =========================================================
   PRODUCT CONTENT
========================================================= */

.aviation-product-content h2 {
    margin: 0;

    color: var(--aviation-black);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(38px, 4vw, 54px);

    line-height: 1.15;

    font-weight: 400;
}

.product-intro {
    margin: 25px 0 35px;

    color: var(--aviation-dark);

    font-size: 18px;

    line-height: 1.75;
}

.aviation-product-content > p {
    color: var(--aviation-text);

    font-size: 15px;

    line-height: 1.85;
}


/* =========================================================
   INFO BLOCK
========================================================= */

.aviation-info-block {
    margin-top: 38px;
}

.aviation-info-block h3,
.subheading {
    margin: 0 0 20px;

    color: var(--aviation-dark);

    font-size: 21px;

    line-height: 1.3;

    font-weight: 600;
}


/* =========================================================
   FEATURE LIST
========================================================= */

.aviation-feature-list {
    margin: 0;
    padding: 0;

    list-style: none;
}

.aviation-feature-list li {
    position: relative;

    padding: 12px 0 12px 28px;

    border-bottom: 1px solid var(--aviation-border);

    color: var(--aviation-text);

    font-size: 15px;

    line-height: 1.65;
}

.aviation-feature-list li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 21px;

    width: 8px;
    height: 8px;

    background: var(--aviation-red);

    border-radius: 50%;
}


/* =========================================================
   SPECIFICATIONS
========================================================= */

.aviation-spec-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 35px;

    margin-top: 45px;
}

.aviation-spec-column h3 {
    margin: 0 0 20px;

    color: var(--aviation-dark);

    font-size: 20px;
}

.spec-list {
    border-top: 1px solid var(--aviation-border);
}

.spec-list > div {
    padding: 15px 0;

    border-bottom: 1px solid var(--aviation-border);
}

.spec-list span {
    display: block;

    margin-bottom: 5px;

    color: var(--aviation-muted);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .8px;

    text-transform: uppercase;
}

.spec-list strong {
    display: block;

    color: var(--aviation-dark);

    font-size: 14px;

    font-weight: 600;

    line-height: 1.55;
}


/* =========================================================
   PERFORMANCE
========================================================= */

.aviation-performance {
    padding: 110px 0;

    background: var(--aviation-black);

    color: #ffffff;
}

.performance-heading {
    max-width: 700px;

    margin-bottom: 55px;
}

.performance-heading h2 {
    margin: 0;

    color: #ffffff;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(40px, 4.5vw, 58px);

    line-height: 1.13;

    font-weight: 400;
}

.performance-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    border-top: 1px solid rgba(255,255,255,.18);
    border-left: 1px solid rgba(255,255,255,.18);
}

.performance-item {
    min-height: 145px;

    padding: 28px;

    border-right:
        1px solid rgba(255,255,255,.18);

    border-bottom:
        1px solid rgba(255,255,255,.18);
}

.performance-item span {
    display: block;

    margin-bottom: 15px;

    color: rgba(255,255,255,.55);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}

.performance-item strong {
    display: block;

    color: #ffffff;

    font-size: 18px;

    line-height: 1.4;

    font-weight: 500;
}


/* =========================================================
   VIDEO
========================================================= */

.aviation-video-section {
    padding: 110px 0;

    background: var(--aviation-light);

    scroll-margin-top: 100px;
}

.aviation-video-heading {
    max-width: 700px;

    margin-bottom: 45px;
}

.aviation-video-heading h2 {
    margin: 0 0 20px;

    color: var(--aviation-black);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(40px, 4.5vw, 58px);

    line-height: 1.13;

    font-weight: 400;
}

.aviation-video-heading p {
    margin: 0;

    color: var(--aviation-text);

    font-size: 16px;
}

.aviation-video-wrapper {
    position: relative;

    width: 100%;

    aspect-ratio: 16 / 9;

    overflow: hidden;

    background: #111111;

    box-shadow:
        0 25px 60px rgba(0,0,0,.12);
}

.aviation-video-wrapper iframe {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================================
   REQUIREMENTS
========================================================= */

.requirements-list {
    border-top: 1px solid var(--aviation-border);
}

.requirements-list > div {
    display: grid;

    grid-template-columns: 140px 1fr;

    gap: 20px;

    padding: 17px 0;

    border-bottom: 1px solid var(--aviation-border);
}

.requirements-list span {
    color: var(--aviation-muted);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .8px;

    text-transform: uppercase;
}

.requirements-list strong {
    color: var(--aviation-dark);

    font-size: 14px;

    line-height: 1.6;

    font-weight: 600;
}


/* =========================================================
   GALLERY
========================================================= */

.aviation-gallery {
    padding: 110px 0;

    background: #ffffff;
}

.gallery-heading {
    margin-bottom: 45px;
}

.gallery-heading h2 {
    margin: 0;

    color: var(--aviation-black);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(40px, 4vw, 54px);

    line-height: 1.15;

    font-weight: 400;
}

.aviation-gallery-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    grid-auto-rows: 270px;

    gap: 15px;
}

.gallery-item {
    overflow: hidden;

    background: #eeeeee;
}

.gallery-item img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform .7s
        cubic-bezier(.2,.7,.2,1);
}

.gallery-item:hover img {
    transform: scale(1.06);
}

.gallery-large {
    grid-row:
        span 2;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .aviation-container,
    .aviation-hero-content,
    .aviation-category-nav-inner {
        width: calc(100% - 50px);
    }

    .aviation-intro-grid {
        grid-template-columns: 1fr;

        gap: 40px;
    }

    .aviation-product-layout,
    .aviation-product-layout.reverse {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .aviation-product-layout.reverse
    .aviation-product-image {
        order: 1;
    }

    .aviation-product-layout.reverse
    .aviation-product-content {
        order: 2;
    }

    .aviation-product-image,
    .aviation-product-image img {
        min-height: 500px;
    }

    .performance-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .aviation-gallery-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    .aviation-container,
    .aviation-hero-content {
        width: calc(100% - 40px);
    }

    .aviation-category-nav-inner {
        width: 100%;

        padding: 0 10px;
    }

    .aviation-category-link {
        min-height: 62px;

        padding: 0 17px;

        font-size: 12px;
    }

    .aviation-intro {
        padding: 75px 0;
    }

    .aviation-product-section {
        padding: 75px 0;
    }

    .aviation-performance {
        padding: 75px 0;
    }

    .aviation-video-section {
        padding: 75px 0;
    }

    .aviation-gallery {
        padding: 75px 0;
    }

    .aviation-spec-grid {
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 576px) {

    .aviation-container,
    .aviation-hero-content {
        width: calc(100% - 30px);
    }

    .aviation-hero {
        min-height: 460px;
    }

    .aviation-hero h1 {
        font-size: 52px;
    }

    .aviation-hero p {
        font-size: 16px;
    }

    .aviation-category-link {
        min-height: 57px;

        padding: 0 14px;

        gap: 7px;

        font-size: 11px;
    }

    .aviation-category-link span {
        font-size: 8px;
    }

    .aviation-intro-title h2 {
        font-size: 39px;
    }

    .aviation-intro-content .intro-large {
        font-size: 18px;
    }

    .aviation-product-content h2 {
        font-size: 38px;
    }

    .aviation-product-image,
    .aviation-product-image img {
        min-height: 340px;
    }

    .aviation-spec-grid {
        gap: 25px;
    }

    .performance-grid {
        grid-template-columns: 1fr;
    }

    .performance-item {
        min-height: auto;

        padding: 24px;
    }

    .requirements-list > div {
        grid-template-columns: 1fr;

        gap: 7px;
    }

    .aviation-gallery-grid {
        grid-template-columns: 1fr;

        grid-auto-rows: 260px;
    }

    .gallery-large {
        grid-row: auto;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .aviation-product-image img,
    .gallery-item img {
        transition: none;
    }

}