/* About Page Styles - OS 17/Jan/2025 */

:root {
    --theme-bg: rgb(240, 236, 232);
    --theme-bg-light: rgb(245, 242, 239);
    --theme-bg-dark: rgb(230, 226, 222);
}

/* Override body background for about page */
body.page-template-page-about {
    background-color: var(--theme-bg);
}

/* Hero Section */
.about-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.8;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: grayscale(100%);
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(240, 236, 232, 0.95) 0%, 
        rgba(245, 242, 239, 0.9) 25%, 
        rgba(240, 236, 232, 0.85) 50%, 
        rgba(245, 242, 239, 0.9) 75%, 
        rgba(240, 236, 232, 0.95) 100%);
    z-index: 1;
}

/* Floating Elements Animation */
.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-dot {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(51,51,51,0.05) 0%, transparent 70%);
    animation: float-around var(--duration, 20s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.floating-dot:nth-child(1) {
    top: 10%;
    left: 5%;
}

.floating-dot:nth-child(2) {
    top: 60%;
    right: 10%;
}

.floating-dot:nth-child(3) {
    bottom: 10%;
    left: 50%;
}

@keyframes float-around {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin: 0;
    font-weight: 300;
    letter-spacing: -0.02em;
}

.title-line-1 {
    display: block;
    font-weight: 600;
    animation: fadeInSlide 1s ease-out 0.3s forwards;
    font-family: biennale;
    text-transform: lowercase;
}

.title-line-2 {
    display: block;
    font-weight: 400;
    text-transform: lowercase;
    opacity: 0;
    animation: fadeInSlide 1s ease-out 0.6s forwards;
}

.hero-divider {
    width: 60px;
    height: 1px;
    background: #333;
    margin: 3rem auto 0;
    opacity: 0;
    animation: expandWidth 1s ease-out 1s forwards;
}

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

@keyframes expandWidth {
    from {
        opacity: 0;
        width: 0;
    }
    to {
        opacity: 1;
        width: 60px;
    }
}

/* Introduction Section */
.about-intro {
    padding: 8rem 0;
    background: var(--theme-bg);
    position: relative;
    z-index: 10;
    will-change: transform;
    transition: transform 0.1s ease-out;
    box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.05);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.intro-quote::before {
    content: '"';
    position: absolute;
    left: -3rem;
    top: -2rem;
    font-size: 9rem;
    color: rgba(51, 51, 51, 0.1);
    font-family: 'Cormorant';
    font-style: normal;
}

.intro-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: #333;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 2rem;
    font-family: 'Cormorant';
    letter-spacing: 1px;
}

.intro-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    font-family: 'Poppins';
    font-weight: 200;
    letter-spacing: 1px;
}

.image-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.image-wrapper img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: filter 0.6s ease;
}

.image-wrapper:hover img {
    filter: grayscale(0%);
}

.image-frame {
    position: absolute;
    inset: -20px;
    pointer-events: none;
}

/* Stats Section */
.about-stats {
    padding: 6rem 0;
    background: var(--theme-bg-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 200;
    color: #333;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 400;
    color: #555;
    margin-bottom: 0.5rem;
}

.stat-detail {
    font-size: 0.875rem;
    color: #777;
    line-height: 1.5;
}

/* Visual Interlude */
.about-interlude {
    position: relative;
    padding: 0;
    background: var(--theme-bg);
    z-index: 5;
}

.interlude-content {
    position: relative;
    max-width: 100%;
    height: 92vw;
    min-height: 600px;
    max-height: 100%;
    overflow: hidden;
}

.interlude-image {
    position: absolute;
    inset: 0;
}

.interlude-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: grayscale(100%) brightness(0.7);
}

.interlude-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, 
        rgba(240, 236, 232, 0.9) 0%, 
        rgba(240, 236, 232, 0.7) 50%, 
        rgba(240, 236, 232, 0.4) 100%);
}

.interlude-text {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    padding: 4rem;
    z-index: 1;
}

.interlude-quote {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.4;
    font-weight: 300;
    font-style: italic;
    color: #333;
    margin: 0;
    position: relative;
    font-family: 'Cormorant';
    letter-spacing: 1px;
}

.interlude-quote::before {
    content: '"';
    position: absolute;
    left: -3rem;
    top: -2rem;
    font-size: 8rem;
    color: rgba(51, 51, 51, 0.1);
    font-family: Georgia, serif;
    font-style: normal;
}

/* Journey Timeline */
.about-journey {
    padding: 8rem 0;
    background: var(--theme-bg-light);
    position: relative;
    z-index: 15;
    will-change: transform;
    transition: transform 0.1s ease-out;
    box-shadow: 0 -30px 50px rgba(0, 0, 0, 0.08);
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 5rem;
    color: #333;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    font-family: 'Poppins';
    letter-spacing: 1px;
    font-weight: 300;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--theme-bg-dark);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.timeline-item:nth-child(even) .timeline-content {
    grid-column: 2;
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
    grid-column: 1;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: 50%;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: 50%;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #333;
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.timeline-year {
    font-size: 2rem;
    font-weight: 200;
    color: #333;
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: #333;
    margin-bottom: 1rem;
}

.timeline-text,
.timeline-result {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1rem;
}

.timeline-result {
    font-style: italic;
    color: #555;
}

/* Philosophy Section */
.about-philosophy {
    padding: 8rem 0;
    background: linear-gradient(to bottom, var(--theme-bg), var(--theme-bg-light));
}

.philosophy-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    font-family: Poppins;
    font-weight: 200;
}

.philosophy-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: #333;
    font-family: 'biennale';
    text-transform: lowercase;
}

.philosophy-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #666;
    margin-bottom: 4rem;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    text-align: left;
}

.philosophy-item h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #333;
}

.philosophy-item p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
}



/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .intro-image {
        order: -1;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .interlude-content {
        height: 120vw;
        min-height: 500px;
    }
    
    .interlude-text {
        width: 100%;
        padding: 3rem 2rem;
        text-align: center;
        background: rgba(240, 236, 232, 0.95);
    }
    
    .interlude-overlay {
        background: linear-gradient(to bottom, 
            rgba(240, 236, 232, 0.4) 0%, 
            rgba(240, 236, 232, 0.95) 70%, 
            rgba(240, 236, 232, 1) 100%);
    }
    
    .interlude-quote {
        font-size: clamp(1.25rem, 4vw, 1.75rem);
    }
    
    .interlude-quote::before {
        left: 50%;
        transform: translateX(-50%);
        top: -3rem;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-item {
        grid-template-columns: 1fr;
        padding-left: 60px;
    }
    
    .timeline-item .timeline-content {
        grid-column: 1 !important;
        text-align: left !important;
    }
    
    .timeline-dot {
        left: 20px !important;
        right: auto !important;
    }
    
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    

}

/* AOS Animation Support */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

/* Print Styles */
@media print {
    .floating-elements,
    .hero-bg-gradient,
    .interlude-overlay {
        display: none;
    }
    
    .about-hero {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .image-wrapper img,
    .interlude-image img {
        filter: none;
    }
    
    .interlude-content {
        height: auto;
        min-height: auto;
    }
    
    .interlude-text {
        position: static;
        transform: none;
        width: 100%;
        padding: 2rem 0;
    }
} 