/* ============================
   RESET DE BAZĂ
============================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Arial, sans-serif;
    color: #333;
    background: #ffffff; /* fundal alb pentru conținut */
}

/* ============================
   HERO – banda de sus cu Svetlana + logo
   => background cover, ca înainte
============================ */

.hero {
    background-color: #f7e5ff;              /* movul de fundal */
    background-image: url("header-bg.png"); /* imaginea cu Svetlana + logo */
    background-repeat: no-repeat;

    /* EXACT ce vrei: poza umple lățimea, chiar dacă taie un pic */
    background-size: cover;
    background-position: center top;

    /* puțin mai înalt, cum ai cerut */
    min-height: 420px;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #333;
    padding: 120px 20px 60px;
}

/* Container intern pentru textul "COLOR QUEST" + subtitlu */
.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-inner h1 {
    margin: 0 0 10px;
    font-size: 2.7rem;
    letter-spacing: 0.15em;
}

.hero-inner p {
    margin: 0 0 15px;
    font-size: 1.2rem;
}

/* ============================
   BUTON FACEBOOK
============================ */

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 999px;
    border: none;
    text-decoration: none;
    background: #e84a7a;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.btn:hover {
    background: #d63b69;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* ============================
   NAV – meniul de sus
============================ */

.top-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 10;
    background: #ffffff; /* meniu pe alb, stă peste hero */
}

.top-nav a {
    text-decoration: none;
    color: #555;
    font-size: 0.95rem;
}

.top-nav a:hover {
    color: #e84a7a;
}

/* ============================
   SECTIONS – conținutul fiecărei pagini
============================ */

.section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
    background: #ffffff;
}

.section-alt {
    background: #ffffff;
}

.section h2 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

/* ============================
   CARDS – cele 3 carduri de la Servicii
============================ */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

/* ============================
   GALERIE FOTO
============================ */

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.gallery img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* ============================
   VIDEO
============================ */

.video-row {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

/* ============================
   FOOTER
============================ */

footer {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    color: #777;
}

/* ============================
   RESPONSIVE – pentru telefon
============================ */

@media (max-width: 768px) {

    .hero {
        padding: 140px 20px 80px;

        /* păstrăm cover, dar mutăm un pic imaginea spre stânga
           ca să se vadă mai bine persoana pe mobil */
        background-size: cover;
        background-position: center top;

        min-height: 320px;
    }

    .hero-inner h1 {
        font-size: 1.8rem;
         margin: 0 0 10px;
    }

    .hero-inner p {
        font-size: 1rem;
        margin: 0 0 15px;
    }

    .top-nav {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 5px;
    }

    .section {
        padding: 30px 15px;
    }

    .gallery img {
        height: 200px;
    }
}
