/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* Top Bar */
.eagle-topbar {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    left: 0;
    right: 0;
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 0;
    font-size: 0.9rem;
}

.eagle-topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    width: 100%;
}

.eagle-contact-info {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.eagle-contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.eagle-contact-item:hover {
    color: #ff4d4d;
}

.eagle-contact-item i {
    font-size: 1rem;
    color: #ff4d4d;
}

.eagle-social-links {
    display: flex;
    gap: 1rem;
}

.eagle-social-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
}

.eagle-social-link:hover {
    color: #ff4d4d;
    transform: translateY(-2px);
}

/* Main Header */
.eagle-header {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.eagle-header.scrolled {
    backdrop-filter: blur(10px);
}

.eagle-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    width: 100%;
}

.eagle-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

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

.eagle-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.eagle-menu-item {
    position: relative;
}

.eagle-menu-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.eagle-menu-link:hover {
    color: #ff4d4d;
}

.eagle-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff4d4d;
    transition: width 0.3s ease;
}

.eagle-menu-link:hover::after {
    width: 100%;
}

/* Mobile Menu Button */
.eagle-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #333;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .eagle-contact-info {
        gap: 1rem;
    }
    
    .eagle-menu {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .eagle-topbar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        padding: 0.5rem;
    }

    .eagle-contact-info {
        flex-wrap: wrap;
        justify-content: center;
    }

    .eagle-menu {
        display: none;
    }

    .eagle-mobile-menu-btn {
        display: block;
    }

    .eagle-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 576px) {
    .eagle-contact-info {
        flex-direction: column;
        gap: 0.5rem;
    }

    .eagle-social-links {
        margin-top: 0.5rem;
    }
}



/*
* Eagle Slider Styles
* Version: 1.0.0
*/

.eagle-slide:not(.active) {
    opacity: 0;
    visibility: hidden;
}

.eagle-slide .eagle-slider-title,
.eagle-slide .eagle-slider-subtitle,
.eagle-slide .eagle-feature,
.eagle-slide .eagle-buttons,
.eagle-slide .eagle-decorative-line {
    opacity: 0;
    transform: translateY(20px);
    transition: none; /* Importante: nessuna transizione iniziale */
}

/* Gli elementi si animano solo quando la slide è attiva */
.eagle-slide.active .eagle-slider-title,
.eagle-slide.active .eagle-slider-subtitle,
.eagle-slide.active .eagle-feature,
.eagle-slide.active .eagle-buttons,
.eagle-slide.active .eagle-decorative-line {
    transition: all 0.6s ease-out;
}

/* Container principale */
.eagle-slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Container delle slides */
.eagle-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Stile base slide */
.eagle-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s;
}

.eagle-slide.active {
    opacity: 1;
    visibility: visible;
}

/* Background e overlay */
.eagle-slider-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.eagle-slider-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: gentle-zoom 15s infinite;
}

.eagle-slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0,0,0,0.6) 0%, 
        rgba(0,0,0,0.4) 50%, 
        rgba(255,77,77,0.2) 100%
    );
    z-index: 2;
}

/* Elementi decorativi */
.eagle-decorative-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.decorative-circle {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.circle-2 {
    width: 200px;
    height: 200px;
    bottom: -100px;
    left: -100px;
    animation-direction: reverse;
}

.decorative-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(255,77,77,0.3), transparent);
    height: 1px;
    width: 100%;
    animation: slide-in 2s ease-out;
}

.line-1 { top: 20%; }
.line-2 { top: 40%; transform: rotate(-2deg); }
.line-3 { top: 60%; transform: rotate(2deg); }

/* Contenuto principale */
.eagle-slider-content {
    position: relative;
    z-index: 3;
    height: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.eagle-content-wrapper {
    padding-top: 100px;
    padding-bottom: 50px;
}

/* Reset iniziale e stili di animazione */
.eagle-slider-title,
.eagle-slider-subtitle,
.eagle-feature,
.eagle-buttons {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.eagle-decorative-line {
    opacity: 0;
    height: 0;
    transition: all 0.6s ease-out;
    width: 3px;
    background: #ff4d4d;
    margin-bottom: 30px;
    position: relative;
}

.eagle-decorative-line::after {
    content: "";
    position: absolute;
    top: 0;
    right: -5px;
    width: 12px;
    height: 12px;
    background: #ff4d4d;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

/* Classi di animazione */
.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.line-animate {
    opacity: 1;
    height: 50px;
}

.line-animate::after {
    opacity: 1;
}

/* Stili testo */
.eagle-slider-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin: 0 0 20px 0;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.eagle-slider-subtitle {
    font-size: 1.8rem;
    color: white;
    margin: 0 0 30px 0;
    font-weight: 300;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Features grid */
.eagle-features-grid {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 20px;
    margin-bottom: 30px;
    max-width: 800px;
}

.eagle-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.eagle-feature:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.15);
}

.eagle-feature i {
    color: #ff4d4d;
    font-size: 24px;
    transition: transform 0.3s ease;
}

.eagle-feature:hover i {
    transform: scale(1.2);
}

.eagle-feature.combat-feature i {
    font-size: 28px;
}

/* Buttons */
.eagle-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.eagle-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.eagle-button-primary {
    background: #ff4d4d;
    color: white;
    position: relative;
    overflow: hidden;
}

.eagle-button-primary::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.eagle-button-primary:hover::after {
    opacity: 1;
}

.eagle-button-secondary {
    border: 2px solid rgba(255,255,255,0.3);
    color: white;
}

.eagle-button-secondary:hover {
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Controlli di navigazione */
.eagle-slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.eagle-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.eagle-slider-dot.active {
    background: #ff4d4d;
    transform: scale(1.2);
}

.eagle-slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    pointer-events: none;
}

.eagle-arrow {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.eagle-arrow:hover {
    background: rgba(255,77,77,0.8);
    transform: scale(1.1);
}

.eagle-arrow-prev {
    left: 20px;
}

.eagle-arrow-next {
    right: 20px;
}

/* Animazioni keyframes */
@keyframes gentle-zoom {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes slide-in {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .eagle-slider-title {
        font-size: 3rem;
    }
    .eagle-slider-subtitle {
        font-size: 1.6rem;
    }
    .decorative-circle {
        display: none;
    }
}

@media (max-width: 768px) {
    .eagle-slider {
        
        min-height: 600px;
    }
    .eagle-features-grid {
        grid-template-columns: 1fr;
    }
    .eagle-slider-title {
        font-size: 2.5rem;
    }
    .eagle-slider-subtitle {
        font-size: 1.4rem;
    }
    .eagle-buttons {
        flex-direction: column;
        width: 100%;
    }
    .eagle-button {
        width: 100%;
        justify-content: center;
    }
    .eagle-content-wrapper {
        padding-top: 120px;
    }
    .decorative-line {
        display: none;
    }
    .eagle-arrow {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .eagle-slider-title {
        font-size: 2rem;
    }
    .eagle-slider-subtitle {
        font-size: 1.2rem;
    }
    .eagle-arrow {
        display: none;
    }
}

@media (max-width: 480px) {
    .eagle-slider-title {
        display: none !important;
    }
}


/* Corso Detail Styles */
.corso-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Section */
.corso-header {
    margin-bottom: 40px;
}

.corso-featured-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.corso-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: #fff;
    margin: 0;
    font-size: 2.5em;
}

/* Grid Layout */
.corso-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Gallery Container */
.corso-gallery-slider {
    margin-bottom: 40px;
    position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px;
}

/* Main Gallery */
.gallery-main {
    position: relative;
    height: 500px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.gallery-slide.active {
    opacity: 1;
    display: block;
    z-index: 1;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Thumbnails */
.gallery-thumbs {
    display: flex;
    gap: 10px;
    padding: 5px 0;
    justify-content: center;
}

.gallery-thumb {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.gallery-thumb.active {
    opacity: 1;
    border-color: #4a90e2;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Hover Effects */
.gallery-thumb::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.2);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.gallery-thumb:hover::after,
.gallery-thumb.active::after {
    opacity: 0;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .gallery-main {
        height: 450px;
    }
    
    .gallery-thumb {
        width: 90px;
        height: 90px;
    }
}

@media screen and (max-width: 992px) {
    .gallery-main {
        height: 400px;
    }
    
    .gallery-thumb {
        width: 80px;
        height: 80px;
    }
}

@media screen and (max-width: 768px) {
    .corso-gallery-slider {
        padding: 10px;
    }

    .gallery-main {
        height: 350px;
    }
    
    .gallery-thumb {
        width: 70px;
        height: 70px;
    }
}

@media screen and (max-width: 576px) {
    .gallery-main {
        height: 300px;
    }
    
    .gallery-thumbs {
        gap: 5px;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 60px;
    }
}

@media screen and (max-width: 480px) {
    .gallery-main {
        height: 250px;
    }
    
    .gallery-thumb {
        width: 50px;
        height: 50px;
    }
}

/* Loading State */
.gallery-slide.loading {
    background: #f5f5f5;
}

.gallery-slide.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    border: 3px solid #ddd;
    border-top-color: #4a90e2;
    border-radius: 50%;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Info Box */
.corso-info-box {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.info-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    color: #4a90e2;
    margin-right: 10px;
    width: 20px;
}

.info-item span {
    font-weight: 600;
    margin-right: 5px;
}

/* Giorni Grid */
.giorni-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-top: 10px;
}

.giorno-item {
    text-align: center;
    padding: 5px;
    background: #f5f5f5;
    border-radius: 5px;
    font-size: 0.9em;
}

.giorno-item.active {
    background: #4a90e2;
    color: white;
}

/* Istruttori Section */
.corso-istruttori-section {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.istruttore-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.istruttore-card:last-child {
    border-bottom: none;
}

.istruttore-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.istruttore-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.istruttore-info h3 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.istruttore-ruolo {
    color: #666;
    font-size: 0.9em;
    margin: 0 0 10px 0;
}

/* CTA Box */
.corso-cta {
    background: linear-gradient(135deg, #4a90e2, #357abd);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    color: white;
}

.corso-cta h3 {
    margin: 0 0 15px 0;
    font-size: 1.5em;
}

/* Buttons */
.btn-istruttore,
.btn-prenota {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-istruttore {
    background: #f5f5f5;
    color: #333;
}

.btn-prenota {
    background: #fff;
    color: #4a90e2;
    border: none;
    font-size: 1.1em;
    cursor: pointer;
    padding: 12px 30px;
}

.btn-istruttore:hover {
    background: #e5e5e5;
}

.btn-prenota:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    margin: 20px 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Descrizione */
.corso-description {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.corso-description h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8em;
}

/* Animazioni */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.corso-info-box,
.corso-istruttori-section,
.corso-description {
    animation: slideIn 0.5s ease-out;
}

/* Responsive Design */
@media (max-width: 992px) {
    .corso-content-grid {
        grid-template-columns: 1fr;
    }
    
    .corso-featured-image {
        height: 300px;
    }
    
    .corso-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .corso-featured-image {
        height: 250px;
    }
    
    .gallery-main {
        height: 300px;
    }
    
    .gallery-thumb {
        width: 60px;
        height: 60px;
    }
    
    .corso-title {
        font-size: 1.8em;
    }
    
    .giorni-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }
}

@media (max-width: 576px) {
    .corso-detail-container {
        padding: 10px;
    }
    
    .corso-featured-image {
        height: 200px;
    }
    
    .corso-title {
        font-size: 1.5em;
    }
    
    .gallery-main {
        height: 250px;
    }
}


/* Modal Styles */
.prenota-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #333;
}

.modal-content h2 {
    margin: 0 0 20px 0;
    color: #333;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus {
    border-color: #4a90e2;
    outline: none;
}

.btn-submit {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #357abd;
    transform: translateY(-2px);
}

.success-message {
    text-align: center;
    padding: 20px;
}

.success-message h3 {
    color: #28a745;
    margin-bottom: 10px;
}

@media (max-width: 576px) {
    .modal-content {
        padding: 20px;
    }
    
    .form-group input {
        font-size: 14px;
    }
    
    .btn-submit {
        font-size: 14px;
        padding: 10px 20px;
    }
}

.success-message {
    text-align: center;
    padding: 20px;
}

.success-message h3 {
    color: #28a745;
    margin-bottom: 20px;
    font-size: 24px;
}

.note-cancellation {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-info {
    margin: 15px 0;
    font-size: 18px;
    line-height: 1.8;
}

.contact-info i {
    color: #4a90e2;
    margin-right: 10px;
}

.opening-hours {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

.thank-you {
    margin-top: 25px;
    color: #4a90e2;
    font-weight: bold;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.close-modal:hover {
    color: #333;
}



/* Container principale */
.istruttore-container {
    max-width: 1400px;
    margin: 0 auto;
    background: #fff;
}

/* Hero Section */
.istruttore-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.7));
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    z-index: 2;
    color: #fff;
}

.hero-content h1 {
    font-size: 3.5em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-role {
    display: inline-block;
    background: rgba(74, 144, 226, 0.9);
    padding: 8px 20px;
    border-radius: 30px;
    margin-top: 15px;
    font-size: 1.2em;
}

/* Layout principale */
.istruttore-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    padding: 0 30px;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #4a90e2;
    line-height: 1;
}

.stat-label {
    font-size: 0.9em;
    color: #666;
}

/* Sezioni Contenuto */
.content-section {
    margin-bottom: 50px;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.content-section h2 {
    font-size: 2em;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: #4a90e2;
    border-radius: 2px;
}

/* Certificazioni Grid */
.certificazioni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.certificazione-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s;
}

.certificazione-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.certificazione-card i {
    font-size: 1.5em;
    color: #4a90e2;
}

/* Corsi Slider */
.corsi-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.corso-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.corso-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.corso-image {
    height: 200px;
    overflow: hidden;
}

.corso-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.corso-card:hover .corso-image img {
    transform: scale(1.1);
}

.corso-content {
    padding: 20px;
}

.corso-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.3em;
    color: #333;
}

.corso-sala {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    margin-bottom: 20px;
}

.corso-sala i {
    color: #4a90e2;
}

.corso-button {
    display: inline-block;
    padding: 10px 25px;
    background: #4a90e2;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    border: 2px solid #4a90e2;
}

.corso-button:hover {
    background: transparent;
    color: #4a90e2;
}

/* Sidebar */
.istruttore-sidebar {
    position: sticky;
    top: 30px;
    align-self: start;
}

.sidebar-section {
    background: #fff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.sidebar-section h3 {
    font-size: 1.3em;
    color: #333;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.sidebar-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #4a90e2;
    border-radius: 2px;
}

/* Specializzazioni Tags */
.specializzazioni-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag {
    background: #f0f7ff;
    color: #4a90e2;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    transition: all 0.3s;
}

.tag:hover {
    background: #4a90e2;
    color: white;
    transform: translateY(-2px);
}

/* Calendario Grid */
.calendario-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.calendario-giorno {
    padding: 10px 5px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 0.9em;
    opacity: 0.5;
    transition: all 0.3s;
}

.calendario-giorno.active {
    background: #4a90e2;
    color: white;
    opacity: 1;
}

.calendario-giorno.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(74, 144, 226, 0.3);
}

/* Contatti */
.contatti-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.contatto-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
}

.contatto-item:hover {
    background: #4a90e2;
    color: white;
    transform: translateX(5px);
}

.contatto-item i {
    font-size: 1.2em;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.2em;
}

.social-link:hover {
    transform: translateY(-5px);
}

.social-link.facebook:hover {
    background: #1877f2;
    color: white;
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    color: white;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .istruttore-content-wrapper {
        grid-template-columns: 1fr 300px;
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 3em;
    }
}

@media (max-width: 992px) {
    .istruttore-content-wrapper {
        grid-template-columns: 1fr;
    }

    .istruttore-sidebar {
        position: static;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-content h1 {
        font-size: 2.5em;
    }
}

@media (max-width: 768px) {
    .istruttore-hero {
        height: 400px;
    }

    .hero-content {
        left: 30px;
        bottom: 30px;
    }

    .hero-content h1 {
        font-size: 2em;
    }

    .stats-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .certificazioni-grid {
        grid-template-columns: 1fr;
    }

    .calendario-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .istruttore-hero {
        height: 300px;
    }

    .hero-content {
        left: 20px;
        bottom: 20px;
    }

    .hero-content h1 {
        font-size: 1.8em;
    }

    .content-section {
        padding: 20px;
    }

    .calendario-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.content-section {
    animation: slideUp 0.6s ease-out forwards;
}




/* Reset base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

.featured-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
}

.featured-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  height: 350px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.featured-item .content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.featured-item:hover .content {
  opacity: 1;
  transform: translateY(0);
}

.featured-item .icon {
  font-size: 50px;
  margin-bottom: 20px;
  color: #fff;
}

.featured-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #fff;
}

.featured-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9));
  opacity: 0;
  transition: opacity 0.5s ease;
}

.featured-item:hover .overlay {
  opacity: 1;
}

/* Colori specifici per ogni area */
.martial-arts {
  background: url('https://via.placeholder.com/400x300?text=Tatami') center/cover no-repeat;
}

.fitness {
  background: url('https://via.placeholder.com/400x300?text=Fitness') center/cover no-repeat;
}

.functional {
  background: url('https://via.placeholder.com/400x300?text=Functional') center/cover no-repeat;
}

.cardio {
  background: url('https://via.placeholder.com/400x300?text=Cardio') center/cover no-repeat;
}

/* Responsive */
@media (max-width: 1200px) {
  .featured-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .featured-container {
    grid-template-columns: 1fr;
  }
}




.intro-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff4d4d;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.intro-label i {
    font-size: 0.8rem;
}

.courses-intro h2 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 40px;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.intro-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.intro-feature:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(10px);
}

.intro-feature i {
    font-size: 1.8rem;
    color: #ff4d4d;
    padding: 15px;
    background: rgba(255,77,77,0.1);
    border-radius: 12px;
}

.feature-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: white;
}

.feature-text p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.intro-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    background: #ff4d4d;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.intro-cta:hover {
    background: #ff3333;
    transform: translateY(-2px);
}

.intro-cta i {
    transition: transform 0.3s ease;
}

.intro-cta:hover i {
    transform: translateX(5px);
}

@media (max-width: 992px) {
    .courses-intro h2 {
        font-size: 2.5rem;
    }
    
    .intro-features {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}



.cta-newsletter {
    padding: 100px 0;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.cta-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Colonna sinistra */
.cta-tag {
    display: inline-block;
    padding: 8px 16px;
    background: #ff4d4d10;
    color: #ff4d4d;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    margin-bottom: 20px;
}

.cta-left h2 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-left p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 30px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit i {
    color: #ff4d4d;
    font-size: 1.2rem;
}

.benefit span {
    color: #444;
    font-size: 1rem;
}

/* Colonna destra */
.newsletter-form-wrapper {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    position: relative;
}

.form-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 1.1rem;
}

.newsletter-form input {
    width: 100%;
    padding: 18px 20px 18px 50px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    border-color: #ff4d4d;
    outline: none;
}

.newsletter-form button {
    background: #ff4d4d;
    color: white;
    border: none;
    padding: 18px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form button:hover {
    background: #ff3333;
    transform: translateY(-2px);
}

.newsletter-form button i {
    transition: transform 0.3s ease;
}

.newsletter-form button:hover i {
    transform: translateX(5px);
}

.form-note {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 0.9rem;
}

.form-note i {
    color: #ff4d4d;
}

@media (max-width: 992px) {
    .cta-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .cta-left h2 {
        font-size: 2.3rem;
    }

    .benefits-list {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .cta-newsletter {
        padding: 60px 0;
    }

    .newsletter-form-wrapper {
        padding: 30px 20px;
    }

    .cta-left h2 {
        font-size: 2rem;
    }
}



.eagle-footer {
    position: relative;
    padding: 100px 0 0;
    color: white;
    background-image: url('/wp-content/uploads/2025/02/711.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.footer-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.75) 100%);
}

.footer-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
}

/* Logo e Info */
.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 25px;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 30px;
}

.footer-socials {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #ff4d4d;
    transform: translateY(-3px);
}

/* Titoli Colonne */
.footer-title {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: #ff4d4d;
}

/* Link Liste */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

/* Contatti */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: white;
    transform: translateX(5px);
}

.contact-item i {
    color: #ff4d4d;
    font-size: 1.2rem;
}

/* Footer Bottom */
.footer-bottom {
    position: relative;
    margin-top: 80px;
    padding: 30px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.credits {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.credits a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.credits a:hover {
    color: #ff4d4d;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .eagle-footer {
        padding: 60px 0 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom .footer-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}



/* CSS Responsive per Header Eagle Fitness */

/* Sticky header */
.eagle-header-main {
    transition: all 0.3s ease;
}

.eagle-header-sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.5s forwards;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Menu mobile */
.eagle-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1001;
    padding: 80px 30px 30px;
    transition: right 0.4s ease;
    overflow-y: auto;
}

.eagle-mobile-menu.active {
    right: 0;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
}

.eagle-close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.eagle-mobile-menu a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.eagle-mobile-menu a:hover {
    color: #ff4d4d;
    padding-left: 10px;
}

.eagle-mobile-menu a:last-child {
    margin-top: 20px;
    padding: 12px 20px;
    border: 2px solid #ff4d4d;
    border-radius: 30px;
    text-align: center;
}

.eagle-mobile-menu a:last-child:hover {
    background-color: #ff4d4d;
    color: white;
    padding-left: 20px;
}

.eagle-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.eagle-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Media queries */
@media (max-width: 1200px) {
    .eagle-contact-info {
        gap: 15px;
    }
    
    .eagle-main-menu {
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .eagle-contact-info a span {
        display: none;
    }
    
    .eagle-contact-info {
        gap: 20px;
    }
    
    .eagle-contact-info a {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .eagle-main-menu {
        display: none;
    }
    
    .eagle-hamburger {
        display: block !important;
    }
    
    .eagle-contact-info a:nth-child(3) {
        display: none;
    }
}

@media (max-width: 576px) {
    .eagle-logo a {
        font-size: 22px;
    }
    
    .eagle-contact-info {
        gap: 15px;
    }
}