/* css/about-styles.css */

/* Base Styles (can be moved to a global css file later if desired) */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0A0A0A;
    color: #EAEAEA;
    overflow-x: hidden;
}

.hero-gradient-text {
    background: linear-gradient(90deg, #5E72EB 0%, #FF5E9E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-secondary {
    border: 1px solid #4A4A4A;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #EAEAEA;
    color: #0A0A0A;
}

/* About Page Specific Styles */
#about-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#hero-title .hero-word {
    display: inline-block;
    white-space: nowrap;
}

#story-interlude {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0A0A0A;
}

#story-interlude-text {
    opacity: 0; /* Initially hidden */
}

/* Ethos Section Styles */
#ethos-section {
    position: relative;
    overflow-x: hidden;
}

.ethos-cards-container {
    padding: 20px 0;
}

.ethos-cards-wrapper {
    display: flex;
    gap: 2rem;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.ethos-card {
    flex: 0 0 auto;
    width: 320px;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(60px) scale(0.9);
}

.ethos-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.ethos-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.ethos-svg {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
}

.ethos-card:hover .ethos-svg {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(94, 114, 235, 0.5));
}

.ethos-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
}

.ethos-description {
    color: #B0B0B0;
    line-height: 1.6;
    font-size: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ethos-cards-container {
        padding: 20px 0;
    }
    
    .ethos-cards-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        padding: 0 1rem;
        max-width: none;
        width: 100%;
    }
    
    .ethos-card {
        width: 100%;
        max-width: 350px;
        padding: 1.5rem;
    }
    
    .ethos-svg {
        width: 60px;
        height: 60px;
    }
    
    #ethos-text {
        font-size: 1.25rem !important;
        line-height: 1.5;
        margin-bottom: 2rem;
    }
}

/* Story Section */
#story-section {
    position: relative;
}

#story-text {
    transform: translateY(50px);
}

/* Timeline Section Styles */
.timeline-section {
    height: 600vh; /* 6 years * 100vh each */
    background: #000;
    position: relative;
}

.timeline-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 2rem 4rem;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.cr8v-logo {
    width: clamp(200px, 40vw, 400px);
    height: auto;
}

.content-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    padding-left: 2rem;
}

.timeline-year {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: bold;
    background: linear-gradient(45deg, #0a0bff, #eb0ffd, #f91c23, #9820fe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    opacity: 1;
    transform: translateX(0);
}

.timeline-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: bold;
    background: linear-gradient(45deg, #0a0bff, #eb0ffd, #f91c23, #9820fe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    opacity: 1;
    transform: translateX(0);
}

.timeline-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    color: white;
    opacity: 1;
    transform: translateX(0);
}

/* SVG Logo Animations */
.logo-8 {
    fill: none;
    stroke: url(#gradient-stroke);
    stroke-width: 3;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
}

.logo-cr, .logo-v {
    fill: transparent;
    opacity: 0;
}

.logo-8-fill {
    fill: url(#gradient-fill);
    opacity: 0;
}

/* Mobile Responsive for Timeline */
@media (max-width: 768px) {
    .timeline-container {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 2rem;
        padding: 2rem;
    }

    .content-container {
        padding-left: 0;
        text-align: center;
    }
}

.philosophy-card {
    background-color: #111111;
    border: 1px solid #2a2a2a;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    position: relative;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    border-color: #5E72EB;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.philosophy-card .icon {
    transition: transform 0.3s ease;
}

.philosophy-card:hover .icon {
    transform: scale(1.1);
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}