﻿
/* =========================================================
   ANCHOR
   PROJECT AREA DETAILS
   ========================================================= */
/* =========================================================
   PAGE
   ========================================================= */
.anchor-project-area-details {
    position: relative;
    padding: 60px 0 110px;
    color: var(--anchor-text);
    direction: ltr;
}


/* =========================================================
   BREADCRUMB
   ========================================================= */

.anchor-project-area-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    direction: rtl;
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.7;
}


    .anchor-project-area-breadcrumb a {
        color: rgba(255, 255, 255, 0.70);
        text-decoration: none;
        transition: color 0.25s ease;
    }


        .anchor-project-area-breadcrumb a:hover {
            color: var(--anchor-gold);
        }


    .anchor-project-area-breadcrumb span {
        color: rgba(255, 255, 255, 0.38);
        font-size: 16px;
    }


        .anchor-project-area-breadcrumb span:last-child {
            color: rgba(255, 255, 255, 0.90);
            font-weight: 600;
        }


/* =========================================================
   HERO
   ========================================================= */

.anchor-project-area-details-hero {
    width: 100%;
    margin-bottom: 65px;
}


.anchor-project-area-details-image {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 7px;
    background: rgba(8, 13, 20, 0.75);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.28);
}


    .anchor-project-area-details-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.8s ease;
    }


    .anchor-project-area-details-image:hover img {
        transform: scale(1.025);
    }


/* =========================================================
   HERO OVERLAY
   ========================================================= */

.anchor-project-area-details-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(5, 9, 15, 0.28) 0%, rgba(5, 9, 15, 0.05) 55%, rgba(5, 9, 15, 0.00) 100% );
    pointer-events: none;
}


/* =========================================================
   NO HERO IMAGE
   ========================================================= */

.anchor-project-area-details-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.35);
    font-size: 14px;
    background: rgba(8, 13, 20, 0.85);
}


/* =========================================================
   AREA INFORMATION
   ========================================================= */

.anchor-project-area-details-information {
    width: 100%;
    margin-bottom: 90px;
    direction: rtl;
    text-align: right;
}


/* =========================================================
   TITLE + PROJECT COUNT
   ========================================================= */

.anchor-project-area-details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    width: 100%;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.20);
}


    .anchor-project-area-details-header h1 {
        margin: 0;
        color: #ffffff;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: clamp(34px, 4vw, 50px);
        font-weight: 600;
        line-height: 1.25;
        letter-spacing: -0.4px;
        text-align: right;
    }


/* =========================================================
   PROJECT COUNT
   ========================================================= */

.anchor-project-area-details-stat {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-shrink: 0;
    direction: rtl;
    white-space: nowrap;
}


.anchor-project-area-details-stat-number {
    color: var(--anchor-gold);
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 34px;
    font-weight: 600;
    line-height: 1;
}


.anchor-project-area-details-stat-label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.anchor-project-area-details-description {
    max-width: 900px;
    margin: 24px 0 0 auto;
    color: rgba(255, 255, 255, 0.66);
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
    text-align: right;
}


/* =========================================================
   PROJECTS
   ========================================================= */

.anchor-project-area-projects {
    position: relative;
    width: 100%;
}


    /* =========================================================
   PROJECT SECTION HEADER
   ========================================================= */

    .anchor-project-area-projects
    .anchor-section-heading {
        margin-bottom: 42px;
        direction: rtl;
        text-align: right;
    }


    .anchor-project-area-projects
    .anchor-section-title {
        margin: 0 0 14px;
        color: #ffffff;
        font-family: 'Playfair Display', Georgia, serif;
        font-size: clamp(30px, 3.5vw, 44px);
        font-weight: 600;
        line-height: 1.25;
    }


    .anchor-project-area-projects
    .anchor-section-description {
        max-width: 720px;
        margin: 0;
        color: rgba(255, 255, 255, 0.58);
        font-size: 14px;
        line-height: 1.9;
    }


/* =========================================================
   PROJECT GRID
   ========================================================= */

.anchor-project-area-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    direction: ltr;
}


/* =========================================================
   PROJECT CARD
   ========================================================= */

.anchor-project-area-project-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 6px;
    background: rgba(9, 14, 21, 0.78);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.20);
    transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease;
}


    .anchor-project-area-project-card:hover {
        transform: translateY(-6px);
        border-color: rgba(212, 175, 55, 0.32);
        background: rgba(10, 17, 27, 0.92);
        box-shadow: 0 20px 48px rgba(0, 0, 0, 0.30);
    }


/* =========================================================
   PROJECT IMAGE LINK
   ========================================================= */

.anchor-project-area-project-image-link {
    display: block;
    text-decoration: none;
}


/* =========================================================
   PROJECT IMAGE
   ========================================================= */

.anchor-project-area-project-image {
    position: relative;
    width: 100%;
    height: 245px;
    overflow: hidden;
    background: rgba(6, 10, 16, 0.90);
}


    .anchor-project-area-project-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.7s ease;
    }


.anchor-project-area-project-card:hover
.anchor-project-area-project-image img {
    transform: scale(1.055);
}


/* =========================================================
   PROJECT IMAGE GRADIENT
   ========================================================= */

.anchor-project-area-project-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(5, 9, 15, 0.68), rgba(5, 9, 15, 0.00) 70% );
    pointer-events: none;
}


/* =========================================================
   NO PROJECT IMAGE
   ========================================================= */

.anchor-project-area-project-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.30);
    font-size: 12px;
    background: rgba(8, 13, 20, 0.90);
}


/* =========================================================
   PROJECT CONTENT
   ========================================================= */

.anchor-project-area-project-content {
    padding: 27px 26px 29px;
    direction: rtl;
    text-align: right;
}


    .anchor-project-area-project-content h3 {
        margin: 0 0 13px;
        color: #ffffff;
        font-size: 20px;
        font-weight: 600;
        line-height: 1.4;
    }


    .anchor-project-area-project-content p {
        display: -webkit-box;
        overflow: hidden;
        margin: 0 0 22px;
        color: rgba(255, 255, 255, 0.56);
        font-size: 13px;
        line-height: 1.85;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
    }


/* =========================================================
   PROJECT LINK
   ========================================================= */

.anchor-project-area-project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}


    .anchor-project-area-project-link span:last-child {
        color: var(--anchor-gold);
        font-size: 17px;
        line-height: 1;
        transition: transform 0.25s ease;
    }


    .anchor-project-area-project-link:hover {
        color: var(--anchor-gold);
    }


        .anchor-project-area-project-link:hover
        span:last-child {
            transform: translateX(-5px);
        }


/* =========================================================
   EMPTY STATE
   ========================================================= */

.anchor-project-area-projects-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    background: rgba(8, 13, 20, 0.48);
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    text-align: center;
}


    .anchor-project-area-projects-empty p {
        margin: 0;
    }


/* =========================================================
   TABLET
   ========================================================= */

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .anchor-project-area-details {
        padding: 48px 0 90px;
    }

    .anchor-project-area-breadcrumb {
        margin-bottom: 26px;
        font-size: 15px;
    }

        .anchor-project-area-breadcrumb span {
            font-size: 15px;
        }

    .anchor-project-area-details-hero {
        margin-bottom: 55px;
    }

    .anchor-project-area-details-image {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .anchor-project-area-details-information {
        margin-bottom: 75px;
    }

    .anchor-project-area-details-header {
        gap: 28px;
    }

        .anchor-project-area-details-header h1 {
            font-size: 38px;
        }

    .anchor-project-area-details-stat-number {
        font-size: 31px;
    }

    .anchor-project-area-projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .anchor-project-area-project-image {
        height: 225px;
    }

    .anchor-project-area-project-content {
        padding: 23px 22px 25px;
    }

        .anchor-project-area-project-content h3 {
            font-size: 18px;
        }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .anchor-project-area-details {
        padding: 35px 0 70px;
    }

    .anchor-project-area-breadcrumb {
        gap: 9px;
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.6;
    }

        .anchor-project-area-breadcrumb span {
            font-size: 15px;
        }

    .anchor-project-area-details-hero {
        margin-bottom: 40px;
    }

    /* =====================================================
       AREA HERO IMAGE
       ===================================================== */

    .anchor-project-area-details-image {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
        border-radius: 5px;
    }


    /* =====================================================
       AREA INFORMATION
       ===================================================== */

    .anchor-project-area-details-information {
        margin-bottom: 60px;
    }

    .anchor-project-area-details-header {
        align-items: center;
        gap: 18px;
        padding-bottom: 18px;
    }

        .anchor-project-area-details-header h1 {
            font-size: 29px;
            line-height: 1.35;
        }

    .anchor-project-area-details-stat {
        gap: 6px;
    }

    .anchor-project-area-details-stat-number {
        font-size: 27px;
    }

    .anchor-project-area-details-stat-label {
        font-size: 12px;
    }

    .anchor-project-area-details-description {
        margin-top: 19px;
        font-size: 13px;
        line-height: 1.95;
    }


    /* =====================================================
       PROJECTS
       ===================================================== */

    .anchor-project-area-projects
    .anchor-section-heading {
        margin-bottom: 30px;
    }

    .anchor-project-area-projects
    .anchor-section-title {
        font-size: 29px;
        line-height: 1.35;
    }

    .anchor-project-area-projects
    .anchor-section-description {
        font-size: 13px;
        line-height: 1.9;
    }

    .anchor-project-area-projects-grid {
        grid-template-columns: 1fr;
        gap: 19px;
    }

    .anchor-project-area-project-image {
        height: 240px;
    }

    .anchor-project-area-project-content {
        padding: 22px 20px 24px;
    }

        .anchor-project-area-project-content h3 {
            font-size: 19px;
        }

        .anchor-project-area-project-content p {
            font-size: 13px;
            line-height: 1.85;
        }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .anchor-project-area-details {
        padding: 30px 0 60px;
    }

    .anchor-project-area-breadcrumb {
        font-size: 14px;
    }

        .anchor-project-area-breadcrumb span {
            font-size: 14px;
        }

    /* Keep the full 16:9 image visible */
    .anchor-project-area-details-image {
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
    }

    .anchor-project-area-details-header {
        gap: 12px;
    }

        .anchor-project-area-details-header h1 {
            font-size: 24px;
        }

    .anchor-project-area-details-stat-number {
        font-size: 23px;
    }

    .anchor-project-area-details-stat-label {
        font-size: 10px;
    }

    .anchor-project-area-details-description {
        font-size: 12px;
        line-height: 1.9;
    }

    .anchor-project-area-projects
    .anchor-section-title {
        font-size: 25px;
    }

    .anchor-project-area-project-image {
        height: 215px;
    }

    .anchor-project-area-project-content {
        padding: 20px 18px 22px;
    }

        .anchor-project-area-project-content h3 {
            font-size: 18px;
        }
}


