/* ============================================
   homepage.css - Stili specifici della homepage
   ============================================ */

/* HERO BUTTONS */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

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

.btn-primary:hover {
    background-color: var(--dark-orange);
}

.btn-secondary {
    background-color: var(--sand);
    color: var(--text-dark);
    border: 2px solid var(--orange);
}

.btn-secondary:hover {
    background-color: var(--light-sand);
}

/* CAROUSEL CONTROLS */
.carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.carousel-prev,
.carousel-next {
    background-color: rgba(255, 127, 0, 0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: background-color 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: var(--orange);
}

/* SEZIONE STATISTICHE */
.stats-section {
    background-color: var(--light-sand);
    padding: 60px 20px;
    text-align: center;
}

.stats-container {
    max-width: 1200px;
    margin: 0 auto;
}

.stats-section h2 {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 40px;
}

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

.stat-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(255, 127, 0, 0.2);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--orange);
    margin-bottom: 10px;
}

.stat-card p {
    font-size: 1rem;
    color: var(--text-dark);
}

/* RESPONSIVE DESIGN - TABLET */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .stats-section h2 {
        font-size: 1.8rem;
    }

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

    .carousel-controls {
        bottom: 10px;
    }

    .carousel-prev,
    .carousel-next {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* RESPONSIVE DESIGN - MOBILE */
@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .stats-section {
        padding: 40px 15px;
    }

    .stats-section h2 {
        font-size: 1.5rem;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-card h3 {
        font-size: 2rem;
    }

    .stat-card p {
        font-size: 0.9rem;
    }
}
