/* inceput fisier "style.css" */

/* ============================= */
/* RESET DE BAZA */
/* ============================= */

* {
    box-sizing: border-box;
}

/* ============================= */
/* BODY */
/* ============================= */

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #1f2937;
    background-color: #eef7ef;
    opacity: 1;
    transition: opacity 0.4s ease;
}

/* ============================= */
/* BACKGROUND PE PAGINI */
/* ============================= */

.home-page {
    background: url("images/backgrounds/background.png") no-repeat center center fixed;
    background-size: cover;
}

.apps-page {
    background: url("images/backgrounds/background-apps.png") no-repeat center center fixed;
    background-size: cover;
}

.books-page {
    background: url("images/backgrounds/background-books.png") no-repeat center center fixed;
    background-size: cover;
}

/* ============================= */
/* NAVBAR */
/* ============================= */

nav {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

/* ============================= */
/* BRAND */
/* ============================= */

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

    .brand img {
        width: 42px;
        height: 42px;
        object-fit: contain;
    }

    .brand span {
        font-size: 22px;
        font-weight: 800;
        color: #166534;
    }

/* ============================= */
/* MENIU NAVBAR */
/* ============================= */

nav > div {
    display: flex;
    align-items: center;
    gap: 26px;
}

nav a {
    margin-left: 0;
    text-decoration: none;
    color: #374151;
    font-weight: 700;
    transition: color 0.25s ease;
}

    nav a:hover {
        color: #16a34a;
    }

/* ============================= */
/* SELECTOR LIMBA MODERN */
/* ============================= */

.language-select {
    margin-left: 12px;
    padding: 10px 42px 10px 18px;
    border-radius: 999px;
    border: 2px solid rgba(22, 101, 52, 0.22);
    background: rgba(255, 255, 255, 0.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7L10 12L15 7' stroke='%23166534' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    background-size: 14px;
    color: #166534;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

    .language-select:hover {
        border-color: rgba(22, 101, 52, 0.45);
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(22, 101, 52, 0.10);
    }

    .language-select:focus {
        outline: none;
        border-color: #16a34a;
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18);
    }

/* ============================= */
/* HERO */
/* ============================= */

.hero {
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: min(1000px, 92%);
    margin: 70px auto 20px auto;
    padding: 80px 20px;
}

    .hero h1 {
        margin: 0;
        max-width: 950px;
        font-size: 62px;
        line-height: 1.05;
        color: #0f2f4a;
        text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9), 0 8px 24px rgba(0, 0, 0, 0.18);
    }

    .hero p {
        max-width: 820px;
        font-size: 23px;
        line-height: 1.6;
        color: #1f2937;
        font-weight: 700;
        text-shadow: 0 2px 8px rgba(255, 255, 255, 0.9), 0 4px 14px rgba(255, 255, 255, 0.7);
    }

/* ============================= */
/* HERO HOME */
/* ============================= */

.home-hero {
    min-height: calc(100vh - 170px);
}

.hero-text {
    max-width: 850px;
    font-size: 23px;
    line-height: 1.7;
    font-weight: 700;
}

/* ============================= */
/* HERO ACTIONS */
/* ============================= */

.hero-actions {
    display: flex;
    gap: 18px;
    margin-top: 28px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ============================= */
/* CONTENT */
/* ============================= */

.content {
    width: min(780px, 90%);
    margin: 30px auto;
    padding: 34px 28px;
    text-align: center;
    background: rgba(255, 255, 255, 0.70);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 28px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
}

/* ============================= */
/* BUTOANE */
/* ============================= */

.btn {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 26px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(34, 197, 94, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 16px 34px rgba(34, 197, 94, 0.34);
    }

.secondary-btn {
    background: rgba(255, 255, 255, 0.88);
    color: #166534;
}

/* ============================= */
/* FOOTER */
/* ============================= */

footer {
    margin-top: 50px;
    padding: 30px 20px;
    text-align: center;
    color: #6b7280;
}

    footer a {
        color: #166534;
        font-weight: 800;
        text-decoration: none;
        background: rgba(255, 255, 255, 0.65);
        padding: 8px 14px;
        border-radius: 999px;
    }

/* ============================= */
/* AJUSTARI PE PAGINI */
/* ============================= */

.apps-page .hero,
.books-page .hero {
    min-height: 330px;
}

/* ============================= */
/* APPS HERO STANGA */
/* ============================= */

.apps-page .app-hero-left {
    align-items: flex-start;
    text-align: left;
    width: min(520px, 90%);
    min-height: 330px;
    margin: 90px auto 20px 8%;
    padding: 70px 20px;
    background: none;
    box-shadow: none;
    backdrop-filter: none;
}

    .apps-page .app-hero-left h1,
    .apps-page .app-hero-left p {
        text-align: left;
    }

/* ============================= */
/* APPS GRID */
/* ============================= */

.apps-grid {
    display: flex;
    gap: 28px;
    width: min(1100px, 92%);
    margin: 20px auto 60px 8%;
    justify-content: flex-start;
    align-items: stretch;
}

.app-card {
    width: 320px;
    padding: 30px 26px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(31, 41, 55, 0.08);
    border-radius: 26px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .app-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
    }

/* ============================= */
/* BOOKS GRID */
/* ============================= */

.books-grid {
    display: flex;
    gap: 32px;
    width: min(1100px, 92%);
    margin: 20px auto 70px auto;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.book-card {
    display: block;
    width: 260px;
    text-decoration: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .book-card:hover {
        transform: translateY(-6px) scale(1.02);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
    }

    .book-card img {
        display: block;
        width: 100%;
        height: auto;
    }

/* ============================= */
/* RESPONSIVE TABLETA */
/* ============================= */

@media (max-width: 900px) {

    .apps-grid {
        flex-direction: column;
        margin: 20px auto 60px auto;
        align-items: center;
    }

    .app-card {
        width: min(92%, 420px);
    }

    .books-grid {
        margin: 20px auto 60px auto;
        justify-content: center;
    }

    .book-card {
        width: 240px;
    }
}

/* ============================= */
/* RESPONSIVE TELEFON */
/* ============================= */

@media (max-width: 700px) {

    nav {
        flex-direction: column;
        gap: 14px;
        padding: 16px 20px;
    }

        nav > div {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 12px;
        }

        nav a {
            margin: 0 8px;
            font-size: 14px;
        }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .brand span {
        font-size: 20px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero p,
    .hero-text {
        font-size: 17px;
    }

    .book-card {
        width: min(76%, 240px);
    }

    .home-page {
        background: url("images/backgrounds/background-mobile.png") no-repeat center center;
        background-size: cover;
        background-attachment: scroll;
    }

    .apps-page {
        background: url("images/backgrounds/background-apps-mobile.png") no-repeat center center;
        background-size: cover;
        background-attachment: scroll;
    }

    .books-page {
        background: url("images/backgrounds/background-books-mobile.png") no-repeat center center;
        background-size: cover;
        background-attachment: scroll;
    }
}

/* sfarsit fisier "style.css" */
