/* ===== PROJECT PAGE STYLES ===== */

/* Header */
.header {
    position: relative;
    min-height: 60vh;
    padding-top: var(--nav-height);
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.header-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 20, 40, 0.85) 0%, rgba(0, 100, 180, 0.5) 50%, rgba(0, 180, 255, 0.2) 100%);
    z-index: 1;
}

.header-content {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;
    max-width: 1100px;
    padding: 0 80px 80px;
    width: 100%;
}

.header-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
    line-height: 1.1;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

/* Project Description */
.proj-description {
    padding: 100px 80px;
    background: var(--color-white);
}

.proj-description-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 60px;
    align-items: start;
}

.proj-description-text p {
    font-size: 1.2rem;
    color: var(--color-text);
    margin-bottom: 20px;
}

.proj-description-image {
    width: 350px;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.proj-description-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Project Media/Video */
.proj-media {
    padding: 80px 100px;
    background: var(--color-bg-light);
}

.proj-media-container {
    max-width: 980px;
    margin: 0 auto;
}

.proj-video {
    position: relative;
    width: 100%;
    max-width: 980px;
    aspect-ratio: 980/454;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.proj-video img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 5px 25px rgba(0, 180, 255, 0.5);
}

.proj-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.proj-video-wrap .play-btn {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.proj-video-wrap:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 35px rgba(0, 180, 255, 0.6);
}

/* More Projects */
.more-projects {
    padding: 80px;
    background: var(--color-white);
}

.more-projects .section-title {
    margin-bottom: 40px;
}

.more-projects-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.more-project-item {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    transition: all 0.4s ease;
    text-decoration: none;
}

.more-project-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.more-project-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
}

.more-project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.more-project-item:hover .more-project-overlay {
    opacity: 1;
}

.more-project-overlay h4 {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .header {
        min-height: 50vh;
    }

    .header-content {
        padding: 0 30px 60px;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .proj-description,
    .proj-media,
    .more-projects {
        padding-left: 30px;
        padding-right: 30px;
    }

    .more-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 30px 40px;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .proj-description-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .more-projects-grid {
        grid-template-columns: 1fr;
    }

    .proj-description {
        padding: 60px 30px;
    }

    .proj-media {
        padding: 0 30px 60px;
    }

    .more-projects {
        padding: 60px 30px;
    }
}

@media (max-width: 480px) {
    .header-content h1 {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 0.85rem;
    }
}