/* inceput fisier "apps.css" */

/* ============================= */
/* APP DETAIL HERO */
/* ============================= */

.app-detail-hero {
    display: flex;
    align-items: center;
    gap: 50px;
    width: min(1400px, 94%);
    margin: 40px auto;
    padding: 40px;
    border-radius: 36px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

.app-detail-image {
    flex: 1;
    display: flex;
}

    .app-detail-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        border-radius: 24px;
    }

.app-detail-info {
    flex: 1;
}

    .app-detail-info h1 {
        margin: 0 0 20px 0;
        font-size: 64px;
        line-height: 1.1;
        color: #0f2f4a;
    }

.app-detail-subtitle {
    font-size: 28px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 30px;
}

.app-detail-status {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.12);
    color: #166534;
    font-weight: 800;
    font-size: 18px;
}

/* ============================= */
/* APP BUTTONS */
/* ============================= */

.app-detail-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* ============================= */
/* APP CONTENT */
/* ============================= */

.app-detail-content {
    width: min(1200px, 94%);
    margin: 40px auto;
    padding: 40px;
    border-radius: 32px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

    .app-detail-content h2 {
        color: #0f2f4a;
        font-size: 38px;
        margin-top: 10px;
    }

    .app-detail-content h3 {
        color: #166534;
        margin-top: 40px;
        font-size: 28px;
    }

    .app-detail-content h4 {
        margin-top: 30px;
        color: #0f2f4a;
        font-size: 22px;
    }

    .app-detail-content p {
        font-size: 18px;
        line-height: 1.8;
    }

    .app-detail-content ul {
        padding-left: 25px;
    }

    .app-detail-content li {
        margin-bottom: 10px;
        line-height: 1.7;
    }

/* ============================= */
/* SCREENSHOTS */
/* ============================= */

.app-screenshots {
    margin-top: 50px;
    text-align: center;
}

.app-screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
    justify-items: center;
    align-items: start;
    margin-top: 25px;
}

    .app-screenshots-grid img {
        width: 100%;
        max-width: 260px;
        aspect-ratio: 9 / 16;
        object-fit: cover;
        display: block;
        border-radius: 20px;
        cursor: pointer;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
        box-shadow: 0 10px 24px rgba(15,23,42,0.12);
    }

        .app-screenshots-grid img:hover {
            transform: translateY(-6px) scale(1.02);
            box-shadow: 0 18px 38px rgba(15,23,42,0.18);
        }

/* ============================= */
/* LIGHTBOX */
/* ============================= */

.image-lightbox {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
}

    .image-lightbox.active {
        display: flex;
    }

    .image-lightbox img {
        max-width: 90%;
        max-height: 90%;
    }

.image-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 48px;
    cursor: pointer;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 1000px) {

    .app-detail-hero {
        flex-direction: column;
    }

    .app-detail-info h1 {
        font-size: 48px;
    }

    .app-detail-subtitle {
        font-size: 22px;
    }
}

@media (max-width: 700px) {

    .app-detail-hero {
        padding: 24px;
        gap: 24px;
    }

    .app-detail-info h1 {
        font-size: 38px;
    }

    .app-detail-subtitle {
        font-size: 18px;
    }

    .app-detail-content {
        padding: 24px;
    }

        .app-detail-content h2 {
            font-size: 30px;
        }

        .app-detail-content h3 {
            font-size: 24px;
        }
}

/* sfarsit fisier "apps.css" */
