/* ===== NEW HERO CSS ===== */
/* Nuovo stile per la hero section */

/* TOP BLACK BAR */
.top-black-bar {
    background-color: #000000;
    padding: 20px 0;
    text-align: center;
    position: relative;
    z-index: 1000;
}

.logo-container img {
    height: 50px;
    width: auto;
}

/* PRIMARY COLOR BAR */
.primary-color-bar {
    background-color: var(--color-primary);
    padding: 30px 0;
    text-align: center;
    color: white;
}

.event-info {
    max-width: 800px;
    margin: 0 auto;
}

/* TESTI PIÙ PICCOLI */
.event-title {
    font-size: 32px;
    font-family: var(--font-family-bold);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
    color: white;
}

.event-date {
    font-size: 20px;
    font-family: var(--font-family-book);
    margin-bottom: 6px;
    color: white;
}

.event-location {
    font-size: 20px;
    font-family: var(--font-family-book);
    margin: 0;
    color: white;
}

/* NEW HERO SECTION */
.new-hero-section {
    background-image: url(../assets/img/sfondo.png);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    padding: 60px 20px 40px 20px;
}

/* OVERLAY NERO */
.new-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 2;
    position: relative;
}

.hero-main-text {
    font-size: 28px;
    font-family: var(--font-family-book);
    color: white;
    line-height: 1.4;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-main-text .bold-text {
    font-family: var(--font-family-bold);
    font-weight: 700;
}

/* GOOGLE RATING SENZA SFONDO BIANCO */
.google-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    display: inline-flex;
}

.google-logo {
    height: 24px;
    width: auto;
}

.rating-number {
    font-size: 20px;
    font-family: var(--font-family-bold);
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffc107;
    font-size: 18px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* WEBINAR BUTTON PIÙ PICCOLO */
.webinar-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--color-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-family: var(--font-family-bold);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 180, 195, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.webinar-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 195, 0.6);
    color: white;
}

.webinar-btn i {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 6px;
    border-radius: 50%;
    font-size: 14px;
}

.webinar-btn-2 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: black;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    font-family: var(--font-family-bold);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 180, 195, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 32px auto;
}

.webinar-btn-2:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 195, 0.6);
    color: white;
}

.webinar-btn-2 i {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 6px;
    border-radius: 50%;
    font-size: 14px;
}

/* RESPONSIVE MOBILE */
@media (max-width: 1024px) {
    .new-hero-section {
        background-image: url(../assets/img/sfondo-mobile.png);
        background-position: center top;
        min-height: 60vh;
    }
}

@media (max-width: 768px) {
    .top-black-bar {
        padding: 15px 0;
    }
    
    .logo-container img {
        height: 40px;
    }
    
    .primary-color-bar {
        padding: 20px 20px;
    }
    
    .event-title {
        font-size: 22px;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
    }
    
    .event-date,
    .event-location {
        font-size: 16px;
    }
    
    .new-hero-section {
        min-height: 55vh;
        padding: 40px 15px;
    }
    
    .hero-main-text {
        font-size: 18px;
        margin-bottom: 25px;
    }
    
    .google-rating {
        gap: 8px;
        margin-bottom: 25px;
    }
    
    .google-logo {
        height: 20px;
    }
    
    .rating-number {
        font-size: 16px;
    }
    
    .stars i {
        font-size: 15px;
    }
    
    .webinar-btn {
        padding: 10px 20px;
        font-size: 14px;
        gap: 8px;
    }
    
    .webinar-btn i {
        font-size: 12px;
        padding: 4px;
    }
}

@media (max-width: 576px) {
    .event-title {
        font-size: 18px;
        line-height: 1.2;
    }
    
    .event-date,
    .event-location {
        font-size: 14px;
    }
    
    .hero-main-text {
        font-size: 16px;
        line-height: 1.3;
    }
    
    .google-rating {
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .google-logo {
        height: 18px;
    }
    
    .rating-number {
        font-size: 14px;
    }
    
    .stars i {
        font-size: 13px;
    }
    
    .webinar-btn {
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }
    
    .webinar-btn span {
        text-align: center;
    }
    
    .webinar-btn i {
        font-size: 10px;
        padding: 3px;
    }

    .webinar-btn-2 {
        padding: 8px 16px;
        font-size: 12px;
        gap: 6px;
    }
    
    .webinar-btn-2 span {
        text-align: center;
    }
    
    .webinar-btn-2 i {
        font-size: 10px;
        padding: 3px;
    }
}

/* ANIMATION */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-main-text {
    animation-delay: 0.2s;
}

.google-rating {
    animation-delay: 0.4s;
}

.webinar-btn {
    animation-delay: 0.6s;
}