﻿/* Project Detail Page Styles */

.project-detail-section {
    padding-top: clamp(80px, 15vh, 120px);
    padding-bottom: clamp(2rem, 8vh, 4rem);
    background-color: var(--bg-white);
}

@media (max-width: 768px) {
    .project-detail-section {
        padding-top: 100px;
    }
}

/* Project Header */
.project-header {
    text-align: center;
    margin-bottom: clamp(2rem, 6vh, 4rem);
}

.project-title {
    font-family: var(--font-main);
    font-weight: 800;
    font-size: var(--fs-h1);
    line-height: 1.1;
    color: var(--text-black);
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.project-date {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

/* Hero Image */
.project-hero-image {
    width: 100%;
    margin-bottom: 60px;
    border-radius: 35px;
    overflow: hidden;
}

.project-hero-image img,
.project-hero-image video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Project Info Grid */
.project-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.5rem, 5vw, 4rem);
    margin-bottom: clamp(3rem, 10vh, 6rem);
}

.info-column h3 {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: var(--fs-body);
    /* Slightly larger than standard body or as h4 */
    color: var(--text-black);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-column p {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    color: var(--text-gray-dark);
    margin-bottom: 15px;
    text-align: justify;
}

.info-column p:last-child {
    margin-bottom: 0;
}

/* Fixed Project Image */
.project-image-showcase {
    width: 100%;
    margin-bottom: 40px;
    border-radius: 35px;
    overflow: hidden;
}

.project-image-showcase img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Project Image Gallery */
.project-gallery {
    width: 100%;
    margin-bottom: 80px;
    position: relative;
}

.gallery-container {
    width: 100%;
    border-radius: 35px;
    overflow: hidden;
    position: relative;
}

.gallery-image {
    display: none;
    width: 100%;
}

.gallery-image.active {
    display: block;
}

.gallery-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Gallery Navigation */
.gallery-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
    /* Better spacing from the container */
}

.gallery-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--text-black);
    color: var(--bg-white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-arrow:hover {
    background-color: var(--primary-blue);
    transform: scale(1.1);
}

.gallery-arrow svg {
    width: 24px;
    height: 24px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .project-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .project-title {
        font-size: 38px;
    }
}

@media (max-width: 768px) {
    .project-detail-section {
        padding: 80px 0 60px;
    }

    .project-title {
        font-size: 32px;
    }

    .project-date {
        font-size: 14px;
    }

    .project-header {
        margin-bottom: 40px;
    }

    .project-hero-image,
    .project-image-showcase,
    .gallery-container {
        border-radius: 20px;
    }

    .project-gallery {
        margin-bottom: 60px;
    }

    .gallery-navigation {
        margin-top: 20px;
        gap: 15px;
    }

    .gallery-arrow {
        width: 45px;
        height: 45px;
    }
}