/* css/hero.css */

/* =========================================
   ANIMAȚII ȘI EFECTE TEXT
========================================= */
.hero-heading {
    font-family: 'Montserrat', sans-serif;
    /* Dimensiune fluidă: minim 2.5rem, ideal 4.5vw, maxim 4.5rem */
    font-size: clamp(2.5rem, 4.5vw, 4.5rem); 
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    color: #1a202c; /* O nuanță foarte închisă de gri/albastru pentru baza textului */
    
    /* Umbră fină pentru a desprinde textul de fundal */
    text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.08);
    
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease-out forwards;
}

/* Efectul de gradient luminos pentru partea a doua a titlului */
.hero-heading-accent {
    display: block; /* Forțează textul să treacă pe rândul următor */
    
    /* Gradient profesional albastru-cian */
    background: linear-gradient(135deg, #005bbf 0%, #1a73e8 40%, #00d2ff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    
    /* Adăugăm o animație subtilă de strălucire care se mișcă pe gradient */
    animation: gradientShine 5s linear infinite;
}

/* Animația pentru strălucirea textului accentuat */
@keyframes gradientShine {
    to {
        background-position: 200% center;
    }
}
/* =========================================
   BUTON EXPLOREAZĂ
========================================= */
.btn-explore {
    background: linear-gradient(135deg, #1a73e8 0%, #005bbf 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(26, 115, 232, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.btn-explore:hover {
    box-shadow: 0 8px 25px rgba(26, 115, 232, 0.5);
    transform: translateY(-3px);
}

.btn-explore:active {
    transform: translateY(0) scale(0.97);
    box-shadow: 0 3px 10px rgba(26, 115, 232, 0.3);
}

.btn-explore .arrow-icon {
    transition: transform 0.3s ease;
}

/* Animăm săgeata la hover pe buton */
.btn-explore:hover .arrow-icon {
    transform: translateX(6px);
}

/* =========================================
   EFECTE IMAGINE / CONTAINER
========================================= */
.hero-image-wrapper {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
    opacity: 0;
    animation: fadeInRight 1s ease-out 0.3s forwards;
}

.hero-image-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.hero-image {
    transition: transform 0.7s ease;
}

/* Zoom lent pe imagine când utilizatorul face hover pe container */
.hero-image-wrapper:hover .hero-image {
    transform: scale(1.05);
}

/* Un overlay subtil pentru un contrast mai bun al marginilor */
.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15) 0%, transparent 50%);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.hero-image-wrapper:hover .hero-image-overlay {
    opacity: 0;
}

/* =========================================
   KEYFRAMES PENTRU ANIMAȚII DE ÎNCĂRCARE
========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}