/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('../images/464939088_10234948141833388_555340795505353003_n.jpg') center/cover;
                
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    width: 100%;
    padding: 20px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.hero-text .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

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

.stat-item .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.stat-item .label {
    font-size: 1rem;
    opacity: 0.9;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--white);
    text-align: center;
    cursor: pointer;
}

.scroll-indicator i {
    font-size: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-top: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-10px) translateX(-50%);
    }
    60% {
        transform: translateY(-5px) translateX(-50%);
    }
}

/* Media Queries per Mobile */
@media (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        padding: 0 10px;
    }

    .hero-text .subtitle {
        font-size: 1.2rem;
        padding: 0 15px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-item {
        padding: 15px;
        background: rgba(0,0,0,0.4);
        border-radius: 10px;
        margin: 0 20px;
    }

    .stat-item .number {
        font-size: 2rem;
    }

    .stat-item .label {
        font-size: 0.9rem;
    }

    .scroll-indicator {
        bottom: 20px;
    }

    .scroll-indicator i {
        font-size: 1.8rem;
    }

    .scroll-indicator span {
        font-size: 0.8rem;
    }
}

/* Media query per schermi molto piccoli */
@media (max-width: 360px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text .subtitle {
        font-size: 1rem;
    }

    .stat-item .number {
        font-size: 1.8rem;
    }
}

/* Path Section */
.path-section {
    padding: 100px 0;
    background: var(--white);
}

.path-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Talent Step */
.path-start {
    max-width: 400px;
    margin: 0 auto 80px;
    position: relative;
}

.path-start .step {
    border: 2px solid var(--primary-color);
}

/* Freccia che collega Talent alle colonne */
.path-start::after {
    content: '\f063';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 2rem;
    color: var(--primary-color);
    position: absolute;
    bottom: -65px;
    left: 50%;
    transform: translateX(-50%);
}

/* Parallel Paths */
.path-parallel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.path-parallel::before {
    display: none;
}

.path-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px;
    border: 2px solid var(--light-gray);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
}

/* Stili specifici per ogni colonna */
.path-column.sprint {
    border-color: var(--primary-color);
}

.path-column.endurance {
    border-color: var(--secondary-color);
}

.path-column h4 {
    text-align: center;
    font-size: 1.8rem;
    margin: -50px auto 20px;
    padding: 10px 30px;
    border-radius: 25px;
    display: inline-block;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

/* Colori specifici per gli header delle colonne */
.path-column.sprint h4 {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(233, 188, 0, 0.2);
}

.path-column.endurance h4 {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(51, 49, 54, 0.2);
}

/* Step Cards */
.step {
    text-align: center;
    padding: 30px;
    background: var(--light-gray);
    border-radius: 15px;
    position: relative;
    transition: all 0.3s ease;
}

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

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 0 auto 20px;
    font-size: 1.2rem;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.step p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.step-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.step-features span {
    background: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

/* Next Event */
.next-event {
    padding: 100px 0;
    background: var(--light-gray);
}

.event-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.event-tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    margin-bottom: 20px;
}

.event-details {
    margin: 30px 0;
}

.event-details p {
    margin: 10px 0;
}

.event-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

/* News Section Styles */
.latest-news {
    padding: 80px 0;
    background: var(--light-gray);
}

.latest-news h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.news-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.news-content {
    padding: 25px;
}

.news-tag {
    display: inline-block;
    padding: 6px 15px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-meta i {
    color: var(--primary-color);
    margin-right: 5px;
}

.news-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.news-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.news-card.featured img {
    height: 400px;
}

.news-card.featured h3 {
    font-size: 1.8rem;
}

.news-secondary-grid {
    display: grid;
    gap: 30px;
}

.news-secondary-grid .news-card img {
    height: 200px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

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

/* Responsive Design */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured img {
        height: 300px;
    }
}

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

    .latest-news h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }

    .news-card h3 {
        font-size: 1.3rem;
    }

    .news-card.featured h3 {
        font-size: 1.5rem;
    }

    .news-card img,
    .news-card.featured img {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .news-content {
        padding: 20px;
    }

    .news-card img,
    .news-card.featured img {
        height: 200px;
    }
}

/* Partners */
.partners {
    padding: 60px 0;
    background: var(--light-gray);
}

.partners h2 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.partner-logo {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo:hover img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .partner-logo {
        padding: 15px;
    }

    .partner-logo img {
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .path-steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .path-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .path-steps {
        grid-template-columns: 1fr;
    }

    .path-section h2 {
        font-size: 2rem;
    }

    .step {
        padding: 20px;
    }
}

/* Eventi Section */
.eventi-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.eventi-section h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

/* Evento in Evidenza */
.evento-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.evento-highlight .evento-info {
    padding: 20px;
}

.evento-highlight .evento-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 25px;
    margin-bottom: 20px;
    font-weight: 600;
}

.evento-highlight h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.evento-highlight .evento-details {
    margin: 30px 0;
}

.evento-highlight .evento-details p {
    margin: 10px 0;
    font-size: 1.1rem;
    color: #666;
}

.evento-highlight .evento-details i {
    color: var(--primary-color);
    margin-right: 10px;
    width: 20px;
}

.evento-highlight .evento-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Lista Eventi */
.eventi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.evento-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    display: flex;
    transition: all 0.3s ease;
}

.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.12);
}

.evento-data {
    background: var(--primary-color);
    color: var(--white);
    padding: 20px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.evento-data .giorno {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
}

.evento-data .mese {
    font-size: 1rem;
    text-transform: uppercase;
    margin-top: 5px;
}

.evento-info {
    padding: 25px;
    flex-grow: 1;
}

.evento-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-gray);
    color: var(--secondary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.evento-info h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.evento-location {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.evento-location i {
    color: var(--primary-color);
    margin-right: 5px;
}

.evento-desc {
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .eventi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .evento-card {
        flex-direction: row;
    }
}

@media (max-width: 480px) {
    .evento-card {
        flex-direction: column;
    }

    .evento-data {
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        padding: 15px;
    }
}

/* Prossimi Eventi */
.prossimi-eventi {
    padding: 80px 0;
    background: var(--light-gray);
}

.eventi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.evento-card {
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.evento-data {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 10px;
    background: var(--primary-color);
    border-radius: 10px;
    color: var(--white);
}

.evento-data .giorno {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.evento-data .mese {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.evento-info {
    flex: 1;
}

.evento-info h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--secondary-color);
}

.evento-info p {
    color: #666;
    margin-bottom: 8px;
}

.evento-tipo {
    display: inline-block;
    padding: 4px 12px;
    background: var(--light-gray);
    border-radius: 15px;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-right: 8px;
}

.evento-nota {
    display: inline-block;
    padding: 4px 12px;
    background: #fff3cd;
    border-radius: 15px;
    font-size: 0.9rem;
    color: #856404;
}

@media (max-width: 768px) {
    .eventi-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .evento-card {
        padding: 15px;
    }

    .evento-data {
        min-width: 70px;
    }

    .evento-data .giorno {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .evento-highlight {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .evento-highlight h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .eventi-section h2 {
        font-size: 2rem;
    }

    .eventi-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .path-parallel {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .path-column {
        max-width: 600px;
        margin: 0 auto;
    }

    .path-column h4 {
        font-size: 1.5rem;
        margin-top: -40px;
    }
}

@media (max-width: 576px) {
    .path-section h2 {
        font-size: 2rem;
    }

    .step {
        padding: 20px;
    }
} 