* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'LightFont';
    src: url('font/Light.ttf') format('truetype');
}

:root {
    --primary-color: #004956;
    --secondary-color: #FD9774;
    --accent-color: #4e99aa;
    --light-color: #f5f5f5;
    --dark-color: #333;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'LightFont', sans-serif;
    /* Réglez la taille de l'image pour qu'elle remplisse tout l'écran */
    background-size: cover;
    /* Centrez l'image horizontalement et verticalement */
    background-position: center;
    /* Fixez l'image pour qu'elle ne se déplace pas lorsque vous faites défiler la page */
    background-attachment: fixed;
    /* Définissez l'image de fond */
    background-image: url('img/back-index.png');
    height: 100vh;
    overflow: hidden;
    color: white;
}

a {
    text-decoration: none;
    color: rgb(255, 255, 255);
}

.landing-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content-box {
    text-align: center;
    background-color: rgba(0, 73, 86, 0.8);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    max-width: 600px;
    width: 100%;
    animation: fadeIn 1.5s ease;
}

.logo-container {
    margin-bottom: 20px;
}

.logo {
    max-width: 200px;
    height: auto;
}

.title {
    margin-bottom: 20px;
    animation: slideDown 1s ease;
}

.title h1 {
    font-size: 48px;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.title h1:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 20%;
}

.subtitle {
    margin-bottom: 40px;
    animation: slideDown 1.2s ease;
}

.subtitle p {
    font-size: 22px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
    animation: fadeIn 2s ease;
}

.btn-primary, .btn-secondary {
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition);
    display: inline-block;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--dark-color);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid white;
}

.btn-primary:hover {
    background-color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(253, 151, 116, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media queries pour ajuster la taille sur les petits écrans */
@media (max-width: 768px) {
    .content-box {
        padding: 30px 20px;
    }
    
    .title h1 {
        font-size: 36px;
    }
    
    .subtitle p {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .title h1 {
        font-size: 28px;
    }
    
    .subtitle p {
        font-size: 16px;
    }
}