﻿/* =========================================
   HERO
========================================= */

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}
    .hero-image.active {
        opacity: 1;
    }

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: white;
    z-index: 100;
}



.hero-text p {
    margin-top: 100px;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,.9), 0 0 12px rgba(0,0,0,.7), 0 0 25px rgba(0,0,0,.5);
    font-family: "Cormorant Garamond", serif;
    font-size: 56px;
    font-weight: 300;
    line-height: 1.05;
}

/* =========================================
   MESSAGGI
========================================= */

.success-message {
    max-width: 900px;
    margin: 110px auto 20px auto;
    padding: 18px;
    background: #e8f5e9;
    border-left: 5px solid #2e6f40;
    color: #2e6f40;
    font-weight: 600;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.success-banner {
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    background: #2e6f40;
    color: white;
    padding: 20px 30px;
    font-size: 22px;
    font-weight: 600;
    border-radius: 8px;
    z-index: 99999;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
}
.hero-logo {
    position: relative;
    width: 300px;
    height: auto;
    transform: translate(-150px, 20px);
}
.hero-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
}