/* Styles spécifiques à la page d'accueil */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
                url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #e50914;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #b2070f;
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Services Section */
.services {
    padding: 5rem 1rem;
    background: #f8f9fa;
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
}

.services h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #e50914;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 400px; /* Hauteur minimale fixe */
}

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

.service-icon {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
}

.service-card i {
    font-size: 3rem;
    color: var(--primary-color, #e50914);
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
    text-align: center;
}

.service-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: #666;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-card .btn {
    margin-top: auto;
    align-self: center;
    height: 2.5rem;
}

.service-card i {
    font-size: 1.5rem;
    margin-top: auto;
    margin-bottom: auto;
    align-self: center;
}

.service-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--button-color, #e50914);
    color: #ffffff !important;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    margin-top: 1rem;
    transition: all 0.3s ease !important;
    border: none;
    font-size: 0.9rem;
}

.service-button:hover {
    background-color: var(--button-hover-color, #b2070f) !important;
    color: #ffffff !important;
    text-decoration: none;
}

.service-button i {
    margin-right: 0.5rem;
    font-size: 0.9rem;
    color: #ffffff !important;
}

/* Stats Section */
.stats {
    padding: 4rem 1rem;
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)),
                url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7') center/cover;
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: #e50914;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Media Queries */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }

    .service-card {
        width: 100%;
        margin: 0 auto;
    }
} 