/* Projects Page Styles */

/* ===== STATUS FILTER TABS ===== */
.projects-status-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    padding: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.07);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.status-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border: none;
    border-radius: 12px;
    background: transparent;
    color: #555;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    position: relative;
}

.status-filter-btn i {
    font-size: 0.85rem;
    opacity: 0.8;
}

.status-filter-btn .filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(0,0,0,0.1);
    color: inherit;
    transition: all 0.25s ease;
}

/* All button – gold/amber */
.status-filter-btn[data-status="all"].active,
.status-filter-btn[data-status="all"]:hover {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    box-shadow: 0 4px 14px rgba(243,156,18,0.35);
}
.status-filter-btn[data-status="all"].active .filter-count,
.status-filter-btn[data-status="all"]:hover .filter-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* In Progress button – cyan/blue */
.status-filter-btn[data-status="In Progress"].active,
.status-filter-btn[data-status="In Progress"]:hover {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0,180,216,0.35);
}
.status-filter-btn[data-status="In Progress"].active .filter-count,
.status-filter-btn[data-status="In Progress"]:hover .filter-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* Completed button – green */
.status-filter-btn[data-status="Completed"].active,
.status-filter-btn[data-status="Completed"]:hover {
    background: linear-gradient(135deg, #27ae60, #1e8449);
    color: #fff;
    box-shadow: 0 4px 14px rgba(39,174,96,0.35);
}
.status-filter-btn[data-status="Completed"].active .filter-count,
.status-filter-btn[data-status="Completed"]:hover .filter-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* Planning button – purple */
.status-filter-btn[data-status="Planning"].active,
.status-filter-btn[data-status="Planning"]:hover {
    background: linear-gradient(135deg, #8e44ad, #6c3483);
    color: #fff;
    box-shadow: 0 4px 14px rgba(142,68,173,0.35);
}
.status-filter-btn[data-status="Planning"].active .filter-count,
.status-filter-btn[data-status="Planning"]:hover .filter-count {
    background: rgba(255,255,255,0.25);
    color: #fff;
}

/* ===== STATUS BADGE COLOUR VARIANTS ===== */
/* These are the coloured "IN PROGRESS" / "COMPLETED" / "PLANNING" labels on cards */
.gallery-category.status--in-progress {
    color: #00b4d8 !important;
}
.gallery-category.status--completed {
    color: #27ae60 !important;
}
.gallery-category.status--planning {
    color: #9b59b6 !important;
}

/* Hide filtered-out items */
.gallery-item.status-hidden {
    display: none !important;
}

@media (max-width: 600px) {
    .projects-status-filters {
        gap: 6px;
    }
    .status-filter-btn {
        padding: 8px 13px;
        font-size: 0.82rem;
    }
}


/* ===== PAGE HEADER ===== */
.page-header {
    position: relative;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.98) 100%), 
                url('../Designs/4. Industrial Design/Factories/Factoriesl architecture design.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 120px 0 120px;
    text-align: center;
    overflow: hidden;
    min-height: 65vh;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

/* Wiremesh Grid Pattern Overlay */
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
    pointer-events: none;
}

.page-header-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 165, 0, 0.15);
    color: #ffa500;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 165, 0, 0.3);
}

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 24px;
    margin-top: 0;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.2rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 300;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 3;
}

.hero-scroll-indicator i {
    font-size: 2rem;
    color: #ffa500;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}



/* Projects Gallery — design-card style grid */
.projects-section {
    padding: 80px 0 60px;
    background: var(--off-white, #f4f5f8);
    min-height: 60vh;
}

/* 3-column grid matches the designs page */
#projectsGallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 12px;
}

/* ── Project Card ── */
.proj-card {
    background: var(--surface, #fff);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--border, rgba(0,0,0,0.07));
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1),
                box-shadow 0.28s cubic-bezier(0.4,0,0.2,1);
    display: flex;
    flex-direction: column;
}

.proj-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(26,39,64,0.14);
}

/* Image wrapper – fixed height, no gradient overlay */
.proj-card__img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
}

.proj-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.proj-card:hover .proj-card__img-wrap img {
    transform: scale(1.05);
}

/* Status badge — sits in image corner like designs "New" badge */
.proj-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.35);
    z-index: 2;
    pointer-events: none;
}

.proj-badge--inprogress {
    background: rgba(0,180,216,0.92);
    color: #fff;
}

.proj-badge--completed {
    background: rgba(39,174,96,0.92);
    color: #fff;
}

.proj-badge--planning {
    background: rgba(142,68,173,0.92);
    color: #fff;
}

/* Card body */
.proj-card__body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.proj-card__name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark, #1a2740);
    margin: 0 0 10px;
    line-height: 1.35;
}

.proj-card__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f39c12;
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 12px;
    flex-wrap: wrap;
}

.proj-card__meta i {
    font-size: 11px;
}

.proj-card__desc {
    color: var(--text-lighter, #6b7a99);
    font-size: 13.5px;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* Enquire button — matches designs page order-now-btn style */
.proj-card__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    align-self: flex-start;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
}

.proj-card__btn:hover {
    background: linear-gradient(135deg, #e67e22, #d35400);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(243,156,18,0.35);
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    #projectsGallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    #projectsGallery {
        grid-template-columns: 1fr;
    }
}


.cta-section {
    padding: 60px 0 !important;
    background: linear-gradient(135deg, #090f1a 0%, #121c2e 100%) !important;
    color: #fff !important;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.07) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

.cta-section::before {
    display: none !important;
    content: none !important;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-icon {
    font-size: 44px;
    color: #f39c12;
    margin-bottom: 18px;
    display: block;
    animation: none;
}

.cta-section h2,
.cta-content h2 {
    font-size: clamp(28px, 4vw, 42px);
    color: #fff !important;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.cta-section p,
.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55) !important;
    margin-bottom: 34px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.4);
}

.btn-secondary {
    background: #fff;
    color: #1a1a2e;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 25px;
    }

    .page-header h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
    }

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

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {


    .project-image {
        height: 220px;
    }

    .project-content {
        padding: 20px;
    }

    .project-content h3 {
        font-size: 1.2rem;
    }
}







/* Masonry Mobile Queries */
@media (max-width: 992px) {
    .projects-gallery {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .projects-gallery {
        column-count: 1;
    }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 20px 60px;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .page-header p {
        font-size: 1rem;
        padding: 0 20px;
    }

    .projects-gallery {
        column-count: 1;
    }
}
