/* index.css */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    background-color: #0F1620;
    color: #ffffff;
    height: 100%;
    overflow-x: hidden;
}

/* Container Styles */
.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main Styles */
main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
}

/* Hero Section Styles */
.hero {
    max-width: 1000px;
    margin-top: 30px;
}

.hero h1 {
    margin-top: 50px; /* Ajuster cette valeur pour déplacer le h1 plus bas */
    font-size: 4rem; /* Ajuster la taille du h1 */
    margin-bottom: 1rem;
    text-align: center;
    color: #B63C3D;
    text-transform: uppercase;
}

.tagline {
    font-size: 2rem;
    margin-bottom: 2rem;
    margin-top: 50px;
}

.logo {
    width: 35%;
    height: auto;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

/* Services Section Styles */
.container-services {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.container-services h1 {
    padding-top: 2%;
    color: #f8f8f8;
    font-size: 3rem;
}

.service-container {
    text-align: center;
    margin-top: 10%;
}

.subtitle {
    text-align: center;
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.service-description {
    margin-top: 10px;
}

.service-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    margin-bottom: 20px;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.service-title {
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    font-weight: bold;
    color: #ff6b6b;
}

/* Creations Section Styles */
.container-creations {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.container-creations h1 {
    padding-top: 10%;
    padding-bottom: 2%;
    color: #f8f8f8;
    text-align: center;
    font-size: 3rem;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
}

.video-card {
    background: #16213e;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(233, 69, 96, 0.2);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-size: cover;
    background-position: center;
    cursor: pointer;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(233, 69, 96, 0.8);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.play-button:hover {
    background-color: #e94560;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 20px solid #ffffff;
    margin-left: 5px;
}

.video-info {
    padding: 15px;
}

.video-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #e94560;
}

.video-description {
    font-size: 0.9rem;
    color: #a9a9a9;
}

.container-about {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 80%; /* Définir la largeur maximale */
    margin: 0 auto; /* Centrer la section */  
    padding: 0 20px;
    text-align: justify;
    margin-bottom: 5%;
}

.photo {
    flex: 1;
    max-width: 400px;
}

.photo img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.description-about {
    flex: 2;
    text-align: justify; /* Justifier le texte */
}

.about-h1 {
    color: #F8F8F8;
    margin-top: 8%;
    margin-bottom: 50px;
    text-align: center;
    font-size: 3rem;
}

p {
    margin-bottom: 15px;
}

.contact {
    max-width: 100%;            
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-h1 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.contact p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
}

section {
            padding-top: 100px; /* Ajustez cette valeur selon vos besoins */
            margin-top: -100px; /* La même valeur que le padding-top pour compenser le décalage */
        }

/* Responsive Styles */
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .hero h1 {
        font-size: 2rem;
    }
    .tagline {
        font-size: 1rem;
    }
    .container-about {
        flex-direction: column;
        max-width: 100%;
    }
    .container-services h1 {
        font-size: 2.5rem;
    }
    .container-creations h1 {
        font-size: 2.5rem;
    }
    .about-h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) { 

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

    .video-grid {
        grid-template-columns: 1fr;
    }
    .container-about {
        padding: 15px;
    }
    .container-services h1 {
        font-size: 2rem;
    }
    .container-creations h1 {
        font-size: 2rem;
    }
    .about-h1 {
        font-size: 2rem;
    }
}


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