/* =========================================================== */
/* 1. BAZA TA ORIGINALĂ (PĂSTRATĂ INTEGRAL)                    */
/* =========================================================== */

.about-hero {
    text-align: center;
    padding: 60px 20px 80px;
    color: #1a1a1a;
}

.about-title {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 60px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeSlideDown 1.2s ease forwards;
}

.section-title, .about-section-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
}

/* Card Design Premium cu Acoladă */
.card, .about-card, .value-box.card {
    background: #ffffff;
    border-radius: 14px;
    padding: 35px 30px;
    margin: 20px auto;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    max-width: 900px;
    border-left: 5px solid #8a2be2; /* Acolada mov */
}

.card p, .about-card p {
    margin-bottom: 5px;
    line-height: 1.85;
    font-size: 1.18rem;
}

/* Logo-ul centrat */
.about-logo-block {
    margin: 10px auto 10px auto;
    text-align: center;
}

.about-logo-block img {
    width: 140px;
    height: auto;
    margin-top: -20px;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
}

.about-logo-block.about-visible img {
    opacity: 1;
    transform: scale(1);
}

/* =========================================================== */
/* 2. REPARAȚII RESPONSIVITATE IMAGINI (Desktop & Mobil)       */
/* =========================================================== */

.about-image, .about-image-centered, .about-image-block, .about-image-centered-block {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* FIX: Această regulă previne creșterea infinită a imaginilor */
.about-image img, 
.about-image-centered img, 
.about-image-block img, 
.about-image-centered-block img {
    width: 100%;
    max-width: 100%; 
    height: auto;
    border-radius: 14px;
    display: block;
    box-shadow: 0 4px 25px rgba(0,0,0,0.1);
}

/* =========================================================== */
/* 3. REPARAȚIE MENIU BURGER (DREAPTA + CENTRAL EXPAND)       */
/* =========================================================== */

.header-container {
    max-width: 1300px; /* Putem mări puțin lățimea maximă */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px; /* Am mărit de la 20px la 40px pentru margini mai largi */
}

/* =========================================================== */
/* 5. ANIMAȚII (PĂSTRATE)                                      */
/* =========================================================== */

@keyframes fadeSlideDown {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

.fade-in, .about-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s ease, transform 1s ease;
}

.visible, .about-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Stilul de bază al butonului */
.detalii-btn {
    background-color: #A349A4; /* Culoarea PIM MOOD */
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: block;
    margin: 20px auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Efectul la trecerea mouse-ului (Hover) */
.detalii-btn:hover {
    background-color: #8a3d8a; /* O nuanță mai închisă pentru feedback vizual */
    transform: translateY(-2px); /* Efect subtil de ridicare */
    box-shadow: 0 6px 12px rgba(163, 73, 164, 0.3);
}

/* Efectul de click */
.detalii-btn:active {
    transform: translateY(0);
}

/* Stilul pentru containerul de detalii (ascuns inițial) */
.detalii {
    display: none; /* Ascuns implicit */
    padding: 15px;
    background-color: #f9f9f9;
    border-top: 2px solid #A349A4;
    margin-top: 15px;
    border-radius: 0 0 8px 8px;
    animation: slideDown 0.4s ease-out;
}

/* Animație pentru apariția detaliilor */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Optimizare Mobil PIM MOOD --- */
@media (max-width: 768px) {
    
    /* Ajustăm cardul să ocupe aproape toată lățimea ecranului */
    .produs-card {
        width: 92% !important;
        margin: 20px auto !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Umbră mai discretă pe mobil */
    }

    /* Imaginea nu mai are înălțime fixă mare, pentru a nu obliga userul să dea prea mult scroll */
    .produs-img {
        height: 250px !important; /* Înălțime ideală pentru mobile view */
        object-fit: cover;
    }

    /* Titlurile paginii (H1, H2) trebuie să fie lizibile, nu uriașe */
    .product-title, h1 {
        font-size: 1.6rem !important;
        padding: 0 15px;
    }

    h4 {
        font-size: 1.2rem !important;
        margin: 15px 10px !important;
    }

    /* Butonul de detalii - îl facem mai ușor de apăsat cu degetul (Touch target) */
    .detalii-btn {
        width: 80%; /* Mai lat pe mobil pentru ergonomie */
        padding: 15px;
        font-size: 0.9rem;
    }

    /* Textul din interiorul detaliilor */
    .detalii {
        padding: 15px !important;
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Eliminăm eventualele margini laterale prea mari la text */
    p {
        margin-bottom: 12px;
    }
}

/* Ajustare extra pentru telefoane foarte mici (iPhone SE, etc.) */
@media (max-width: 480px) {
    .produs-img {
        height: 200px !important;
    }
    
    .product-title {
        font-size: 1.4rem !important;
    }
}
/* ==========================================================================
   TELECOMANDĂ CTA PREMIUM — GARANTAT FIXĂ PE DESKTOP
   ========================================================================== */
.pim-sticky-control {
    position: fixed !important;
    bottom: 30px !important;
    right: 40px !important;
    display: flex !important;
    align-items: center !important;
    background: rgba(17, 17, 17, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(197, 168, 128, 0.3) !important;
    padding: 8px 18px !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
    z-index: 99999 !important;
    transition: transform 0.2s ease, bottom 0.2s ease !important; /* Tranzitii fine pentru script */
}

.pim-control-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    padding: 8px 12px !important;
}

.pim-control-btn svg { width: 18px !important; height: 18px !important; }
.pim-btn-phone svg, .pim-btn-phone { fill: #ffffff !important; transition: all 0.2s; }
.pim-btn-wa svg, .pim-btn-wa { fill: #ffffff !important; transition: all 0.2s; }

.pim-btn-phone:hover { color: #C5A880 !important; }
.pim-btn-phone:hover svg { fill: #C5A880 !important; transform: scale(1.1); }
.pim-btn-wa:hover { color: #25D366 !important; }
.pim-btn-wa:hover svg { fill: #25D366 !important; transform: scale(1.1); }

.pim-control-divider {
    width: 1px !important;
    height: 24px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    margin: 0 6px !important;
}

/* ==========================================================================
   COMPORTAMENTUL EXCELENT DE MOBIL (PĂSTRAT INTACT)
   ========================================================================== */
@media (max-width: 768px) {
    .pim-sticky-control {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        border-radius: 0 !important;
        border-top: 1px solid rgba(197, 168, 128, 0.3) !important;
        border-left: none !important; border-right: none !important; border-bottom: none !important;
        padding: 12px 0 !important;
        justify-content: space-evenly !important;
        box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3) !important;
        width: 100% !important;
    }

    .pim-control-btn {
        flex-direction: column !important;
        gap: 4px !important;
        font-size: 0.7rem !important;
        padding: 4px 20px !important;
        width: 45% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .pim-control-btn svg { width: 20px !important; height: 20px !important; }
    .pim-control-divider { height: 30px !important; }
    body { padding-bottom: 70px !important; }
}
