@import url('fonts.css');
/* ==========================================================================
   NET-ZERO PARALLAX BANNER (Actionable Climate Intelligence)
   Horizontally full-bleed, vertically compact div-style banner
   ========================================================================== */

@font-face {
    font-family: 'SF Pro Rounded';
    src: url('fonts/SF-Pro-Rounded-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Rounded';
    src: url('fonts/SF-Pro-Rounded-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SF Pro Rounded';
    src: url('fonts/SF-Pro-Rounded-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.parallax-break {
    position: relative;
    width: 100%;
    padding: 85px 1.5rem 90px;
    min-height: auto;
    background-color: #081a13;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-top: 1px solid rgba(0, 214, 143, 0.22);
    border-bottom: 1px solid rgba(0, 214, 143, 0.22);
    z-index: 2;
}

.parallax-break-bg {
    position: absolute;
    top: -30%;
    left: 0;
    width: 100%;
    height: 160%;
    background-image: url('images/canopy-parallax.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0.42;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    pointer-events: none;
    transition: transform 0.1s cubic-bezier(0.2, 0, 0.2, 1);
}

.parallax-break-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(8, 26, 19, 0.88) 0%,
        rgba(8, 26, 19, 0.65) 50%,
        rgba(8, 26, 19, 0.92) 100%
    );
    pointer-events: none;
}

.parallax-break .container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
}

.parallax-break-content {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Badge Pill */
.parallax-break .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    font-family: 'SF Pro Rounded', ui-rounded, -apple-system, BlinkMacSystemFont, 'Inter', 'Outfit', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 1.4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    user-select: none;
    transition: all 0.3s ease;
}

.parallax-break .section-badge:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.parallax-break .badge-dot {
    width: 8px;
    height: 8px;
    background-color: #00d68f;
    border-radius: 50%;
    box-shadow: 0 0 10px #00d68f;
    animation: netZeroPulseDot 2s infinite ease-in-out;
}

@keyframes netZeroPulseDot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

/* Heading: Instrument Serif / Editorial New italic */
.parallax-break-content h2 {
    font-family: var(--font-editorial, 'Editorial New', 'Instrument Serif', Georgia, serif) !important;
    font-style: italic;
    font-size: clamp(2.4rem, 4.2vw, 3.8rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    line-height: 1.16;
    margin-bottom: 1.1rem;
    color: #ffffff;
    text-wrap: balance;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.5));
}

/* Subtitle */
.parallax-break-content p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(0.98rem, 1.4vw, 1.15rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.65;
    max-width: 680px;
    margin: 0 auto 1.8rem;
    text-wrap: pretty;
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.35));
}

/* Primary Button */
.parallax-break .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 2.2rem;
    border-radius: 100px;
    font-family: 'SF Pro Rounded', ui-rounded, -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.parallax-break .btn-primary {
    background: #ffffff !important;
    color: #0b0e12 !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(255, 255, 255, 0.25) !important;
}

.parallax-break .btn-primary i,
.parallax-break .btn-primary span {
    color: #0b0e12 !important;
}

.parallax-break .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.45), 0 0 28px rgba(255, 255, 255, 0.35) !important;
    background: #f4f4f6 !important;
    color: #0b0e12 !important;
    border-color: #ffffff !important;
}

.parallax-break .btn-primary:hover i,
.parallax-break .btn-primary:hover span {
    color: #0b0e12 !important;
}

.parallax-break .btn-primary:active {
    transform: translateY(-1px) scale(0.99);
}

.parallax-break .btn-primary i {
    font-size: 0.9rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.parallax-break .btn-primary:hover i {
    transform: translateX(4px);
}

/* Reveal Animation */
.parallax-break .reveal-element {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.parallax-break .reveal-element.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .parallax-break {
        padding: 55px 1.25rem;
    }

    .parallax-break-content h2 {
        font-size: 1.85rem;
        margin-bottom: 0.85rem;
    }

    .parallax-break-content p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .parallax-break .btn-primary {
        width: 100%;
        max-width: 320px;
        padding: 0.85rem 1.6rem;
    }
}

/* ==========================================================================
   LIGHT THEME ENFORCEMENT
   Guarantees that on white theme, text and badges remain crisp pure white
   over the dark photographic forest canopy.
   ========================================================================== */
html[data-theme="light"] .parallax-break,
body[data-theme="light"] .parallax-break,
[data-theme="light"] .parallax-break {
    background-color: #081a13 !important;
    color: #ffffff !important;
}

html[data-theme="light"] .parallax-break .section-badge,
body[data-theme="light"] .parallax-break .section-badge,
[data-theme="light"] .parallax-break .section-badge,
html[data-theme="light"] .parallax-break .section-badge *,
body[data-theme="light"] .parallax-break .section-badge *,
[data-theme="light"] .parallax-break .section-badge * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}

html[data-theme="light"] .parallax-break-content h2,
body[data-theme="light"] .parallax-break-content h2,
[data-theme="light"] .parallax-break-content h2,
html[data-theme="light"] .parallax-break-content h2 *,
body[data-theme="light"] .parallax-break-content h2 *,
[data-theme="light"] .parallax-break-content h2 *,
html[data-theme="light"] .parallax-break-content h2 .fx-word,
body[data-theme="light"] .parallax-break-content h2 .fx-word,
[data-theme="light"] .parallax-break-content h2 .fx-word,
html[data-theme="light"] .parallax-break-content h2 .fx-char,
body[data-theme="light"] .parallax-break-content h2 .fx-char,
[data-theme="light"] .parallax-break-content h2 .fx-char,
html[data-theme="light"] .parallax-break-content [data-fx] *,
body[data-theme="light"] .parallax-break-content [data-fx] *,
[data-theme="light"] .parallax-break-content [data-fx] * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6) !important;
}

html[data-theme="light"] .parallax-break-content p,
body[data-theme="light"] .parallax-break-content p,
[data-theme="light"] .parallax-break-content p,
html[data-theme="light"] .parallax-break-content p *,
body[data-theme="light"] .parallax-break-content p *,
[data-theme="light"] .parallax-break-content p *,
html[data-theme="light"] .parallax-break-content p .fx-word,
body[data-theme="light"] .parallax-break-content p .fx-word,
[data-theme="light"] .parallax-break-content p .fx-word,
html[data-theme="light"] .parallax-break-content p .fx-char,
body[data-theme="light"] .parallax-break-content p .fx-char,
[data-theme="light"] .parallax-break-content p .fx-char,
html[data-theme="light"] .parallax-break-content p .fx-word-item,
body[data-theme="light"] .parallax-break-content p .fx-word-item,
[data-theme="light"] .parallax-break-content p .fx-word-item {
    color: rgba(255, 255, 255, 0.92) !important;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.92) !important;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5) !important;
}
