* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    color: #222;
}

/* =========================
   HEADER
   ========================= */

header {
    background: #1f2937;
    color: white;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    header h1 {
        margin: 0;
    }

.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 20px;
}

    .main-nav a {
        margin-left: 0;
        white-space: nowrap;
    }

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
}

    nav a:hover {
        text-decoration: underline;
    }

/* =========================
   MAIN
   ========================= */

main {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

section {
    background: white;
    padding: 50px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

    section h2 {
        font-size: 36px;
        margin-top: 0;
    }

    section p {
        font-size: 18px;
        color: #555;
    }

    section a {
        display: inline-block;
        margin-top: 20px;
        padding: 12px 24px;
        background: #1f2937;
        color: white;
        text-decoration: none;
        border-radius: 6px;
    }

        section a:hover {
            opacity: 0.85;
        }

/* =========================
   APPLICATIONS
   ========================= */

.apps {
    padding: 20px 20px 80px;
}

    .apps .container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

.app-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

    .app-card h2 {
        margin-top: 0;
        font-size: 26px;
    }

    .app-card p {
        line-height: 1.6;
        color: #555;
    }

    .app-card .button {
        margin-top: 15px;
    }

.app-card-logo {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 15px;
    display: block;
    margin: 0 auto 20px;
}

/* =========================
   APPLICATION DETAILS
   ========================= */

.app-details {
    background: white;
    padding: 80px 20px;
    text-align: center;
}

    .app-details h1 {
        font-size: 48px;
        margin-top: 0;
    }

.app-description {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 20px;
    line-height: 1.6;
    color: #555;
}

.app-info {
    max-width: 500px;
    margin: 30px auto 0;
}

    .app-info p {
        margin: 8px 0;
    }

/* =========================
   LOGO
   ========================= */

.app-logo {
    text-align: center;
    margin-bottom: 20px;
}

    .app-logo img {
        width: 170px;
        height: 170px;
        object-fit: cover;
        border-radius: 25px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
    }

/* =========================
   FEATURES
   ========================= */

.app-features {
    padding: 70px 20px;
}

    .app-features h2 {
        text-align: center;
    }

.features-list {
    width: 100%;
    max-width: 650px;
    margin: 20px auto 0;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 0;
    text-align: center;
}

    .feature-item::before {
        content: "";
        width: 8px;
        height: 8px;
        min-width: 8px;
        background: #000;
        border-radius: 50%;
    }

    .feature-item strong {
        font-weight: 500;
    }

.app-features ul {
    max-width: 500px;
    margin: 30px auto;
    line-height: 2;
    font-size: 18px;
}

/* =========================
   APPLICATION INFORMATION
   ========================= */

/*.app-information {
    padding: 70px 20px;
}

    .app-information .app-info {
        display: grid;
        grid-template-columns: max-content max-content;
        justify-content: center;
        column-gap: 10px;
        row-gap: 20px;
    }

        .app-information .app-info p {
            display: contents;
        }

        .app-information .app-info strong,
        .app-information .app-info span {
            text-align: left;
            min-width: 0;*/ /* αφαιρεί τα παλιά min-width */
        /*}*/

/* =========================
   SYSTEM REQUIREMENTS
   ========================= */

.system-requirements {
    padding: 70px 20px;
    text-align: center;
}

    .system-requirements h2 {
        margin-bottom: 25px;
    }

.requirements-list {
    width: 100%;
    max-width: 650px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.requirement-item {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 15px;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

    .requirement-item:last-child {
        border-bottom: none;
    }

    .requirement-item strong {
        text-align: left;
    }

    .requirement-item span {
        text-align: left;
    }

/* =========================
   DOWNLOAD
   ========================= */

.download-section {
    background: white;
    padding: 70px 20px;
    text-align: center;
}

    .download-section h2 {
        font-size: 32px;
    }

    .download-section p {
        text-align: center;
    }

.download-info {
    max-width: 400px;
    margin: 25px auto 0;
    padding: 25px;
    border-radius: 15px;
    background: #f5f5f5;
    text-align: center;
}

    .download-info p {
        margin: 8px 0;
    }

    .download-info .button {
        display: inline-block;
        margin-top: 20px;
    }

/* =========================
   BUTTONS
   ========================= */

.app-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
}

    .app-buttons .button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 130px;
        min-height: 42px;
    }

.download-windows {
    min-width: 210px;
    min-height: 48px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    white-space: nowrap;
    box-sizing: border-box;
}

/* =========================
   GALLERY
   ========================= */

.gallery {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.gallery-image {
    width: 320px;
    max-width: 70%;
}

    .gallery-image img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

.gallery-button {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #222;
    color: white;
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gallery-button:hover {
        background: #444;
    }

.gallery-counter {
    text-align: center;
    margin-top: 15px;
    font-size: 16px;
}

/* =========================
   FOOTER
   ========================= */

footer {
    text-align: center;
    padding: 30px;
    color: #777;
}

.site-footer {
    text-align: center;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

    header {
        padding: 15px 10px;
    }

    .main-nav {
        gap: 12px;
    }

        .main-nav a {
            font-size: 15px;
        }

    .gallery {
        gap: 10px;
    }

    .gallery-image {
        width: 240px;
        max-width: 70%;
    }

    .gallery-button {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    section {
        padding: 35px 20px;
    }

    .app-details {
        padding: 50px 20px;
    }

        .app-details h1 {
            font-size: 38px;
        }
}

@media (max-width: 600px) {

    .requirement-item {
        grid-template-columns: 1fr;
        gap: 4px;
    }

        .requirement-item strong,
        .requirement-item span {
            text-align: center;
        }

    .app-information .app-info p {
        flex-direction: column;
        gap: 2px;
    }

    .app-information .app-info strong,
    .app-information .app-info span {
        min-width: auto;
        text-align: center;
    }

    .features-list {
        width: 100%;
    }

    .feature-item {
        padding: 12px 14px;
    }

    .download-windows {
        width: 100%;
        max-width: 250px;
    }
}

/* =========================
   WINDOWS SCREENSHOTS
   ========================= */
main:has(.windows-screenshots) {
    max-width: 1250px;
}

.windows-screenshots .gallery {
    width: 100%;
    gap: 15px;
}

.windows-screenshots .gallery-image {
    width: 900px;
    max-width: calc(100% - 100px);
}

    .windows-screenshots .gallery-image img {
        width: 100%;
        height: auto;
        max-height: 650px;
        object-fit: contain;
    }

.windows-screenshots .gallery-button {
    flex-shrink: 0;
}