/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    /*background-image: var(--bg-hero-gradient), url(../../images/Torre.jpg);*/
    background-image: url(../../images/hero.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
    scroll-margin-top: 0;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.0);
        z-index: 1;
    }

.hero-wrapper {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: var(--font-size-5xl);
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-xl);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    text-align:center;
}

.hero-title span {
    background: linear-gradient(45deg, var(--primary-200), var(--primary-300));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: var(--font-weight-extrabold);
}

.hero-button-contatta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 35px;
    background: var(--glass-bg);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-full);
    color: var(--text-white);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--transition-slow);
    cursor: pointer;
    backdrop-filter: var(--glass-backdrop);
    position: relative;
    overflow: hidden;
}

.hero-button-contatta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.hero-button-contatta:hover {
    background: linear-gradient(45deg, var(--color-primary), var(--color-primary-dark));
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    letter-spacing: 2px;
}

.hero-button-contatta:hover::before {
    left: 100%;
}

.hero-button-contatta:active {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(144, 202, 249, 0.1) 0%, transparent 70%);
    border-radius: var(--radius-full);
    animation: var(--animation-float);
    z-index: 1;
}


@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
        margin-bottom: var(--spacing-lg);
    }

    .hero-button-contatta {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: var(--font-size-base);
    }

    .hero-wrapper {
        padding: 0 var(--spacing-sm);
        text-align: center;
    }
}