/* ========== Banner — static 4-panel layout, NO hover effects ========== */
.banner {
    width: 100%;
    height: 100vh;
    display: flex;
    overflow: hidden;
}

.banner-item {
    flex: 1 1 25%;
    /* always exactly 25% — never changes */
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    /* text sits near the bottom */
    justify-content: center;
    cursor: pointer;
    /* NO transition — prevents any animated resize */
}

/* Static dark overlay — does NOT change on hover */
.banner-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.40);
    z-index: 1;
    /* NO transition */
}

/* Text — centered, visible on every panel */
.banner-item h2 {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.85);
    font-size: 22px;
    letter-spacing: 0.8px;
    font-weight: normal;
    text-align: center;
    /* padding: 0 12px 40px; */
    white-space: normal;
    /* allow wrap on narrow panels */
    word-break: break-word;
    /* line-height: 1.4; */
    user-select: none;
    pointer-events: all;
    /* ensure clicks register on text */
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease, color 0.3s ease;
}


.banner-item h2:hover {
    border-bottom: 1px solid rgba(255, 255, 255, 0.85);
    color: #fff;
}

/* ========== Responsive ========== */
@media (max-width: 900px) {
    .banner {
        flex-direction: column;
        height: auto;
    }

    .banner-item {
        min-height: 25vh;
        align-items: center;
    }

    .banner-item h2 {
        font-size: 18px;
        padding: 0 16px;
    }
}

/* ===== PROJECT SHOWCASE ===== */
.project-showcase {
    background: #121212;
    color: #fff;
    padding: 50px 2%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Pagination Top Right */
.project-pagination {
    position: absolute;
    top: 40px;
    right: 8%;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    color: #aaa;
}

.project-pagination .page-num {
    color: #999;
    transition: color 0.3s;
    cursor: pointer;
}

.project-pagination .current {
    color: #fff;
    font-weight: 600;
}

.project-pagination i {
    font-size: 1.2rem;
    cursor: pointer;
    color: #fff;
    transition: opacity 0.3s;
}

.project-pagination i:hover {
    opacity: 0.6;
}

/* MAIN CONTAINER */
.project-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    width: 100%;
    max-width: 1400px;
    /* min-height: 500px; */
    transition: all 0.6s ease;
}

/* LEFT MAIN IMAGE */
.project-left {
    flex: 1.2;
}

.project-left img {
    width: 100%;
    border-radius: 22px;
    object-fit: cover;
    height: 340px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.5s ease;
}

/* RIGHT SIDE */
.project-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
}

.project-right h2 {
    font-size: 32px;
    font-weight: 400;
    margin: 0;
    color: #fff;
    letter-spacing: 1px;
}

.project-right p {
    color: #d4af37;
    font-size: 18px;
    /* line-height: 1.6; */
    margin: 0;
}

/* Thumbnails */
.project-thumbs {
    display: flex;
    gap: 20px;
}

.project-thumbs img {
    width: 48%;
    height: 180px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Fade transition */
.fade {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .project-container {
        flex-direction: column;
    }

    .project-left img {
        height: 360px;
    }

    .project-right h2 {
        font-size: 2rem;
    }
}