/* Font Declarations */
@font-face {
    font-family: 'Archivo Expanded';
    src: url('./fonts/Archivo/static/Archivo_Expanded-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo Expanded';
    src: url('./fonts/Archivo/static/Archivo_Expanded-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('./fonts/Archivo/static/Archivo-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Archivo';
    src: url('./fonts/Archivo/static/Archivo-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-black: #0F0F0F;
    --dark-gray: #1A1A1A;
    --medium-gray: #262626;
    --light-gray: #404040;
    --orange: #FF4F18;
    --white: #FFFFFF;
    --text-gray: #999999;
    --border-gray: #333333;
    
    --font-primary: 'Archivo Expanded', 'Archivo', sans-serif;
    --font-secondary: 'Manrope', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--primary-black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

p {
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.nav-brand {
    position: relative;
}

.nav-icon {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    opacity: 1;
}

/* Hide logo in hero section */
.nav.hide-logo .nav-icon {
    opacity: 0;
}



/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: relative;
    background-image: url('./images/athledex-background.png?v=20250627-2');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 15, 15, 0.6);
    z-index: 1;
}

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

.hero-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
}

.hero-center {
    text-align: left;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out 0.3s forwards;
    max-width: 500px;
}

.hero-logo {
    margin-bottom: 3rem;
}

.logo-image {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero-tagline p {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: normal;
}

.hero-intro {
    margin-top: 3rem;
    max-width: 600px;
}

.hero-intro p {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    font-weight: 300;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll reveal animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll reveal classes */
.scroll-reveal {
    opacity: 0;
    transition: none;
}

.scroll-reveal.revealed {
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-out;
}

.scroll-reveal.fade-up.revealed {
    animation-name: fadeInUp;
}

.scroll-reveal.fade-left.revealed {
    animation-name: fadeInLeft;
}

.scroll-reveal.fade-right.revealed {
    animation-name: fadeInRight;
}








/* Scroll Hijacking Container */
.sections-container {
    position: relative;
    height: 600vh; /* Space for scrolling - 5 sections */
}

.sections-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
}

/* Section Styles with Scroll Hijacking */
.story, .personal, .vision, .future {
    padding: 6rem 0;
    border-bottom: 1px solid var(--border-gray);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.4s ease-out;
}

.story.active, .personal.active, .vision.active, .future.active {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating background colors for contrast */
.story {
    background-color: var(--white);
    color: var(--primary-black);
}

.personal {
    background-color: var(--primary-black);
    color: var(--white);
}

.vision {
    background-color: var(--white);
    color: var(--primary-black);
}

.future {
    background-color: var(--primary-black);
    color: var(--white);
    text-align: center;
}

.future .section-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.future .section-title {
    text-align: center;
    margin: 0 auto;
    hyphens: none;
    word-break: keep-all;
    white-space: normal;
}

.future .section-subtitle {
    text-align: center;
    margin: 0.5rem auto 1.5rem auto;
    hyphens: none;
    word-break: keep-all;
}

.future .story-stats {
    margin: 2rem auto 2rem auto;
    justify-content: center;
}

.future .story-content {
    text-align: center;
}

.future .future-details {
    text-align: center;
}

.future .vision-details {
    text-align: center !important;
}

.future .vision-details p {
    text-align: center !important;
}

.future .future-details p {
    text-align: center !important;
    hyphens: none;
    word-break: keep-all;
    overflow-wrap: normal;
}

.future .large-text {
    text-align: center !important;
    hyphens: none;
    word-break: keep-all;
    overflow-wrap: normal;
}

.section-header {
    margin: 0 auto 2.5rem auto;
    text-align: center;
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    white-space: normal;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    font-family: var(--font-primary);
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.story-content,
.personal-content,
.vision-content,
.future-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.large-text {
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1.5;
    margin: 0 auto 2rem auto;
    color: var(--white);
    text-align: center;
    opacity: 0.95;
    max-width: none;
    width: auto;
    orphans: 3;
    widows: 3;
    text-wrap: pretty;
    hyphens: auto;
    word-spacing: 0.15em;
    white-space: nowrap;
    display: block;
}

.story-details, 
.personal-details,
.vision-details, 
.future-details {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

.story-details p, 
.personal-details p,
.vision-details p, 
.future-details p {
    font-family: var(--font-secondary);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 2rem;
    opacity: 0.9;
    orphans: 3;
    widows: 3;
    text-wrap: pretty;
    hyphens: auto;
    word-spacing: 0.15em;
    text-align: justify;
}

/* Override for emphasis and bold text with higher specificity */
.story-details p.emphasis, 
.personal-details p.emphasis,
.vision-details p.emphasis, 
.future-details p.emphasis {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600 !important;
}

.story-details p.bold-text, 
.personal-details p.bold-text,
.vision-details p.bold-text, 
.future-details p.bold-text {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 500 !important;
}

/* Text colors for white background sections */
.story .story-details p,
.vision .vision-details p {
    color: #555555;
    opacity: 0.85;
}

/* White background sections - specific overrides for emphasis and bold text */
.story .story-details p.emphasis,
.vision .vision-details p.emphasis {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600 !important;
    color: #2a2a2a !important;
    opacity: 0.9;
}

.story .story-details p.bold-text,
.vision .vision-details p.bold-text {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 500 !important;
    color: #2a2a2a !important;
    opacity: 0.9;
}

.story .story-details p.normal-text,
.vision .vision-details p.normal-text {
    font-family: var(--font-secondary);
    color: #555555;
    font-weight: 300;
    opacity: 0.85;
}

.story .large-text,
.vision .large-text {
    color: #2a2a2a;
    opacity: 0.9;
}

.story .section-subtitle,
.vision .section-subtitle {
    color: var(--primary-black);
}

/* Removed special vision title styling for consistency */

.story .emphasis,
.vision .emphasis {
    font-family: 'Manrope', sans-serif !important;
    color: #2a2a2a !important;
    font-weight: 600 !important;
    font-style: normal;
    opacity: 0.9;
}

.story .bold-text,
.vision .bold-text {
    font-family: 'Manrope', sans-serif !important;
    color: #2a2a2a !important;
    font-weight: 500 !important;
    font-style: normal;
    opacity: 0.9;
}

.emphasis {
    font-family: 'Manrope', sans-serif !important;
    color: var(--white) !important;
    font-weight: 600 !important;
    font-style: normal;
    font-size: 1.05rem;
    orphans: 3;
    widows: 3;
    text-wrap: pretty;
    hyphens: auto;
    word-spacing: 0.15em;
    text-align: justify;
}

.bold-text {
    font-family: 'Manrope', sans-serif !important;
    color: var(--white) !important;
    font-weight: 500 !important;
    font-style: normal;
    font-size: 1.05rem;
    orphans: 3;
    widows: 3;
    text-wrap: pretty;
    hyphens: auto;
    word-spacing: 0.15em;
    text-align: justify;
    margin-bottom: 2rem;
}

.normal-text {
    font-family: var(--font-secondary);
    color: var(--text-gray);
    font-weight: 300;
    font-style: normal;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
    orphans: 3;
    widows: 3;
    text-wrap: pretty;
    hyphens: auto;
    word-spacing: 0.15em;
    text-align: justify;
}

.story-stats {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    justify-content: center;
    align-items: stretch;
    margin-top: 2rem;
    max-width: 400px;
    width: 100%;
    perspective: 1000px;
}

.stat {
    text-align: center;
    padding: 2rem 1.5rem;
    border: none;
    border-radius: 16px;
    background: #ffffff;
    color: var(--primary-black);
    flex: 1;
    max-width: 200px;
    min-height: 120px;
    position: relative;
    transform: translateY(0);
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 12px rgba(0, 0, 0, 0.05),
        0 1px 4px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--orange), #ff6b3d, var(--orange));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: 0% 0; }
}

.stat:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        0 4px 16px rgba(255, 79, 24, 0.06);
}

.stat:nth-child(1) {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.stat:nth-child(2) {
    animation: slideInUp 0.8s ease-out 0.4s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stats styling for white background sections */
.story .stat {
    background: linear-gradient(145deg, #ffffff, #f8f8f8);
    border: none;
    color: var(--primary-black);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 4px 15px rgba(0, 0, 0, 0.04);
}

.story .stat:hover {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    transform: translateY(-10px) scale(1.03);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.12),
        0 10px 30px rgba(255, 79, 24, 0.08);
}

.story .stat-label {
    color: #555555;
    transition: color 0.3s ease;
}

.story .stat:hover .stat-label {
    color: var(--orange);
}

/* Center text for all sections */
.story .story-details,
.personal .personal-details,
.future .future-details,
.vision-details,
.personal .vision-details {
    text-align: center;
    margin: 0 auto;
}

.story .story-details p,
.personal .personal-details p,
.future .future-details p,
.vision-details p,
.personal .vision-details p {
    text-align: justify;
}

.stat-number {
    display: block;
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 0.25rem;
    position: relative;
    transition: all 0.3s ease;
}

.stat:hover .stat-number {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 12px rgba(255, 79, 24, 0.3));
}

.stat-label {
    font-family: var(--font-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    color: #888888;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 1;
    position: relative;
    transition: all 0.3s ease;
}

.stat:hover .stat-label {
    opacity: 1;
    transform: translateY(-2px);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid #e0e0e0;
    text-align: center;
    background-color: #ffffff;
    color: #333333;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.footer-brand p {
    color: #666666;
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-contact p {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: #666666;
}

/* Scroll Progress Bar */
.scroll-progress-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(64, 64, 64, 0.3);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), #FF6B3D);
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px rgba(255, 79, 24, 0.5);
    position: relative;
}

.scroll-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3));
    animation: shimmerProgress 2s infinite;
}

@keyframes shimmerProgress {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Hover effect for progress bar */
.scroll-progress-container:hover .scroll-progress-bar {
    height: 6px;
    box-shadow: 0 0 15px rgba(255, 79, 24, 0.7);
}

.scroll-progress-container:hover {
    height: 6px;
}

/* Hide mobile breaks on desktop */
.mobile-break {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-break {
        display: block;
    }
    
    .future .section-header {
        margin-bottom: 0.5rem !important;
    }
    
    .future .section-title {
        font-size: 1.4rem !important;
        margin-bottom: 0.5rem !important;
    }
    
    .future .section-subtitle {
        font-size: 1.2rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .future .story-stats {
        margin-top: 1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .future .large-text {
        display: none;
    }
    .story-details p, 
    .personal-details p,
    .vision-details p, 
    .future-details p {
        font-size: 0.9rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
    }
    .section-title {
        font-size: clamp(1.2rem, 3.5vw, 1.6rem);
        line-height: 1.2;
        padding: 0 0.5rem;
        margin-left: 0;
        margin-right: 0;
        word-break: break-word;
    }
    
    .large-text {
        font-size: 1rem;
        padding: 0 0.5rem;
        margin-bottom: 0.5rem !important;
    }
    
    .section-header {
        margin-bottom: 1rem !important;
        padding-top: 0 !important;
    }
    
    .story-details, 
    .personal-details,
    .vision-details, 
    .future-details {
        padding: 0 1.5rem;
        max-width: 100%;
    }
    
    .vision-content {
        padding: 0;
        max-width: 100%;
    }
    .hero {
        padding: 0 0.75rem;
        align-items: flex-start;
        padding-top: 25vh;
        background-position: 50% center;
    }
    
    .hero-content {
        padding-left: 0;
        justify-content: center;
        text-align: center;
    }
    
    .hero-center {
        transform: none;
        opacity: 1;
        animation: none;
        text-align: center;
        max-width: 100%;
        padding-top: 0;
    }
    
    .logo-image {
        max-height: 70px;
        margin-bottom: 1.5rem;
    }
    
    .hero-tagline p {
        font-size: 1.2rem;
        white-space: normal;
        line-height: 1.3;
        text-align: center;
    }
    
    .hero-intro {
        margin-top: 2rem;
        text-align: center;
    }
    
    .hero-intro p {
        font-size: 1rem;
    }
    
    .nav-icon {
        height: 35px;
    }
    
    .story-content,
    .personal-content,
    .vision-content,
    .future-content {
        max-width: 100%;
        padding: 0;
    }
    
    .section-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .container {
        padding: 0 0.75rem;
        margin: 0 auto;
    }
    
    .nav {
        padding: 1rem;
    }
    
    .hero {
        padding: 0 0.75rem;
    }
    
    .story, .personal, .vision, .future {
        padding: 3rem 0;
        align-items: flex-start;
    }
    
    .story .container,
    .personal .container,
    .vision .container,
    .future .container {
        padding: 0;
    }
    
    .story-stats {
        flex-direction: column;
        gap: 1rem;
        max-width: 250px;
        margin: 0 auto;
        margin-top: 1.5rem;
    }
    
    .stat {
        max-width: none;
        padding: 1.5rem 1.2rem;
        border-radius: 12px;
        min-height: 100px;
    }
    
    .stat-number {
        font-size: 2rem;
        margin-bottom: 0.3rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.12em;
        font-weight: 600;
    }
    

}

@media (max-width: 480px) {
    .future .section-title {
        font-size: 1.25rem !important;
    }
    
    .future .section-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .future .vision-details p {
        font-size: 0.8rem !important;
        margin-bottom: 0.8rem !important;
        text-align: center !important;
    }
    
    .future .vision-details p.emphasis {
        font-size: 0.85rem !important;
        text-align: center !important;
    }
    .story-details p, 
    .personal-details p,
    .vision-details p, 
    .future-details p {
        font-size: 0.8rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .story-details, 
    .personal-details,
    .vision-details, 
    .future-details {
        padding: 0 1.75rem;
    }
    .hero {
        padding-top: 20vh;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        background-position: 53% center;
    }
    
    .story, .personal, .vision, .future {
        padding: 6rem 0;
        align-items: flex-start;
    }
    
    .logo-image {
        max-height: 60px;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.1rem;
        padding: 0 0.5rem;
        line-height: 1.2;
        margin-left: 0;
        margin-right: 0;
    }
    
    .large-text {
        font-size: 0.95rem;
        padding: 0 0.5rem;
        margin-bottom: 0.4rem !important;
    }
    
    .section-header {
        margin-bottom: 1.5rem !important;
        padding-top: 0 !important;
    }
    

} 