/* ═══════════════════════════════════════════════════
   JustInTheClouds — Main Stylesheet
   Colors: Navy #1B3A6B  |  Sky #4A90D9  |  Red #E63946
   ═══════════════════════════════════════════════════ */

:root {
    --navy:      #1B3A6B;
    --navy-dark: #0F2244;
    --sky:       #4A90D9;
    --sky-light: #87CEEB;
    --red:       #E63946;
    --gold:      #F1A208;
    --white:     #FFFFFF;
    --off-white: #F4F8FC;
    --gray-100:  #EEF4FB;
    --gray-200:  #D6E4F0;
    --gray-600:  #5A6B7C;
    --gray-800:  #2D3E50;
    --radius:    12px;
    --shadow:    0 6px 28px rgba(27,58,107,0.10);
    --shadow-lg: 0 14px 48px rgba(27,58,107,0.16);
    --transition: 0.22s ease;
    --container: 1100px;
    --header-h:  74px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', -apple-system, sans-serif;
    line-height: 1.2;
    color: var(--navy);
    font-weight: 700;
}

a { color: var(--sky); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy); }

img, svg { max-width: 100%; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ─── BUTTONS ─────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.4px;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    white-space: nowrap;
    text-decoration: none;
    border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(230,57,70,0.35);
}
.btn-primary:hover {
    background: #c9303d;
    color: var(--white);
    box-shadow: 0 8px 28px rgba(230,57,70,0.45);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border-color: var(--navy);
}
.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
}

.btn-social {
    padding: 10px 18px;
    font-size: 13px;
    color: var(--white);
}
.btn-ig  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.btn-fb  { background: #1877F2; }
.btn-yt  { background: #FF0000; }

/* ─── HEADER ─────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.3px;
    line-height: 1;
}
.logo-just   { color: var(--navy); }
.logo-in     { color: var(--sky); }
.logo-clouds { color: var(--navy); }

.nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.nav-menu a {
    display: block;
    padding: 8px 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    color: var(--gray-800);
    border-radius: 8px;
    transition: background var(--transition), color var(--transition);
}
.nav-menu a:hover { background: var(--gray-100); color: var(--navy); }
.nav-menu .nav-cta {
    background: var(--red);
    color: var(--white) !important;
    border-radius: 50px;
    padding: 9px 18px;
}
.nav-menu .nav-cta:hover { background: #c9303d; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

/* ─── SECTION COMMON ─────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 52px;
}
.section-header h2 { font-size: clamp(26px, 3.5vw, 40px); }
.section-eyebrow {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 10px;
}

/* ─── HERO ───────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(155deg, #0F2244 0%, #1B3A6B 40%, #2A5298 75%, #4A90D9 100%);
    padding: calc(var(--header-h) + 60px) 24px 80px;
    text-align: center;
}

.hero-svg-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-svg-wrap svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.hero-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--sky-light);
    margin-bottom: 18px;
    opacity: 0.9;
}

.hero-headline {
    font-size: clamp(52px, 8vw, 96px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.0;
    letter-spacing: -2px;
    margin-bottom: 24px;
    text-shadow: 0 4px 32px rgba(0,0,0,0.25);
}

.hero-sub {
    font-size: clamp(18px, 2.2vw, 22px);
    color: rgba(255,255,255,0.90);
    margin-bottom: 14px;
    font-weight: 300;
    line-height: 1.5;
}
.hero-sub strong { font-weight: 700; color: var(--white); }

.hero-support {
    font-size: 15px;
    color: var(--sky-light);
    margin-bottom: 42px;
    opacity: 0.85;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.hero-social-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}
.btn-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-right: 4px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}
.hero-scroll-indicator span {
    display: block;
    width: 22px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}
.hero-scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 6px; left: 50%;
    transform: translateX(-50%);
    width: 4px; height: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 2px;
    animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    80%       { top: 18px; opacity: 0; }
}

/* ─── MISSION ────────────────────────────────── */
.mission {
    padding: 100px 0;
    background: var(--white);
}

.mission-lead {
    max-width: 720px;
    margin: 0 auto 48px;
    font-size: 18px;
    text-align: center;
    color: var(--gray-600);
    line-height: 1.75;
}

.mission-quote {
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    padding: 40px 48px;
    max-width: 700px;
    margin: 0 auto 64px;
    text-align: center;
    position: relative;
}
.mission-quote::before {
    content: '\201C';
    position: absolute;
    top: -10px; left: 32px;
    font-size: 100px;
    color: var(--sky);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.5;
}
.mission-quote p {
    font-size: clamp(18px, 2.2vw, 22px);
    font-style: italic;
    font-weight: 300;
    line-height: 1.55;
    color: var(--white);
    margin-bottom: 18px;
}
.mission-quote cite {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--sky-light);
}

.mission-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
}
.mission-col h3 {
    font-size: 22px;
    margin-bottom: 16px;
}
.mission-col p {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.75;
}
.mission-img-placeholder {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.mission-img-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ─── HOW IT WORKS ───────────────────────────── */
.how-it-works {
    padding: 100px 0;
    background: var(--gray-100);
}

.steps {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: var(--shadow);
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
}
.step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--sky);
    margin-bottom: 16px;
    text-transform: uppercase;
}
.step-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}
.step h3 {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--navy);
}
.step p { color: var(--gray-600); font-size: 15px; line-height: 1.65; }

.step-arrow {
    font-size: 28px;
    color: var(--gray-200);
    align-self: center;
    flex-shrink: 0;
    margin-top: -20px;
}

/* ─── FLIGHTS ────────────────────────────────── */
.flights {
    padding: 100px 0;
    background: var(--white);
}

.flights-youtube {
    margin-bottom: 56px;
    text-align: center;
}
/* YouTube responsive embed */
.yt-embed-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto 16px;
}
.yt-embed-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 0;
}
.yt-caption { color: var(--gray-600); font-size: 14px; text-align: center; }
.yt-caption a { color: var(--sky); font-weight: 600; }
.yt-caption em { color: var(--gray-600); }

/* YouTube channel card (fallback) */
.yt-channel-card {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-width: 800px;
    margin: 0 auto 40px;
    text-decoration: none;
    background: #0F0F0F;
    transition: transform var(--transition), box-shadow var(--transition);
}
.yt-channel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 56px rgba(0,0,0,0.22);
}
.yt-channel-card__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.yt-channel-card__bg svg { width: 100%; height: 100%; }
.yt-channel-card__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 40px 36px;
    flex-wrap: wrap;
}
.yt-channel-card__icon { flex-shrink: 0; }
.yt-channel-card__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.yt-channel-card__text strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
}
.yt-channel-card__text span {
    font-size: 15px;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
}
.yt-channel-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FF0000;
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    padding: 12px 22px;
    border-radius: 50px;
    flex-shrink: 0;
    transition: background var(--transition);
}
.yt-channel-card:hover .yt-channel-card__cta { background: #cc0000; }

.flights-social-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
    border-radius: var(--radius);
    background: var(--gray-100);
    text-decoration: none;
    color: var(--gray-800);
    border: 2px solid transparent;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.social-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    color: var(--gray-800);
}
.social-card--ig:hover { border-color: #E1306C; }
.social-card--fb:hover { border-color: #1877F2; }
.social-card--yt:hover { border-color: #FF0000; }
.social-card--sub:hover{ border-color: var(--navy); }

.social-card-icon { flex-shrink: 0; color: var(--navy); }
.social-card--ig .social-card-icon { color: #E1306C; }
.social-card--fb .social-card-icon { color: #1877F2; }
.social-card--yt .social-card-icon { color: #FF0000; }

.social-card-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}
.social-card-body strong { font-size: 15px; font-weight: 700; color: var(--navy); }
.social-card-body span  { font-size: 13px; color: var(--gray-600); }
.social-card-body em    { font-size: 12px; color: var(--gray-600); font-style: normal; }
.social-card-follow     { font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700; color: var(--sky); flex-shrink: 0; }

.flights-closing {
    text-align: center;
    color: var(--gray-600);
    font-style: italic;
    font-size: 15px;
}

/* ─── CTA SECTION ────────────────────────────── */
.cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, #2A5298 60%, var(--sky) 100%);
    padding: 100px 0;
    text-align: center;
    color: var(--white);
}
.cta-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.4;
}
.cta-bg svg { width: 100%; height: 100%; object-fit: cover; }

.cta-inner { position: relative; z-index: 2; }
.cta-inner h2 {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--white);
    margin-bottom: 18px;
}
.cta-lead {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255,255,255,0.88);
    max-width: 620px;
    margin: 0 auto 48px;
    line-height: 1.65;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    margin-bottom: 36px;
}

.btn-cta {
    padding: 14px 24px;
    font-size: 14px;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(4px);
    border-radius: 50px;
}
.btn-cta:hover { background: rgba(255,255,255,0.22); color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-cta--sub  { background: var(--navy-dark); border-color: rgba(255,255,255,0.4); }
.btn-cta--ig   { background: linear-gradient(45deg,#f09433,#dc2743,#bc1888); border-color: transparent; }
.btn-cta--fb   { background: #1877F2; border-color: transparent; }
.btn-cta--yt   { background: #FF0000; border-color: transparent; }

.cta-angel {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}
.cta-angel a { color: var(--sky-light); font-weight: 600; }
.cta-angel a:hover { color: var(--white); }

/* ─── FOOTER ─────────────────────────────────── */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.75);
    padding: 72px 0 0;
}

.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px 56px;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.4fr;
    gap: 48px;
}

.footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
}
.footer-brand p { font-size: 14px; margin-bottom: 20px; }

.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.7);
    transition: background var(--transition), color var(--transition);
}
.footer-socials a:hover { background: var(--sky); color: var(--white); }

.footer-col h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--sky-light);
    margin-bottom: 18px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-links a:hover { color: var(--white); }

.footer-transparency p { font-size: 14px; line-height: 1.7; margin-bottom: 14px; }
.angel-link a { color: var(--sky-light); font-weight: 600; }
.angel-link a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 24px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: var(--white); }

/* ─── ABOUT PAGE ─────────────────────────────── */
.about-hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--sky) 100%);
    padding: calc(var(--header-h) + 60px) 0 60px;
    color: var(--white);
}
.about-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}
.about-hero-text .section-eyebrow { color: var(--sky-light); }
.about-hero-text h1 { color: var(--white); font-size: clamp(36px, 5vw, 62px); margin: 10px 0 14px; }
.about-tagline { color: rgba(255,255,255,0.75); font-size: 16px; }
.about-hero-logo { flex-shrink: 0; max-width: 320px; }

.about-bio { padding: 80px 0 100px; }
.about-bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: start;
}

.about-photo-placeholder {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 20px;
}
.about-photo-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.about-badges { display: flex; flex-direction: column; gap: 10px; }
.badge {
    display: inline-block;
    background: var(--gray-100);
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 50px;
    border: 1.5px solid var(--gray-200);
}

.about-text-col h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 20px; }
.about-text-col h3 { font-size: 20px; margin: 32px 0 14px; }
.about-text-col p  { color: var(--gray-600); line-height: 1.8; margin-bottom: 18px; }

.about-stats {
    display: flex;
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin: 32px 0;
    flex-wrap: wrap;
}
.stat { text-align: center; flex: 1; min-width: 100px; }
.stat-num { display: block; font-family: 'Montserrat', sans-serif; font-size: 36px; font-weight: 800; color: var(--red); }
.stat-label { font-size: 12px; color: var(--gray-600); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }

.about-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ─── GENERIC PAGE ───────────────────────────── */
.site-main .container {
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 80px;
}
.site-main h1 { font-size: clamp(28px, 4vw, 48px); margin-bottom: 24px; }
.entry-content p { color: var(--gray-600); line-height: 1.8; margin-bottom: 16px; }

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
    .mission-two-col,
    .about-bio-grid { grid-template-columns: 1fr; }
    .footer-inner    { grid-template-columns: 1fr 1fr; }
    .footer-brand    { grid-column: 1 / -1; }
    .flights-social-grid { grid-template-columns: 1fr; }
    .step-arrow { display: none; }
}

@media (max-width: 680px) {
    .site-nav {
        position: fixed;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--gray-200);
        padding: 16px 24px 24px;
        transform: translateY(-110%);
        transition: transform 0.3s ease;
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }
    .site-nav.open { transform: translateY(0); }
    .nav-menu { flex-direction: column; align-items: flex-start; gap: 4px; }
    .nav-menu a { width: 100%; }
    .nav-toggle { display: flex; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero-headline { letter-spacing: -1px; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .about-hero-inner { flex-direction: column; }
    .about-hero-logo { display: none; }
}
