/* =========================================================
   PAS HOMEPAGE
   Primus Aeronautics Society
   ========================================================= */


/* =========================================================
   1. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    background: #070b12;
    color: #f4f7fb;

    font-family:
        "Inter",
        "Segoe UI",
        Arial,
        sans-serif;

    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}


/* =========================================================
   2. NAVBAR
   ========================================================= */

.navbar {
    width: 100%;
    height: 78px;

    display: flex;
    align-items: center;

    padding: 0 5vw;

    background: rgba(7, 11, 18, 0.92);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    position: relative;
    z-index: 10;
}


/* Brand */

.brand {
    display: flex;
    align-items: center;

    gap: 12px;

    min-width: 260px;
}

.brand-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;

    border-radius: 50%;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(30, 160, 255, 0.6);
    background: #0b1b35;

    flex-shrink: 0;
}

.brand-icon img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    display: block;
}
.brand-text {
    display: flex;
    flex-direction: column;

    line-height: 1;
}

.brand-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.brand-full {
    margin-top: 5px;

    font-size: 8px;
    letter-spacing: 0.17em;

    color: #7d8795;
}


/* Navigation */

.nav-links {
    display: flex;
    align-items: center;

    gap: 30px;

    margin-left: auto;
    margin-right: 35px;
}

.nav-links a {
    position: relative;

    font-size: 12px;
    font-weight: 500;

    color: #929cab;

    transition:
        color 0.25s ease;
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: #55adff;

    transition:
        width 0.25s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-links a:hover::after {
    width: 100%;
}


/* Admin */

.admin-link {
    display: flex;
    align-items: center;

    gap: 7px;

    padding: 9px 13px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 5px;

    color: #aeb8c7;

    font-size: 10px;
    letter-spacing: 0.1em;

    transition:
        border-color 0.25s ease,
        color 0.25s ease,
        background 0.25s ease;
}

.admin-link:hover {
    color: #ffffff;

    border-color: rgba(85, 173, 255, 0.45);

    background: rgba(85, 173, 255, 0.06);
}


/* =========================================================
   3. HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 510px;

    display: flex;
    align-items: center;

    padding: 80px 8vw;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(7, 11, 18, 0.98) 0%,
            rgba(7, 11, 18, 0.83) 42%,
            rgba(7, 11, 18, 0.30) 100%
        ),
        linear-gradient(
            180deg,
            rgba(7, 11, 18, 0.15),
            rgba(7, 11, 18, 0.8)
        ),
        url("assets/hero-aircraft.png") center center / cover no-repeat;
}

/* Decorative horizon */

.hero::before {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 80px;

    height: 1px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(88, 176, 255, 0.22),
            transparent
        );
}


/* Background glow */

.hero::after {
    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -250px;
    top: -200px;

    background:
        radial-gradient(
            circle,
            rgba(42, 121, 190, 0.14),
            transparent 70%
        );

    pointer-events: none;
}


/* Hero content */

.hero-content {
    position: relative;
    z-index: 2;

    max-width: 700px;
}

.hero-eyebrow {
    margin-bottom: 18px;

    color: #58b0ff;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.38em;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 78px);

    line-height: 0.96;

    font-weight: 700;

    letter-spacing: -0.035em;
}

.hero-tagline {
    margin-top: 25px;

    color: #9da8b7;

    font-size: 17px;
    font-weight: 300;

    letter-spacing: 0.04em;
}

.hero-line {
    width: 70px;
    height: 2px;

    margin-top: 28px;

    background: #58b0ff;
}


/* =========================================================
   4. DASHBOARD
   ========================================================= */

.dashboard {
    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 12px;

    padding: 0 5vw 65px;

    background: #070b12;
}


/* Cards */

.dashboard-card {
    position: relative;

    min-height: 190px;
    padding: 25px 24px;

    display: flex;
    flex-direction: column;

    border: 1px solid rgba(88, 176, 255, 0.16);

    background:
    linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.035),
        rgba(255, 255, 255, 0.012)
    );

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}


/* Blue corner */

.dashboard-card::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;

    width: 3px;
    height: 0;

    background: #58b0ff;

    transition:
        height 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-6px);

    border-color: rgba(88, 176, 255, 0.5);

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.35),
        0 0 20px rgba(88, 176, 255, 0.06);

    background:
        linear-gradient(
            145deg,
            rgba(25, 70, 115, 0.35),
            rgba(7, 16, 29, 0.65)
        );
}
.dashboard-card:hover::before {
    height: 100%;
}


/* Card icon */

.card-icon {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 28px;

    border: 1px solid rgba(88, 176, 255, 0.28);

    color: #58b0ff;

    font-size: 17px;

    border-radius: 50%;
}


/* Card text */

.dashboard-card h2 {
    font-size: 13px;

    letter-spacing: 0.12em;

    font-weight: 600;
}

.dashboard-card p {
    margin-top: 10px;

    color: #7f8a99;

    font-size: 11px;

    line-height: 1.65;
}


/* Arrow */

.card-arrow {
    margin-top: auto;

    align-self: flex-end;

    color: #58b0ff;

    font-size: 18px;

    transition:
        transform 0.25s ease;
}

.dashboard-card:hover .card-arrow {
    transform: translateX(5px);
}


/* =========================================================
   5. LOWER SECTION
   ========================================================= */

.lower-section {
    display: grid;

    grid-template-columns: 1.7fr 1fr;

    gap: 12px;

    padding: 0 5vw 70px;
}


/* =========================================================
   6. UPDATES PANEL
   ========================================================= */

.updates-panel {
    border: 1px solid rgba(255, 255, 255, 0.09);

    background:
        rgba(255, 255, 255, 0.018);
}


/* Heading */

.section-heading {
    height: 62px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 25px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.08);
}

.section-heading span {
    font-size: 11px;

    letter-spacing: 0.18em;

    font-weight: 600;
}

.section-heading a {
    color: #58b0ff;

    font-size: 9px;

    letter-spacing: 0.12em;
}


/* Update */

.update {
    min-height: 105px;

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 20px 25px;

    border-bottom:
        1px solid rgba(255, 255, 255, 0.06);

    transition:
        background 0.25s ease;
}

.update:last-child {
    border-bottom: none;
}

.update:hover {
    background:
        rgba(88, 176, 255, 0.035);
}


/* Update icon */

.update-icon {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.1);

    color: #58b0ff;

    font-size: 14px;
}


/* Update content */

.update-content {
    flex: 1;
}

.update-type {
    color: #58b0ff;

    font-size: 8px;

    letter-spacing: 0.16em;
}

.update-content h3 {
    margin-top: 5px;

    font-size: 13px;

    font-weight: 500;
}

.update-content p {
    margin-top: 5px;

    color: #737e8c;

    font-size: 10px;
}

.update-status,
.update-date {
    color: #657080;

    font-size: 8px;

    letter-spacing: 0.1em;
}


/* =========================================================
   7. FEATURE PANEL
   ========================================================= */

.feature-panel {
    position: relative;

    min-height: 360px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.09);

    background:
        radial-gradient(
            circle at 50% 35%,
            rgba(52, 133, 204, 0.14),
            transparent 55%
        ),
        #080e17;
}


/* Decorative circles */

.feature-panel::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border: 1px solid rgba(88, 176, 255, 0.09);

    border-radius: 50%;
}

.feature-panel::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    border: 1px solid rgba(88, 176, 255, 0.045);

    border-radius: 50%;
}


/* Feature content */

.feature-content {
    position: relative;
    z-index: 2;

    text-align: center;
}

.feature-line {
    width: 35px;
    height: 1px;

    margin: 0 auto 25px;

    background: #58b0ff;
}

.feature-content p {
    color: #aab3bf;

    font-size: 13px;

    line-height: 1.8;

    font-style: italic;
}

.feature-logo {
    margin-top: 28px;

    color: #58b0ff;

    font-size: 27px;
}

.feature-content h3 {
    margin-top: 10px;

    font-size: 20px;

    letter-spacing: 0.2em;
}

.feature-content span {
    display: block;

    margin-top: 6px;

    color: #687381;

    font-size: 7px;

    letter-spacing: 0.2em;
}


/* =========================================================
   8. FOOTER
   ========================================================= */

footer {
    min-height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5vw;

    border-top:
        1px solid rgba(255, 255, 255, 0.07);

    color: #626c79;

    font-size: 9px;

    letter-spacing: 0.08em;
}

.socials,
.footer-right {
    display: flex;
    align-items: center;

    gap: 22px;
}

footer a {
    transition:
        color 0.2s ease;
}

footer a:hover {
    color: #58b0ff;
}

.footer-right span {
    color: #303844;
}


/* =========================================================
   9. RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .nav-links {
        gap: 18px;
    }

    .nav-links a {
        font-size: 10px;
    }

    .dashboard {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .dashboard-card:last-child {
        grid-column: span 3;
    }

}


@media (max-width: 850px) {

    .navbar {
        padding: 0 25px;
    }

    .brand {
        min-width: auto;
    }

    .brand-full {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .admin-link {
        margin-left: auto;
    }


    .hero {
        min-height: 430px;

        padding:
            70px 25px;
    }

    .hero h1 {
        font-size: 45px;
    }


    .dashboard {
        grid-template-columns:
            repeat(2, 1fr);

        padding:
            0 25px 50px;
    }

    .dashboard-card:last-child {
        grid-column: span 2;
    }


    .lower-section {
        grid-template-columns: 1fr;

        padding:
            0 25px 50px;
    }

}


@media (max-width: 550px) {

    .navbar {
        height: 68px;
    }

    .brand-name {
        font-size: 17px;
    }

    .admin-link {
        padding: 8px 10px;

        font-size: 8px;
    }


    .hero {
        min-height: 390px;
    }

    .hero h1 {
        font-size: 37px;
    }

    .hero-tagline {
        font-size: 14px;
    }


    .dashboard {
        grid-template-columns: 1fr;

        padding:
            0 18px 40px;
    }

    .dashboard-card {
        min-height: 165px;
    }

    .dashboard-card:last-child {
        grid-column: auto;
    }


    .lower-section {
        padding:
            0 18px 40px;
    }


    .update {
        align-items: flex-start;
    }

    .update-status,
    .update-date {
        display: none;
    }


    footer {
        min-height: 110px;

        flex-direction: column;

        justify-content: center;

        gap: 15px;

        padding: 20px;
    }

}