/* Project detail pages */

.project-detail-section {
    padding: 55px 0 90px;
}

.project-detail-header {
    margin-bottom: 40px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111;
    background: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 999px;
    margin-bottom: 28px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.back-link:hover {
    color: white;
    background: #0d6efd;
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 30px rgba(13, 110, 253, 0.25);
}

.project-detail-title {
    font-size: clamp(2.4rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 18px;
    color: #111;
}

.project-detail-intro {
    font-size: 1.08rem;
    line-height: 1.8;
    color: #333;
    max-width: 720px;
}

.project-hero-image {
    width: 100%;
    height: clamp(260px, 45vw, 520px);
    object-fit: cover;
    display: block;
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
    margin-bottom: 55px;
}

.project-info-card {
    background: rgba(255, 255, 255, 0.75);
    padding: 28px;
    border-radius: 28px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    margin-bottom: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.project-info-card:hover {
    transform: scale(1.03);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.14);
}

.project-info-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: #111;
}

.project-info-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0;
}

.project-detail-list {
    padding-left: 18px;
    margin-bottom: 0;
}

.project-detail-list li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #333;
}

.project-gallery {
    margin-top: 35px;
}

.project-gallery-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #111;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.project-gallery-grid img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    border-radius: 22px;
    cursor: zoom-in;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease;
}

.project-gallery-grid img:hover {
    transform: translateY(-5px);
}

/* Project 2 phone app page */

.app-detail-showcase {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 32px;
    padding: 35px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    margin-bottom: 55px;
}

.app-phone-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.app-phone-frame {
    background: #111;
    padding: 10px;
    border-radius: 30px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.app-phone-frame img {
    width: 100%;
    display: block;
    border-radius: 22px;
    cursor: zoom-in;
    transition: transform 0.2s ease;
}

.app-phone-frame img:hover {
    transform: scale(1.03);
}

.project-detail-section {
  padding: 55px 0 90px;
  position: relative;
  overflow: hidden;
}

.project-detail-section::before {
  content: "";
  position: absolute;
  top: 120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: rgba(13, 110, 253, 0.14);
  border-radius: 50%;
  filter: blur(20px);
  z-index: -1;
}

.project-detail-section::after {
  content: "";
  position: absolute;
  bottom: 120px;
  left: -140px;
  width: 320px;
  height: 320px;
  background: rgba(13, 110, 253, 0.14);
  border-radius: 50%;
  filter: blur(18px);
  z-index: -1;
}


/* Responsive design */

@media (max-width: 991.98px) {

    .project-detail-section {
        padding: 45px 0 80px;
    }

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

    .app-phone-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-info-card {
        margin-bottom: 20px;
    }
    }

    @media (max-width: 575.98px) {
    .project-detail-section {
        padding: 35px 0 70px;
    }

    .project-detail-title {
        font-size: 2.3rem;
    }

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

    .project-hero-image {
        height: 230px;
        border-radius: 22px;
    }

    .project-gallery-grid img {
        height: 210px;
    }

    .app-detail-showcase {
        padding: 20px;
    }

    .app-phone-row {
        grid-template-columns: 1fr;
    }
}