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

:root {
    --heaven-blue: #87CEEB;
    --cloud-white: #FFFFFF;
    --silver: #C0C0C0;
    --light-silver: #E8E8E8;
    --dark-grey: #2C2C2C;
    --light-grey: #8A8A8A;
    --cyan-blue: #4ECDC4;
    --green-teal: #44A08D;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(to bottom, 
        #87CEEB 0%, 
        #B0E0E6 30%, 
        #E0F6FF 60%, 
        #F5F5F5 100%);
    background-attachment: fixed;
    color: var(--dark-grey);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
}

/* Heavenly Scene - Hero Section with Background Image */
.heaven-scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 2;
    overflow: hidden;
    /* Background image */
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transition: filter 1s ease, opacity 1s ease, background-position 0.1s ease-out;
    will-change: transform, background-position;
}

/* Fallback gradient if image doesn't load */
.heaven-scene::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        #A8D0E6 0%, 
        #B8D8E8 30%, 
        #C8E0EA 60%, 
        #D8E8EC 80%, 
        #E8F0F4 100%);
    z-index: -1;
    pointer-events: none;
}

/* Hero Content */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

.festival-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.8));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    line-height: 0.9;
    margin-bottom: 1.5rem;
    color: var(--dark-grey);
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 300;
    color: var(--cyan-blue);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

.hero-scripture {
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 400;
    color: var(--dark-grey);
    line-height: 1.6;
    font-style: italic;
    max-width: 800px;
    margin: 2rem auto 1rem;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    padding: 0 2rem;
}

.scripture-reference {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 600;
    color: var(--cyan-blue);
    letter-spacing: 0.1em;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

/* Scroll Transition - Fade to White/Silver */
body.scrolled .heaven-scene {
    filter: grayscale(100%) brightness(1.2);
    opacity: 0.3;
}

.scroll-container {
    position: relative;
    z-index: 3;
    margin-top: 100vh;
    background: linear-gradient(to bottom, 
        #F5F5F5 0%, 
        #E8E8E8 50%, 
        #D3D3D3 100%);
}

/* Vertical Side Text */
.side-text {
    position: fixed;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    z-index: 11;
    pointer-events: none;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.left-text {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--light-grey);
}

.right-text {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green-teal);
    font-weight: 500;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 4rem;
    position: relative;
}

.content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

/* Section Header */
.section-header {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    margin-bottom: 4rem;
}

.section-number {
    font-size: 1rem;
    font-weight: 400;
    color: var(--light-grey);
    letter-spacing: 0.2em;
}

.section-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--dark-grey);
    letter-spacing: -0.02em;
}

/* About Section */
.about-section {
    padding-top: 8rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.large-text {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    line-height: 1.4;
    color: var(--dark-grey);
    max-width: 900px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.about-item {
    padding: 2rem 0;
    border-top: 1px solid rgba(44, 44, 44, 0.1);
}

.about-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-grey);
}

.about-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--light-grey);
    font-weight: 300;
}

/* Speakers Section */
.speakers-section {
    padding-top: 8rem;
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.speaker-card {
    padding: 2rem 0;
    border-top: 1px solid rgba(44, 44, 44, 0.1);
    transition: transform 0.3s ease;
}

.speaker-card:hover {
    transform: translateY(-5px);
}

.speaker-number {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--light-grey);
    margin-bottom: 1rem;
    letter-spacing: 0.1em;
}

.speaker-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark-grey);
}

.speaker-card p {
    font-size: 1.1rem;
    color: var(--light-grey);
    font-weight: 300;
}

/* Testimonies Section */
.testimonies-section {
    padding-top: 8rem;
}

.testimonies-content {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.testimonies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.testimony-item {
    padding: 2rem 0;
    border-top: 1px solid rgba(44, 44, 44, 0.1);
}

.testimony-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-grey);
}

.testimony-item p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--light-grey);
    font-weight: 300;
}

.psalms-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Schedule Section */
.schedule-section {
    padding-top: 8rem;
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 4rem;
}

.schedule-item {
    display: flex;
    gap: 4rem;
    padding: 2rem 0;
    border-top: 1px solid rgba(44, 44, 44, 0.1);
}

.schedule-day {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--cyan-blue);
    min-width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.schedule-details h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-grey);
}

.schedule-details p {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--light-grey);
    font-weight: 300;
}

/* CTA Section */
.cta-section {
    padding-top: 8rem;
    text-align: center;
    padding-bottom: 10rem;
}

.cta-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-grey);
    letter-spacing: -0.02em;
}

.cta-text {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    margin-bottom: 3rem;
    color: var(--light-grey);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.scripture-box {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3rem auto;
    max-width: 700px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.scripture-text {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--dark-grey);
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 1rem;
    text-align: center;
}

.scripture-box .scripture-reference {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 600;
    color: var(--cyan-blue);
    letter-spacing: 0.1em;
    text-align: center;
    margin-top: 1rem;
}

.cta-button {
    background: var(--dark-grey);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: var(--cyan-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .side-text {
        display: none;
    }
    
    .section {
        padding: 4rem 2rem;
    }
    
    .celestial-body {
        width: 300px;
        height: 300px;
    }
    
    .archway {
        width: 400px;
        height: 250px;
    }
    
    .staircase {
        width: 500px;
    }
    
    .schedule-item {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 3rem 1.5rem;
    }
    
    .about-grid,
    .speakers-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .large-text {
        font-size: 1.5rem;
    }
    
    .festival-logo {
        max-width: 200px;
    }
    
    .celestial-body {
        width: 250px;
        height: 250px;
    }
    
    .archway {
        width: 300px;
        height: 200px;
    }
    
    .staircase {
        width: 350px;
    }
}

/* Smooth scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
