/* Project Pages Specific Styles */

/* Hero Section */
.hero {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Static Media Styles */
.static-media {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    z-index: 1;
}

.static-media picture,
.static-media source {
    width: 100%;
    height: 100%;
}

.static-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: absolute;
    top: 0;
    left: 0;
}

/* Play Button Styles */
.play-button {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 16px 20px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    transition: all 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 56px;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateX(-50%) scale(0.9);
    border: none;
    z-index: 2;
}

.play-button.visible {
    display: flex;
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

.play-button.expanded {
    width: 200px;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) scale(1.02);
}

.play-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-text {
    color: white;
    font-size: 16px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.6s ease;
    transition-delay: 0.4s;
    margin-right: 4px;
}

.play-button.expanded .play-text {
    opacity: 1;
}

@media (max-width: 768px) {
    .play-button {
        bottom: 80px;
    }
}

/* Project Content Layout - Desktop */
body .project-content {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 80px var(--side-padding);
    margin: 0;
}

body .project-details {
    max-width: var(--container-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(min(240px, 20%), 1fr) minmax(auto, 2fr) minmax(min(200px, 20%), 300px);
    gap: clamp(2rem, 5vw, 8rem);
    position: relative;
}

/* Left Column */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-header {
    margin-bottom: 20px;
}

.year {
    font-size: 14px;
    color: #666;
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.project-title h1 {
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    color: #000;
}

.section-group {
    margin-bottom: 32px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 0px;
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

.section-title::first-letter {
    text-transform: uppercase;
}

.section-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.section-list li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.project-details .left-column .section-group h2 {
    font-size: 24px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0px;
    text-transform: lowercase;
    letter-spacing: 0.02em;
}

.project-details .left-column .section-group h2::first-letter {
    text-transform: uppercase;
}

/* Center Column */
.center-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.project-description {
    max-width: 720px;
}

.project-description p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 24px;
}

.next-project {
    font-size: 16px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
    align-self: flex-start;
    transition: opacity 0.2s;
}

.next-project:hover {
    opacity: 0.7;
}

/* Documentation Buttons */
.documentation-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.documentation-btn {
    text-decoration: none;
    transition: transform 0.2s;
}

.documentation-btn:hover {
    transform: translateY(-2px);
}

.documentation-btn svg {
    width: 100%;
    height: auto;
}

.documentation-btn .mobile-text {
    display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    body .project-content {
        padding: 40px 10px;
    }

    body .project-details {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    body .left-column {
        gap: 8px;
        position: relative;
    }

    body .left-column::after {
        content: '';
        display: block;
        width: 100%;
        height: 1.1px;
        background: rgba(0, 0, 0, 0.1);
        margin: 34px 0 -42px;
    }

    body .project-title h1 {
        font-size: 50px;
        letter-spacing: -0.03em;
    }

    body .project-description {
        max-width: 100%;
        margin: 0;
        padding-left: 10px;
    }

    body .project-description p {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.6;
    }

    body .documentation-buttons {
        display: none;
    }

    body .documentation-btn-mobile {
        display: block;
        margin-top: 4px;
    }

    body .documentation-btn .desktop-text {
        display: none;
    }

    body .documentation-btn .mobile-text {
        display: block;
    }

    body .project-details .left-column .section-group h2 {
        font-size: 22px;
    }

    body .center-column {
        gap: 8px;
    }

    body .next-project {
        padding-left: 10px;
        margin-top: 16px;
    }
}

/* Documentation Button Mobile */
.documentation-btn-mobile {
    display: none;
    text-decoration: none;
    transition: transform 0.2s;
}

.documentation-btn-mobile:hover {
    transform: translateY(-2px);
}

.documentation-btn-mobile svg {
    width: 100%;
    height: auto;
}

@media (max-width: 480px) {
    body .project-content {
        padding: 32px 10px;
    }

    body .project-title h1 {
        font-size: 50px;
        letter-spacing: -0.03em;
    }

    body .project-description p {
        font-size: 18px;
    }

    body .project-details .left-column .section-group h2 {
        font-size: 20px;
    }
} 

