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

.projects-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}


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

.projects-section {
    position: relative;
    z-index: 10;
    padding: 125px 24px 100px;
}

.projects-container {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
}


/* =========================================
   HEADER
========================================= */

.projects-header {
    text-align: center;
}

.projects-eyebrow {
    margin: 0 0 10px;
    color: #ef4444;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.projects-header h1 {
    margin: 0;
    color: #f5f5f5;
    font-size: clamp(2.25rem, 5vw, 3.2rem);
    font-weight: 600;
    letter-spacing: -0.045em;
}

.projects-subtitle {
    max-width: 520px;
    margin: 12px auto 0;
    color: #c5c5d7;
    font-size: 0.95rem;
    line-height: 1.7;
}


/* =========================================
   DIVIDER
========================================= */

.projects-divider {
    width: 100%;
    height: 1px;
    margin: 30px 0 20px;
    background: rgba(255, 255, 255, 0.09);
}


/* =========================================
   PROJECT LIST HEADER
========================================= */

.projects-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.projects-list-header h2 {
    margin: 0;
    color: #f5f5f5;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.projects-count {
    color: #71717a;
    font-size: 0.72rem;
    font-weight: 400;
    white-space: nowrap;
}


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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}


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

.project-card {
    position: relative;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-width: 0;

    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 14px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.075),
            rgba(255, 255, 255, 0.025)
        );

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.25);

    transition:
        transform 300ms ease,
        border-color 300ms ease,
        background 300ms ease;
}

.project-card:hover {
    transform: translateY(-4px);

    border-color: rgba(255, 255, 255, 0.18);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.09),
            rgba(255, 255, 255, 0.035)
        );
}


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

.project-image-wrapper {
    position: relative;
    height: 205px;
    overflow: hidden;
    background: #111;
}

.project-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    filter:
        brightness(0.72)
        contrast(1.05);

    transition:
        transform 500ms ease,
        filter 500ms ease;
}

.project-card:hover .project-image {
    transform: scale(1.035);

    filter:
        brightness(0.82)
        contrast(1.05);
}

.project-image-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.05),
            rgba(0, 0, 0, 0.42)
        );

    pointer-events: none;
}


/* =========================================
   CARD CONTENT
========================================= */

.project-card-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 18px;
}


/* =========================================
   TITLE + LINKS
========================================= */

.project-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.project-title-row h3 {
    margin: 0;
    color: #f5f5f5;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.3;

    /* Prevent title from pushing icons down */
    min-width: 0;
}

.project-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.project-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    color: #71717a;
    text-decoration: none;

    transition:
        color 200ms ease,
        transform 200ms ease;
}

.project-icon-link svg {
    width: 20px;
    height: 20px;
    display: block;
}

.project-icon-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

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

.project-description {
    display: -webkit-box;

    margin: 10px 0 15px;

    color: #a1a1aa;

    font-size: 0.76rem;
    line-height: 1.65;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================
   TECHNOLOGY BADGES
========================================= */

.project-technologies {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 6px;

    margin-top: 2px;
}

.project-tech {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 25px;

    padding: 0 9px;

    border: 1px solid rgba(255, 255, 255, 0.11);

    border-radius: 6px;

    color: #a1a1aa;

    background: rgba(255, 255, 255, 0.045);

    font-size: 0.64rem;

    font-weight: 500;

    line-height: 1;

    white-space: nowrap;

    transition:
        color 200ms ease,
        border-color 200ms ease,
        background 200ms ease;
}

.project-tech:hover {
    color: #e4e4e7;

    border-color: rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.07);
}


/* =========================================
   MORE TECHNOLOGIES
   +1 / +2 / +3
========================================= */

.project-tech-more {
    color: #d4d4d8;

    border-color: rgba(239, 68, 68, 0.22);

    background: rgba(239, 68, 68, 0.06);

    font-weight: 600;
}

.project-tech-more:hover {
    color: #ffffff;

    border-color: rgba(239, 68, 68, 0.35);

    background: rgba(239, 68, 68, 0.10);
}


/* =========================================
   CARD FOOTER
========================================= */

.project-card-footer {
    display: flex;

    align-items: center;
    justify-content: flex-end;
    margin-top: 15px;

   
}


/* =========================================
   VIEW DETAILS
========================================= */

.view-project {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #a1a1aa;

    font-size: 0.72rem;
    font-weight: 500;

    text-decoration: none;

    transition:
        color 200ms ease,
        gap 200ms ease;
}

.view-project svg {
    width: 15px;
    height: 15px;

    flex-shrink: 0;
}

.view-project:hover {
    gap: 11px;

    color: #ffffff;
}


/* =========================================
   MODAL
========================================= */

.project-modal {
    position: fixed;
    inset: 0;

    z-index: 1000;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 250ms ease,
        visibility 250ms ease;
}

.project-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* =========================================
   MODAL BACKDROP
========================================= */

.project-modal-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.72);

    backdrop-filter: blur(8px);
}


/* =========================================
   MODAL PANEL
========================================= */

.project-modal-panel {
    position: relative;

    z-index: 2;

    width: min(760px, 100%);

    max-height: min(850px, calc(100vh - 48px));

    overflow-y: auto;

    border: 1px solid rgba(255, 255, 255, 0.13);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(28, 28, 28, 0.98),
            rgba(12, 12, 12, 0.98)
        );

    box-shadow:
        0 30px 100px rgba(0, 0, 0, 0.65);

    transform: translateY(15px) scale(0.985);

    transition:
        transform 300ms ease;
}

.project-modal.is-open .project-modal-panel {
    transform: translateY(0) scale(1);
}


/* =========================================
   MODAL CLOSE
========================================= */

.project-modal-close {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 5;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border: 1px solid rgba(255, 255, 255, 0.12);

    border-radius: 50%;

    color: #a1a1aa;

    background: rgba(0, 0, 0, 0.45);

    font-size: 1.25rem;

    line-height: 1;

    cursor: pointer;

    transition:
        color 200ms ease,
        background 200ms ease,
        border-color 200ms ease;
}

.project-modal-close:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(255, 255, 255, 0.20);
}


/* =========================================
   MODAL IMAGE
========================================= */

.modal-image-wrapper {
    width: 100%;
    height: 290px;

    overflow: hidden;

    background: #111;
}

.modal-image-wrapper img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    filter:
        brightness(0.8)
        contrast(1.05);
}


/* =========================================
   MODAL CONTENT
========================================= */

.project-modal-content {
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    padding: 28px 0;
    text-align: left;
}
.project-detail-description {
    text-align: left;
    color: #a1a1aa;
    font-size: 0.78rem;
    line-height: 1.75;
}

.project-detail-description p {
    margin: 0 0 16px;
}

.project-detail-description h1,
.project-detail-description h2,
.project-detail-description h3,
.project-detail-description h4 {
    text-align: left;
    color: #f5f5f5;
}

.project-detail-description ul,
.project-detail-description ol {
    text-align: left;
    padding-left: 20px;
}

.project-detail-description img {
    max-width: 100%;
    height: auto;
}

/* =========================================
   MODAL TITLE
========================================= */

.modal-title-row {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 30px;
}

.modal-eyebrow {
    margin: 0 0 7px;

    color: #ef4444;

    font-size: 0.65rem;

    font-weight: 600;

    letter-spacing: 0.12em;

    text-transform: uppercase;
}

.modal-title-row h2 {
    margin: 0;

    color: #f5f5f5;

    font-size: 1.7rem;

    font-weight: 600;

    letter-spacing: -0.035em;
}


/* =========================================
   MODAL LINKS
========================================= */

.modal-links {
    display: flex;

    gap: 12px;

    padding-top: 4px;
}

.modal-links a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    color: #a1a1aa;

    text-decoration: none;

    transition:
        color 200ms ease,
        transform 200ms ease;
}

.modal-links a svg {
    width: 21px;
    height: 21px;
}

.modal-links a:hover {
    color: #ffffff;

    transform: translateY(-1px);
}


/* =========================================
   MODAL SECTIONS
========================================= */

.modal-section {
    margin-top: 24px;
}

.modal-section h3 {
    margin: 0 0 9px;

    color: #e4e4e7;

    font-size: 0.78rem;

    font-weight: 600;

    letter-spacing: -0.01em;
}

.modal-section p {
    margin: 0;

    color: #a1a1aa;

    font-size: 0.78rem;

    line-height: 1.75;
}

.modal-section ul {
    display: flex;

    flex-direction: column;

    gap: 8px;

    margin: 0;

    padding-left: 18px;

    color: #a1a1aa;

    font-size: 0.76rem;

    line-height: 1.65;
}


/* =========================================
   MODAL TAGS
========================================= */

.modal-tags {
    display: flex;

    flex-wrap: wrap;

    gap: 7px;
}

.modal-tags span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 27px;

    padding: 0 9px;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 6px;

    color: #a1a1aa;

    background: rgba(255, 255, 255, 0.035);

    font-size: 0.65rem;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 700px) {

    .projects-section {
        padding: 110px 18px 80px;
    }


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


    .projects-container {
        max-width: 520px;
    }


    .project-image-wrapper {
        height: 220px;
    }


    .project-title-row {
        gap: 12px;
    }


    .project-links {
        gap: 10px;
    }


    .project-icon-link {
        width: 28px;
        height: 28px;
    }


    .project-icon-link svg {
        width: 20px;
        height: 20px;
    }


    .projects-list-header {
        margin-bottom: 16px;
    }


    .project-modal {
        padding: 12px;
    }


    .project-modal-panel {
        max-height: calc(100vh - 24px);

        border-radius: 15px;
    }


    .modal-image-wrapper {
        height: 210px;
    }


    .project-modal-content {
        padding: 22px;
    }


    .modal-title-row {
        flex-direction: column;
    }

}


@media (prefers-reduced-motion: reduce) {

    .project-card,
    .project-image,
    .view-project,
    .project-icon-link,
    .project-modal,
    .project-modal-panel {
        transition: none;
    }

}


/* =========================================
   PROJECT DETAIL PAGE
========================================= */

.project-detail-container {
    max-width: 920px;
}


/* =========================================
   BACK TO PROJECTS
========================================= */

.project-back-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 26px;

    color: #a1a1aa;

    font-size: 0.74rem;

    font-weight: 500;

    text-decoration: none;

    transition:
        color 200ms ease,
        gap 200ms ease;
}

.project-back-link svg {
    width: 16px;
    height: 16px;
}

.project-back-link:hover {
    gap: 11px;
    color: #ffffff;
}


/* =========================================
   COVER
========================================= */

.project-detail-cover {
    position: relative;

    width: 100%;

    height: 390px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 16px;

    background: #111;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.30);
}

.project-detail-cover img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    filter:
        brightness(0.78)
        contrast(1.05);

    transition:
        transform 600ms ease,
        filter 600ms ease;
}

.project-detail-cover:hover img {
    transform: scale(1.02);

    filter:
        brightness(0.84)
        contrast(1.05);
}

.project-detail-cover-overlay {
    position: absolute;

    inset: 0;

    pointer-events: none;

    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.02),
            rgba(0, 0, 0, 0.38)
        );
}


/* =========================================
   DETAIL HEADER
========================================= */

.project-detail-header {
    padding-top: 28px;
}

.project-detail-technologies {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 7px;

    margin-bottom: 22px;
}

.project-detail-tech {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 27px;

    padding: 0 10px;

    border: 1px solid rgba(255, 255, 255, 0.11);

    border-radius: 6px;

    color: #a1a1aa;

    background: rgba(255, 255, 255, 0.045);

    font-size: 0.66rem;

    font-weight: 500;

    line-height: 1;

    white-space: nowrap;

    transition:
        color 200ms ease,
        border-color 200ms ease,
        background 200ms ease;
}

.project-detail-tech:hover {
    color: #e4e4e7;

    border-color: rgba(255, 255, 255, 0.18);

    background: rgba(255, 255, 255, 0.07);
}


/* =========================================
   TITLE
========================================= */

.project-detail-eyebrow {
    margin: 0 0 8px;

    color: #ef4444;

    font-size: 0.68rem;

    font-weight: 600;

    letter-spacing: 0.13em;

    text-transform: uppercase;
}

.project-detail-title-row h1 {
    margin: 0;

    color: #f5f5f5;

    font-size: clamp(2rem, 5vw, 3rem);

    font-weight: 600;

    letter-spacing: -0.045em;

    line-height: 1.1;
}


/* =========================================
   INTRO
========================================= */

.project-detail-intro {
    max-width: 720px;

    margin: 16px 0 0;

    color: #c5c5d7;

    font-size: 0.92rem;

    line-height: 1.75;
}


/* =========================================
   ACTION BUTTONS
========================================= */

.project-detail-actions {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;

    margin-top: 24px;
}

.project-action-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 42px;

    padding: 0 15px;

    border: 1px solid rgba(255, 255, 255, 0.11);

    border-radius: 8px;

    color: #d4d4d8;

    background: rgba(255, 255, 255, 0.045);

    font-size: 0.72rem;

    font-weight: 500;

    text-decoration: none;

    transition:
        color 200ms ease,
        background 200ms ease,
        border-color 200ms ease,
        transform 200ms ease;
}

.project-action-button svg {
    width: 17px;
    height: 17px;

    flex-shrink: 0;
}

.project-action-button:hover {
    color: #ffffff;

    background: rgba(255, 255, 255, 0.08);

    border-color: rgba(255, 255, 255, 0.20);

    transform: translateY(-2px);
}


/* =========================================
   DETAIL DIVIDER
========================================= */

.project-detail-divider {
    width: 100%;

    height: 1px;

    margin: 38px 0 36px;

    background: rgba(255, 255, 255, 0.09);
}


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

.project-detail-content {
    width: 100%;
    max-width: 760px;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}
.project-detail-content h2 {
    margin: 42px 0 13px;

    color: #f5f5f5;

    font-size: 1.35rem;

    font-weight: 600;

    letter-spacing: -0.025em;

    line-height: 1.3;
}

.project-detail-content h3 {
    margin: 32px 0 11px;

    color: #e4e4e7;

    font-size: 1rem;

    font-weight: 600;

    line-height: 1.4;
}

.project-detail-content p {
    margin: 0 0 18px;

    color: #a1a1aa;

    font-size: 0.84rem;

    line-height: 1.85;
}

.project-detail-content ul,
.project-detail-content ol {
    margin: 0 0 22px;

    padding-left: 22px;

    color: #a1a1aa;

    font-size: 0.82rem;

    line-height: 1.8;
}

.project-detail-content li {
    margin-bottom: 7px;
}

.project-detail-content strong {
    color: #e4e4e7;

    font-weight: 600;
}

.project-detail-content a {
    color: #d4d4d8;

    text-decoration: underline;

    text-decoration-color: rgba(255, 255, 255, 0.25);

    text-underline-offset: 3px;

    transition: color 200ms ease;
}

.project-detail-content a:hover {
    color: #ffffff;
}

.project-detail-content blockquote {
    margin: 28px 0;

    padding: 4px 0 4px 18px;

    border-left: 2px solid rgba(239, 68, 68, 0.65);

    color: #b4b4bd;

    font-size: 0.84rem;

    line-height: 1.8;
}

.project-detail-content img {
    display: block;

    width: 100%;

    max-width: 100%;

    height: auto;

    margin: 28px 0;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 12px;
}


/* =========================================
   CODE BLOCKS
========================================= */

.project-detail-content pre {
    overflow-x: auto;

    margin: 26px 0;

    padding: 18px;

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 10px;

    color: #d4d4d8;

    background: rgba(0, 0, 0, 0.35);

    font-size: 0.74rem;

    line-height: 1.7;
}

.project-detail-content code {
    font-family: monospace;
}


/* =========================================
   EXPLORE MORE
========================================= */

.project-recommendations {
    margin-top: 90px;

    padding-top: 34px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.project-recommendations-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
}

.project-recommendations-header .project-detail-eyebrow {
    margin-bottom: 7px;
}

.project-recommendations-header h2 {
    margin: 0;

    color: #f5f5f5;

    font-size: 1.45rem;

    font-weight: 600;

    letter-spacing: -0.035em;
}
.project-recommendations-header p {
    margin: 10px 0 0;

    color: #71717a;

    font-size: 0.82rem;

    line-height: 1.6;
}

/* =========================================
   RECOMMENDATION GRID
========================================= */

.project-recommendations-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 14px;
}


/* =========================================
   RECOMMENDATION CARD
========================================= */

.project-recommendation-card {
    display: flex;

    flex-direction: column;

    overflow: hidden;

    min-width: 0;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 12px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    transition:
        transform 300ms ease,
        border-color 300ms ease;
}

.project-recommendation-card:hover {
    transform: translateY(-3px);

    border-color: rgba(255, 255, 255, 0.18);
}


/* =========================================
   RECOMMENDATION IMAGE
========================================= */

.project-recommendation-image {
    height: 155px;

    overflow: hidden;

    background: #111;
}

.project-recommendation-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    filter:
        brightness(0.72)
        contrast(1.05);

    transition:
        transform 450ms ease,
        filter 450ms ease;
}

.project-recommendation-card:hover
.project-recommendation-image img {
    transform: scale(1.035);

    filter:
        brightness(0.82)
        contrast(1.05);
}


/* =========================================
   RECOMMENDATION CONTENT
========================================= */

.project-recommendation-content {
    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 16px;
}

.project-recommendation-title-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;
}

.project-recommendation-title-row h3 {
    margin: 0;

    color: #f5f5f5;

    font-size: 1rem;

    font-weight: 600;

    letter-spacing: -0.02em;
}

.project-recommendation-title-row svg {
    width: 16px;
    height: 16px;

    flex-shrink: 0;

    color: #71717a;

    transition:
        color 200ms ease,
        transform 200ms ease;
}

.project-recommendation-card:hover
.project-recommendation-title-row svg {
    color: #ffffff;

    transform: translateX(3px);
}

.project-recommendation-content > p {
    display: -webkit-box;

    margin: 9px 0 13px;

    color: #a1a1aa;

    font-size: 0.72rem;

    line-height: 1.65;

    -webkit-line-clamp: 2;

    -webkit-box-orient: vertical;

    overflow: hidden;
}


/* =========================================
   RECOMMENDATION TECHNOLOGIES
========================================= */

.project-recommendation-techs {
    display: flex;

    flex-wrap: wrap;

    gap: 5px;

    margin-top: auto;

    padding-top: 4px;
}

.project-recommendation-techs span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 23px;

    padding: 0 7px;

    border: 1px solid rgba(255, 255, 255, 0.09);

    border-radius: 5px;

    color: #92929b;

    background: rgba(255, 255, 255, 0.035);

    font-size: 0.59rem;

    line-height: 1;

    white-space: nowrap;
}

.project-recommendation-techs
.project-recommendation-more {
    color: #d4d4d8;

    border-color: rgba(239, 68, 68, 0.20);

    background: rgba(239, 68, 68, 0.05);

    font-weight: 600;
}


/* =========================================
   RECOMMENDATION LINK
========================================= */

.project-recommendation-link {
    display: inline-flex;

    align-items: center;

    margin-top: 16px;

    color: #a1a1aa;

    font-size: 0.68rem;

    font-weight: 500;

    text-decoration: none;

    transition:
        color 200ms ease,
        transform 200ms ease;
}

.project-recommendation-link:hover {
    color: #ffffff;

    transform: translateX(3px);
}


/* =========================================
   BOTTOM BACK LINK
========================================= */

.project-detail-bottom {
    display: flex;

    justify-content: center;

    margin-top: 60px;

    padding-top: 28px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.project-detail-bottom .project-back-link {
    margin: 0;
}


/* =========================================
   DETAIL RESPONSIVE
========================================= */

@media (max-width: 700px) {

    .project-detail-cover {
        height: 240px;

        border-radius: 13px;
    }

    .project-detail-header {
        padding-top: 22px;
    }

    .project-detail-title-row h1 {
        font-size: 2rem;
    }

    .project-detail-intro {
        font-size: 0.84rem;
    }

    .project-detail-actions {
        flex-direction: column;
    }

    .project-action-button {
        width: 100%;
    }

    .project-detail-divider {
        margin: 30px 0;
    }

    .project-detail-content {
        max-width: none;
    }

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

    .project-recommendations {
        margin-top: 65px;
    }

    .project-recommendations-header {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

    .project-recommendations-grid {
        grid-template-columns: 1fr;
    }

    .project-recommendation-image {
        height: 190px;
    }

}