.projects-wrapper{
    padding: 60px 30px;
    text-align: center;
}

.projects-wrapper h1{
    font-size: 36px;
    color: #D4AF37;
    margin-bottom: 50px;
}

.projects-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.project-card{
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 20px;
    text-decoration: none;
    color: white;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(212,175,55,0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.project-card:hover{
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(212,175,55,0.4);
}

.project-image img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.project-card:hover .project-image img{
    transform: scale(1.05);
}

.project-info{
    padding: 20px;
    text-align: left;
}

.project-info h3{
    color: #D4AF37;
    margin-bottom: 10px;
}

.project-info p{
    font-size: 14px;
    color: #eee;
    margin-bottom: 10px;
}

.project-status{
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.project-status.completed{
    background: rgba(34,139,34,0.3);
    color: #22c55e;
}

.project-status.under-process{
    background: rgba(255,215,0,0.2);
    color: #FFD700;
}
.project-details-wrapper{
    padding: 50px 30px;
    color: #fff;
}

.project-details-wrapper h1{
    color: #D4AF37;
    margin-bottom: 15px;
}

.project-details-wrapper p{
    margin: 8px 0;
}

.project-media{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
}

.project-media img, .project-media video{
    width: 100%;
    max-width: 400px;
    border-radius: 15px;
    object-fit: cover;
}
/* ================= HERO ================= */

.project-hero {
    position: relative;
    width: 100%;
}

.hero-image img {
    width: 100%;
    height: 55vh;
    min-height: 220px;
    max-height: 420px;
    object-fit: cover;
    display: block;
}


.hero-content {
    position: absolute;
    bottom: 40px;
    left: 60px;
    color: #fff;
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.project-status-badge {
    background: #c6a14a;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 14px;
}

/* ================= INFO GRID (DARK CARD STYLE) ================= */

.project-info-section {
    padding: 60px 20px;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-box {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    padding: 30px;
    border-radius: 16px;
    color: #fff;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 0 0 rgba(198, 161, 74, 0);
}

/* Soft glow line accent */
.info-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #c6a14a;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

/* Hover Effect */
.info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(198, 161, 74, 0.25);
    border: 1px solid #c6a14a;
}

/* Title */
.info-box h4 {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #c6a14a;
    margin-bottom: 12px;
}

/* Text */
.info-box p {
    font-size: 15px;
    color: #ddd;
    line-height: 1.6;
}


/* ================= GALLERY ================= */

.project-gallery-section {
    padding: 60px 20px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* EXACTLY 3 per row */
    gap: 25px;
}

.gallery-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.gallery-card img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-card img:hover {
    transform: scale(1.05);
}

/* ================= VIDEOS ================= */

.project-video-section {
    padding: 60px 20px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-card {
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: #000;
}

.video-card video {
    width: 100%;
    aspect-ratio: 16/9;   /* perfect video ratio */
    display: block;
}

/* ================= RESPONSIVE DESIGN ================= */

@media (max-width: 1024px) {

    /* Info Grid → 2 columns on tablet */
    .project-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Gallery → 2 per row */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Videos → 1 per row */
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {

    /* HERO FIX */
    .project-hero {
        height: 280px;
    }

    .hero-image img {
        height: 280px;
    }

    .hero-content {
        left: 20px;
        bottom: 20px;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    /* INFO GRID → Single column */
    .project-info-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery → Single column */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery image height better for mobile */
    .gallery-card img {
        height: 220px;
    }

    /* VIDEO MOBILE FIX */
    .video-card video {
        width: 100%;
        aspect-ratio: 16/9;
        border-radius: 12px;
    }

    .project-video-section {
        padding: 40px 6%;
    }

    .project-gallery-section,
    .project-info-section {
        padding: 50px 6%;
    }
}

@media (max-width: 768px) {

    body {
        overflow-x: hidden;
    }

    .project-info-grid,
    .gallery-grid,
    .video-grid {
        grid-template-columns: 1fr;
    }

    .gallery-card img {
        height: 200px;
    }

    .video-card video {
        width: 100%;
        aspect-ratio: 16/9;
        display: block;
    }

}
