/* Chapter 01: Hero */
.chapter-hero {
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chapter-hero .chapter-content {
    text-align: center;
    position: relative;
    z-index: 2;
}



.hero-title {
    display: flex;
    flex-direction: column;
    font-size: 8vw;
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--color-text-light);
}

.hero-title span {
    display: block;
}

.hero-footer {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.scroll-prompt {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Chapter 02: Work */
.chapter-work {
    background-color: transparent;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10vw;
}

.chapter-work .chapter-header {
    margin-bottom: 4rem;
    display: flex;
    align-items: baseline;
    gap: 2rem;
}

.chapter-number {
    font-size: 6rem;
    font-family: var(--font-heading);
    color: rgba(0, 0, 0, 0.1);
    font-weight: 700;
}

.chapter-title {
    font-size: 3rem;
    color: var(--color-text-dark);
}

.work-slider {
    display: flex;
    gap: 4rem;
    overflow-x: auto;
    padding-bottom: 2rem;
}

.project-card {
    min-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 1.5rem;
}

.project-image {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.project-info h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.project-info p {
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* Chapter 03: About */
.chapter-about {
    background-color: transparent;
}

.about-visual {
    height: 100%;
    overflow: hidden;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-content {
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content .chapter-number {
    color: rgba(255, 255, 255, 0.1);
}

.about-content .chapter-title {
    color: white;
}

.about-text-block {
    max-width: 600px;
    margin-top: 2rem;
}

.about-text-block .lead {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: white;
}

.about-text-block p {
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.tech-item h4 {
    color: var(--color-accent-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* Chapter 04: Contact */
.chapter-contact {
    background-color: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Removed light-mode container styling as per user request */

.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.giant-text {
    font-size: 12vw;
    line-height: 0.9;
    font-family: var(--font-heading);
}

.contact-actions {
    display: flex;
    gap: 2rem;
}

footer {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    text-align: center;
    opacity: 0.7;
    font-size: 0.8rem;
}

.btn-outline {
    border-color: white;
    color: white;
}

/* Mobile Breakpoints for Chapters */
@media (max-width: 1023px) {
    .chapter-work {
        padding: 4rem 2rem;
    }
    
    .work-slider {
        flex-direction: column;
        overflow-y: visible;
        overflow-x: hidden;
        gap: 2rem;
    }
    
    .project-card {
        min-width: 100%;
        width: 100%;
    }
    
    .chapter-header {
        margin-bottom: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .chapter-number {
        font-size: 3rem;
    }
    
    .chapter-title {
        font-size: 2rem;
    }
    
    .about-content {
        padding: 3rem 2rem;
    }
    
    .chapter-contact {
        padding: 4rem 2rem;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .contact-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 14vw;
    }
    
    .hero-footer {
        padding: 0 1.5rem;
        text-align: center;
    }
    
    .tilted-card-figure {
        height: 200px !important;
    }
}