/*
=========================================================
Flight Logbook
Online Flight Logbook - Landing Page
=========================================================

Brand colors:

Dark grey:       #454545
Dark:            #363636
Orange:          #FF6000
Light orange:    #FFA559
Light beige:     #FFE6C7
Turquoise:       #33AED4
Page background: #FFF8F2
=========================================================
*/


/* ========================================================
   ROOT
======================================================== */

:root {
    --fl-orange: #FF6000;
    --fl-orange-light: #FFA559;
    --fl-beige: #FFE6C7;
    --fl-turquoise: #33AED4;

    --fl-dark: #454545;
    --fl-dark-deep: #363636;

    --fl-background: #FFF8F2;
    --fl-white: #FFFFFF;

    --fl-text: #333333;
    --fl-muted: #777777;

    --fl-radius: 12px;
    --fl-radius-small: 8px;

    --fl-shadow:
        0 8px 30px rgba(0, 0, 0, 0.08);

    --fl-shadow-hover:
        0 12px 35px rgba(0, 0, 0, 0.12);
}


/* ========================================================
   GLOBAL
======================================================== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background-color: var(--fl-background);
    color: var(--fl-text);

    font-family: "Roboto", sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

main {
    overflow: hidden;
}

a {
    transition:
        color 0.2s ease,
        opacity 0.2s ease;
}


/* ========================================================
   TYPOGRAPHY
======================================================== */

h1,
h2,
h3,
h4 {
    color: var(--fl-dark);

    font-family: "Russo One", sans-serif;
    font-weight: 400;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.08;
    letter-spacing: -1px;
}

h2 {
    margin-bottom: 1rem;

    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
}

h3 {
    font-size: 1.25rem;
    line-height: 1.3;
}

p {
    color: var(--fl-text);
}

.lead {
    font-size: 1.2rem;
    line-height: 1.7;
}


/* ========================================================
   SECTION HEADERS
======================================================== */

.section-header {
    margin: 0 0 0.75rem 0;

    color: var(--fl-orange);

    font-family: "Roboto", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;
}


/* ========================================================
   NAVBAR
======================================================== */

.navbar {
    min-height: 70px;

    background-color: var(--fl-dark-deep) !important;
}

.navbar-logo {
    width: 42px;
    height: 42px;

    margin-right: 10px;

    object-fit: contain;
}

.navbar-logo-text {
    margin: 0;

    color: var(--fl-white);

    font-family: "Russo One", sans-serif;
    font-size: 1.05rem;

    letter-spacing: 0.5px;
    text-decoration: none;
}

.navbar .nav-link {
    padding-left: 0.75rem;
    padding-right: 0.75rem;

    color: rgba(255, 255, 255, 0.85);

    font-size: 0.95rem;
    font-weight: 500;
}

.navbar .nav-link:hover {
    color: var(--fl-orange-light);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.25);
}


/* ========================================================
   BUTTONS
======================================================== */

.btn {
    border-radius: 7px;

    padding: 0.7rem 1.4rem;

    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--fl-orange);
    border-color: var(--fl-orange);

    color: var(--fl-white);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #e95600;
    border-color: #e95600;

    color: var(--fl-white);

    box-shadow:
        0 6px 18px rgba(255, 96, 0, 0.25);
}

.btn-outline-dark {
    border-color: var(--fl-dark);

    color: var(--fl-dark);
}

.btn-outline-dark:hover {
    background-color: var(--fl-dark);
    border-color: var(--fl-dark);

    color: var(--fl-white);
}


/* ========================================================
   HERO
======================================================== */

.hero-section {
    position: relative;

    padding-top: 4.5rem !important;
    padding-bottom: 4.5rem !important;

    overflow: hidden;
}


/*
Decorative orange circle.
It sits behind the content and never affects layout.
*/

.hero-section::before {
    content: "";

    position: absolute;

    width: 500px;
    height: 500px;

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

    border-radius: 50%;

    background:
        rgba(255, 166, 89, 0.12);

    pointer-events: none;
}

.hero-section .row {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    max-width: 750px;
}

.hero-section .lead {
    max-width: 680px;
}


/* ========================================================
   HERO LOGBOOK CARD
======================================================== */

.hero-logbook-card {
    position: relative;

    width: 100%;
    max-width: 560px;

    margin-left: auto;
    margin-right: auto;

    background-color: var(--fl-white);

    border-radius: var(--fl-radius);

    overflow: hidden;

    box-shadow: var(--fl-shadow);

    transform: rotate(1deg);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.hero-logbook-card:hover {
    transform: rotate(0deg) translateY(-4px);

    box-shadow: var(--fl-shadow-hover);
}


/* Hero card header */

.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1rem 1.25rem;

    background-color: var(--fl-dark);

    color: var(--fl-white);

    font-family: "Russo One", sans-serif;
    font-size: 0.8rem;

    letter-spacing: 1px;
}

.hero-card-date {
    color: var(--fl-orange-light);
}


/* Hero card rows */

.hero-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1rem 1.25rem;

    border-bottom: 1px solid #eeeeee;

    font-size: 0.95rem;
}

.hero-card-row span {
    color: var(--fl-muted);
}

.hero-card-row strong {
    color: var(--fl-dark);
}


/* Hero card total */

.hero-card-total {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1.2rem 1.25rem;

    background-color: #fff4eb;

    color: var(--fl-dark);

    font-size: 0.95rem;
}

.hero-card-total strong {
    color: var(--fl-orange);

    font-family: "Russo One", sans-serif;
    font-size: 1.1rem;
}


/* ========================================================
   GENERAL SECTIONS
======================================================== */

section {
    scroll-margin-top: 80px;
}

section.py-5 {
    padding-top: 6rem !important;
    padding-bottom: 6rem !important;
}


/* ========================================================
   FEATURE CARDS
======================================================== */

.feature-card {
    height: 100%;

    padding: 2rem 1.5rem;

    background-color: var(--fl-white);

    border: 1px solid rgba(69, 69, 69, 0.08);

    border-radius: var(--fl-radius);

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);

    border-color:
        rgba(255, 96, 0, 0.2);

    box-shadow: var(--fl-shadow-hover);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 1.4rem;

    border-radius: 10px;

    background-color: #fff0e6;

    color: var(--fl-orange);

    font-size: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 0.75rem;
}

.feature-card p {
    margin-bottom: 0;

    color: var(--fl-muted);

    font-size: 0.95rem;
    line-height: 1.65;
}


/* ========================================================
   PILOT TYPES
======================================================== */

.pilot-types {
    display: flex;
    flex-direction: column;

    gap: 1rem;
}

.pilot-type {
    display: flex;
    flex-direction: column;

    padding: 1.25rem 1.5rem;

    background-color: var(--fl-white);

    border-left: 4px solid var(--fl-orange);

    border-radius:
        0
        var(--fl-radius-small)
        var(--fl-radius-small)
        0;

    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.04);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.pilot-type:hover {
    transform: translateX(4px);

    box-shadow: var(--fl-shadow);
}

.pilot-type strong {
    color: var(--fl-dark);

    font-family: "Russo One", sans-serif;
    font-size: 1rem;
}

.pilot-type span {
    margin-top: 0.2rem;

    color: var(--fl-muted);

    font-size: 0.9rem;
}


/* ========================================================
   HOW IT WORKS
======================================================== */

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 64px;
    height: 64px;

    margin: 0 auto 1.5rem auto;

    border-radius: 50%;

    background-color: var(--fl-dark);

    color: var(--fl-orange-light);

    font-family: "Russo One", sans-serif;
    font-size: 1rem;
}

#how-it-works h3 {
    margin-bottom: 0.75rem;
}

#how-it-works p {
    max-width: 300px;

    margin-left: auto;
    margin-right: auto;

    color: var(--fl-muted);

    font-size: 0.95rem;
}


/* ========================================================
   DIGITAL LOGBOOK SECTION
======================================================== */

#digital-logbook {
    background-color: var(--fl-white);
}

#digital-logbook .col-lg-9 {
    max-width: 850px;
}

#digital-logbook p {
    color: #555555;
}


/* ========================================================
   FAQ
======================================================== */

.accordion {
    max-width: 900px;
}

.accordion-item {
    margin-bottom: 0.75rem;

    background-color: var(--fl-white);

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

    border-radius: var(--fl-radius-small) !important;

    overflow: hidden;
}

.accordion-button {
    padding: 1.25rem 1.4rem;

    background-color: var(--fl-white);

    color: var(--fl-dark);

    font-family: "Roboto", sans-serif;
    font-size: 1rem;
    font-weight: 700;

    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    background-color: #fff4eb;

    color: var(--fl-dark);
}

.accordion-body {
    padding:
        0
        1.4rem
        1.4rem;

    color: var(--fl-muted);

    font-size: 0.95rem;
    line-height: 1.7;
}


/* ========================================================
   FINAL CTA
======================================================== */

.cta-section {
    position: relative;

    background-color: var(--fl-dark);

    border-radius: var(--fl-radius);

    overflow: hidden;
}

.cta-section::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    top: -200px;
    right: -100px;

    border-radius: 50%;

    background:
        rgba(255, 96, 0, 0.15);

    pointer-events: none;
}

.cta-section::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    bottom: -180px;
    left: -80px;

    border-radius: 50%;

    background:
        rgba(51, 174, 212, 0.10);

    pointer-events: none;
}

.cta-section > .row {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--fl-white);
}

.cta-section .lead {
    color: rgba(255, 255, 255, 0.8);
}

.cta-section .section-header {
    color: var(--fl-orange-light);
}


/* ========================================================
   FOOTER
======================================================== */

.footer {
    margin-top: 3rem;

    background-color: var(--fl-dark-deep) !important;
}

.footer-brand {
    margin-bottom: 0.75rem;

    color: var(--fl-white);

    font-family: "Russo One", sans-serif;
    font-size: 1.2rem;
}

.footer-description {
    max-width: 400px;

    margin-bottom: 0;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.9rem;
}

.footer-heading {
    margin-bottom: 1rem;

    color: var(--fl-orange-light);

    font-family: "Roboto", sans-serif;
    font-size: 0.9rem;
    font-weight: 700;

    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links {
    padding: 0;
    margin: 0;

    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);

    font-size: 0.9rem;

    text-decoration: none;
}

.footer-links a:hover {
    color: var(--fl-orange-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-small {
    color: rgba(255, 255, 255, 0.5);

    font-size: 0.8rem;
}


/* ========================================================
   RESPONSIVE - TABLET
======================================================== */

@media (max-width: 991.98px) {

    .navbar .btn {
        display: inline-block;
    }

    .hero-section {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .hero-logbook-card {
        max-width: 560px;

        margin-top: 1rem;

        transform: none;
    }

    section.py-5 {
        padding-top: 4.5rem !important;
        padding-bottom: 4.5rem !important;
    }
}


/* ========================================================
   RESPONSIVE - MOBILE
======================================================== */

@media (max-width: 767.98px) {

    body {
        font-size: 16px;
    }

    h1 {
        font-size: 2.7rem;
    }

    h2 {
        font-size: 2rem;
    }

    .navbar {
        min-height: 64px;
    }

    .navbar-logo {
        width: 36px;
        height: 36px;
    }

    .navbar-logo-text {
        font-size: 0.95rem;
    }

    .hero-section {
        padding-top: 3.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .hero-section .lead {
        font-size: 1.05rem;
    }

    .hero-section .btn {
        width: 100%;
    }

    .hero-logbook-card {
        margin-top: 1.5rem;
    }

    section.py-5 {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .cta-section {
        border-radius: 0;

        margin-left: -12px;
        margin-right: -12px;
    }

    .cta-section .btn {
        width: 100%;
    }

    .footer {
        margin-top: 2rem;
    }
}


/* ========================================================
   RESPONSIVE - SMALL MOBILE
======================================================== */

@media (max-width: 575.98px) {

    h1 {
        font-size: 2.35rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .section-header {
        font-size: 0.75rem;
        letter-spacing: 1.5px;
    }

    .hero-card-header {
        padding: 0.85rem 1rem;
    }

    .hero-card-row,
    .hero-card-total {
        padding: 0.85rem 1rem;
    }
}