/* PROJECT PAGE STYLES */
.projects-wrapper {
    max-width: 95%;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* HERO */
.hero-projects {
    min-height: 45vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-light) 100%);
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 80px 20px;
}

.hero-projects-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-projects h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    color: white;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
}

/* PROJECT SECTION */
.project-section {
    /* padding: 40px 0; */
    /* border-bottom: 3px solid #f0f0f0; */
}

.project-section:last-of-type {
    border-bottom: none;
}

.project-header {
    text-align: center;
    margin-bottom: 60px;
}

.project-header-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.project-title {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(to right, #02432f, #498851, #02432f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.project-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    max-width: 1000px;
    margin: 0 auto;
}

/* GRID LAYOUT */
.project-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* MAIN IMAGE */
.project-main-image {
    grid-column: span 7;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    height: 500px;
}

.project-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-main-image:hover img {
    transform: scale(1.1);
}

/* STATS BOX */
.project-stats-box {
    grid-column: span 5;
    background: linear-gradient(135deg, #f8fffe 0%, #e8f5f0 100%);
    border: 3px solid var(--color-green-light);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.stats-header {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(2, 67, 47, 0.1);
}

.stats-header h3 {
    font-family: var(--font-head);
    font-size: 1.8rem;
    color: var(--color-green);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 1.05rem;
    color: #555;
    font-weight: 500;
}

.stat-value {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-green);
}

.stat-highlight {
    background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    margin-top: 10px;
}

.stat-highlight .label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 10px;
}

.stat-highlight .value {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 900;
    color: white;
}

/* INFO CARDS */
.info-cards {
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.info-card-item {
    background: white;
    border: 2px solid var(--color-green-light);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.info-card-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(2, 67, 47, 0.12);
    border-color: var(--color-green);
}

.info-card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-card-icon svg {
    stroke: white;
}

.info-card-item h4 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    color: var(--color-green);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.info-card-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* DETAILS SECTION */
.project-details {
    grid-column: span 12;
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.details-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--color-green-light);
}

.details-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.details-icon svg {
    stroke: white;
}

.details-header h3 {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--color-green);
    text-transform: uppercase;
}

.details-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.detail-group {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-left: 4px solid var(--color-gold);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.detail-group h4 {
    font-family: var(--font-head);
    font-size: 1.4rem;
    color: var(--color-green);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.detail-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.detail-bullet {
    width: 8px;
    height: 8px;
    background: var(--color-gold);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.detail-item span {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

.detail-item strong {
    color: var(--color-green);
}

/* GALLERY */
.project-gallery {
    grid-column: span 12;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    position: relative;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(2, 67, 47, 0.95), transparent);
    color: white;
    font-weight: 600;
    text-align: center;
}

/* ========================================
   CTA PROJECT SECTION - UPDATED STYLE
   ======================================== */
.cta-section {
    position: relative;
    margin: 60px 0;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #02432f 0%, #1a5d44 50%, #498851 100%);
    box-shadow: 0 15px 50px rgba(2, 67, 47, 0.3);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255, 255, 255, .05) 35px, rgba(255, 255, 255, .05) 70px);
}

.cta-content {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    text-align: center;
    color: white;
}

.cta-title {
    font-family: var(--font-head);
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    color: white;
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-feature:hover .feature-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-feature span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.btn-cta {
    font-family: var(--font-head);
    font-size: 1.15rem;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.btn-cta.primary {
    background: white;
    color: var(--color-green);
}

.btn-cta.primary:hover {
    background: #f0f0f0;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    gap: 16px;
}

.btn-cta.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta.secondary:hover {
    background: white;
    color: var(--color-green);
    transform: translateY(-4px);
    gap: 16px;
}

/* ========================================
   RESPONSIVE - TABLET (< 968px)
   ======================================== */
@media (max-width: 968px) {
    .cta-features {
        gap: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta {
        width: 100%;
        max-width: 350px;
        justify-content: center;
    }
}

/* ========================================
   RESPONSIVE - TABLET (< 768px)
   ======================================== */
@media (max-width: 768px) {
    .cta-section {
        margin: 40px 0;
    }

    .cta-content {
        padding: 40px 25px;
    }

    .cta-title {
        font-size: 2rem;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .cta-subtitle {
        font-size: 1.05rem;
        margin-bottom: 30px;
    }

    .cta-features {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 30px;
    }

    .feature-icon {
        width: 55px;
        height: 55px;
    }

    .feature-icon svg {
        width: 28px;
        height: 28px;
    }

    .cta-feature span {
        font-size: 0.9rem;
    }

    .btn-cta {
        font-size: 1rem;
        padding: 15px 35px;
        width: 100%;
        max-width: 400px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE (< 480px)
   ======================================== */
@media (max-width: 480px) {
    .cta-section {
        margin: 30px 0;
    }

    .cta-content {
        padding: 30px 20px;
    }

    .cta-title {
        font-size: 1.5rem;
        letter-spacing: 1.5px;
        margin-bottom: 8px;
    }

    .cta-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }

    .cta-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-bottom: 25px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .cta-feature {
        gap: 10px;
    }

    .cta-feature span {
        font-size: 0.85rem;
    }

    .cta-buttons {
        gap: 12px;
        margin-bottom: 25px;
    }

    .btn-cta {
        font-size: 0.9rem;
        padding: 14px 28px;
        letter-spacing: 1px;
        gap: 10px;
    }

    .btn-cta svg {
        width: 20px;
        height: 20px;
    }
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .project-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .project-main-image,
    .project-stats-box,
    .info-cards,
    .project-details,
    .project-gallery {
        grid-column: span 1;
    }

    .info-cards {
        grid-template-columns: 1fr;
    }

    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-projects {
        padding: 60px 20px;
    }

    .project-section {
        /* padding: 30px 0; */
    }

    .project-details {
        padding: 30px 20px;
    }

    .cta-project {
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .project-main-image {
        height: 300px;
    }

    .project-stats-box {
        padding: 25px;
    }

    .stat-highlight .value {
        font-size: 2rem;
    }

    .project-gallery {
        grid-template-columns: 1fr;
    }

    .info-cards {
        gap: 20px;
    }

    .detail-group {
        padding: 20px;
    }
}

/* ========================================
   FILTER SECTION
   ======================================== */
.filter-section {
    padding-top: 16px;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 30px;
    background: white;
    border: 2px solid var(--color-green-light);
    border-radius: 25px;
    color: var(--color-green);
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(2, 67, 47, 0.1);
}

.filter-tab:hover {
    background: rgba(73, 136, 81, 0.1);
    transform: translateY(-2px);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--color-green), var(--color-green-light));
    color: white;
    border-color: var(--color-green);
    box-shadow: 0 4px 15px rgba(2, 67, 47, 0.3);
}