:root {
    --pfc-navy: #10285f;
    --pfc-blue: #2596be;
    --pfc-sky: #eaf3ff;
    --pfc-yellow: #f09b00;
    --pfc-red: #af1a14;
    --pfc-ink: #071a43;
    --volteric: #facc15;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--pfc-ink);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Sergoe UI", sans-serif;
    padding-top: 78px;
}

.volteric-link {
    color: var(--volteric);
    text-decoration: none;
    transition: .3s ease-in-out;
}

.volteric-link:hover {
    color: inherit;
}

.navbar-brand span {
    color: var(--pfc-navy);
    letter-spacing: .02em;
    text-transform: uppercase;
}

.brand-crest {
    border-radius: 12px;
    object-fit: cover;
}

.nav-link {
    color: var(--pfc-navy);
    font-weight: 600;
    position: relative;
}

.nav-link.active::after, .nav-link:hover::after {
    background: var(--pfc-yellow);
    border-radius: 99px;
    bottom: 0;
    content: "";
    height: 4px;
    left: .5rem;
    position: absolute;
    right: .5rem;
}

.btn-primary {
    background: var(--pfc-blue);
    border-color: var(--pfc-blue);
}

.btn-warning {
    background: var(--pfc-yellow);
    border-color: var(--pfc-yellow);
    color: var(--pfc-ink);
    font-weight: 800;
}

.hero {
    background-image: url("/assets/img/Aerial_View.jpg");
    background-position: center;
    background-size: cover;
    min-height: 680px;
    position: relative;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(7,26,67.82), rgba(7,26,67,.35) 55%, rgba(7,26,67,.08));
    inset: 0;
    position: absolute;
}

.home-eyebrow {
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.quick-links {
    margin-top: -76px;
    position: relative;
    z-index: 2;
}

.link-card {
    border-radius: 20px;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.link-card:hover {
    box-shadow: 0 1rem 2.5rem rgba(16,40,95,.16) !important;
    transform: translateY(-4px);
}

.icon-circle {
    align-items: center;
    background: var(--pfc-sky);
    border-radius: 18px;
    display: inline-flex;
    font-size: 2rem;
    height: 64px;
    justify-content: center;
    width: 64px;
}

.icon-circle.accent {
    background: #fff0f1;
}

.link-card a {
    color: var(--pfc-blue);
    text-decoration: none;
}

.section-pad {
    padding: 96px 0;
}

.bg-soft {
    background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
}

.feature-list {
    display: grid;
    gap: 1rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.feature-list span {
    margin-right: .65rem;
}

.image-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
}

.image-card img {
    aspect-ratio: 16/9;
    object-fit: cover;
    width: 100%
}

.image-card figcaption {
    color: var(--pfc-navy);
    font-weight: 700;
    padding: 1rem 1.25rem;
    text-align: center;
}

.mini-card {
    background: #ffffff;
    border: 1px solid rgba(16,40,95.08);
    border-radius: 18px;
    box-shadow: 0 .75rem 2rem rgba(16,40,95,.07);
    font-size: 1.1rem;
    font-weight: 800;
    padding: 2rem;
    text-align: center;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }

    .hero {
        min-height: 560px;
    }

    .quick-links {
        margin-top: -40px;
    }

    .navbar-brand span {
        font-size: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero {
        min-height: 520px;
    }

    .hero .display-3 {
        font-size: 2.4rem;
    }

    .section-pad {
        padding: 64px 0;
    }
}

.error-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 4rem 3rem;
    max-width: 700px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    text-align: center;
}

.error-code {
    font-size: clamp(5rem, 12vw, 8rem);
    font-weight: 800;
    line-height: 1;
    color: var(--pfc-blue);
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.error-text {
    font-size: 1.1rem;
    color: #5b6470;
    margin-bottom: 2rem;
}

.plane-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.btn-home {
    background: var(--pfc-blue);
    border: none;
    padding: 0.9rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background: var(--pfc-navy);
    transform: translateY(-2px);
}

.small-links {
    margin-top: 2rem;
}

.small-links a {
    color: var(--pfc-blue);
    text-decoration: none;
    font-weight: 500;
    margin: 0 0.75rem;
}

.small-links a:hover {
    color: var(--pfc-navy);
}

.error-page {
    background: linear-gradient(135deg, #eef5ff 0%, #ffffff 100%);
    color: var(--pfc-navy);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.webcam-page {
    background: linear-gradient(135deg, #eef5ff 0%, #ffffff 55%, #f8fbff 100%);
}

.webcam-page.text-navy {
    color: var(--pfc-navy);
}

.webcam-page.eyebrow {
    color: var(--pfc-blue);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .85rem;
}

.webcam-page.object-fit-cover {
    object-fit: cover;
}

.webcam-page.object-fit-contain {
    object-fit: contain;
}

.cta {
    background: linear-gradient(135deg, var(--pfc-navy), var(--pfc-blue));
}

.pictures-page {
    background: linear-gradient(135deg, #eef5ff 0%, #ffffff 55%, #f8fbff 100%);
}

.text-navy {
    color: var(--pfc-navy);
}

.eyebrow {
    color: var(--pfc-blue) !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .85rem;
}

.gallery-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(10, 35, 66, 0.08);
    text-decoration: none;
    background: #dfe8f5;
}

.gallery-image-wrap {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.gallery-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 35, 66, 0.05) 0%, rgba(10, 35, 66, 0.75) 100%);
}

.gallery-caption {
    position: absolute;
    left: 1.5rem;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 2;
    color: #ffffff;
}

.gallery-caption h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: .4rem;
}

.gallery-caption p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.contact-page {
    background: linear-gradient(135deg, #eef5ff 0%, #ffffff 55%, #f8fbff 100%);
}

.form-control {
    border-radius: 14px;
    padding: .8rem 1rem;
}

.form-control:focus {
    border-color: var(--pfc-blue);
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .15);
}

.membership-card {
    background: linear-gradient(135deg, #fff8d8, #ffffff);
}

.contact-info-card {
    background: linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
    overflow: hidden;
    position: relative;
}

.contact-info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--pfc-blue), var(--pfc-yellow));
}

.contact-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--pfc-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-label {
    display: inline-block;
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--pfc-blue);
    margin-bottom: .75rem;
}

.contact-detail p {
    color: #5b6470;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
}

.contact-divider {
    height: 1px;
    background: rgba(10, 35, 66, 0.08);
    margin: 2rem 0;
}

.contact-copy {
    color: #5b6470;
}

.events-page {
    background: linear-gradient(135deg, #eef5ff 0%, #ffffff 55%, #f8fbff 100%);
}

.event-card {
    overflow: hidden;
    position: relative;
}

.event-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 6px;
    background: linear-gradient(180deg, var(--pfc-blue), var(--pfc-yellow));
}

.event-date {
    background: var(--pfc-navy);
    color: #ffffff;
    border-radius: 22px;
    padding: 1rem;
    text-align: center;
    max-width: 120px;
}

.event-month {
    display: block;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 800;
    font-size: .8rem;
    color: var(--pfc-yellow);
}

.event-day {
    display: block;
    font-size: 2.75rem;
    line-height: 1;
    font-weight: 900;
}

.event-time {
    display: block;
    font-size: .9rem;
    color: rgba(255, 255, 255, .8);
    margin-top: .25rem;
}

.event-summary {
    color: #5b6470;
    font-size: 1.1rem;
}

.event-description {
    color: #5b6470;
    line-height: 1.8;
}

.event-meta {
    background: #f8fbff;
    border-radius: 18px;
    padding: 1rem;
}

.event-meta-item + .event-meta-item {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(10, 35, 66, 0.08);
}

.event-meta-label {
    display: block;
    color: var(--pfc-blue);
    font-weight: 800;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .35rem;
}

.event-meta-item span:last-child {
    color: var(--pfc-navy);
    font-weight: 600;
}

@media (max-width: 767px) {
    .event-date {
        max-width: none;
        display: inline-block;
        min-width: 120px;
    }
}