@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Oswald:wght@200..700&display=swap');

:root {
    --primary-color: #1f1e1d;
    --secondary-color: #252424;
    --accent-color: #117050;
    --text-color: white;
    --button-color: #454545;
    --footer-color: #333;
    --footer-text-color: #ccc;
    --font-primary: 'Open Sans', sans-serif;s
    --font-secondary: 'Oswald', sans-serif;
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--primary-color);
    color: var(--text-color);
}

header .line {
    background-color: var(--secondary-color);
    height: 10px;
}

.container {
    max-width: 1140px;
    margin: auto;
    color: var(--text-color);
}

.bar {
    background-color: var(--secondary-color);
    width: 168px;
    height: 22px;
    color: var(--text-color);
}

h1 {
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 90px;
    line-height: 100px;
    margin: 0;
    margin-bottom: 30px;
}

h2 {
    font-family: var(--font-secondary);
    font-weight: bold;
    font-size: 35px;
    line-height: 45px;
    margin: 20px 0;
}

.button {
    display: inline-block;
    border: 2px solid var(--button-color);
    padding: 10px 30px;
    border-radius: 3px;
    color: var(--button-color);
    text-decoration: none;
}

.button:hover {
    background-color: var(--button-color);
    color: var(--text-color);
}

.header--area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
}

.header--left img {
    width: 64px;
    height: 64px;
}

.header--right {
    display: flex;
    align-items: center;
}

.header--search form {
    display: flex;
}

.header--search input {
    font-size: 16px;
    padding: 8px 15px;
    border: 1px solid #999999;
    outline: 0;
    width: 100%;
    max-width: 250px;
}

.header--search button {
    border: 0;
    background: transparent;
    margin-left: -30px;
    cursor: pointer;
}

.header--search button img {
    width: 16px;
    height: 16px;
}

.header--menu {
    margin-left: 50px;
    cursor: pointer;
}

.header--menu img {
    width: 24px;
    height: 24px;
}

.hero-kids {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 70px);
    background-image: url('/assets/images/backgrounds/walpapper.jpg');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0;
    padding: 0;
}

.hero-kids-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    padding: 20px;
}

.kids-img-demande {
    max-height: 50px;
    margin-bottom: 20px;
}

.kids-img-logo {
    max-height: 120px;
    margin-bottom: 30px;
}

.kids-text {
    font-size: 20px;
    font-weight: 500;
    color: white;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.btn-kids {
    background-color: #0d5cff;
    color: white;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    padding: 15px 35px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-kids:hover {
    background-color: #0a4acc;
}

.btn-kids:active {
    transform: scale(0.98);
}

.area1, .area2, .area3, .area4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.area1--content, .area2--content, .area3--content, .area4--content {
    padding: 80px;
}

.area1--quote, .area1--text, .area2--text, .area3--text, .area4--text {
    margin-bottom: 30px;
    line-height: 25px;
}

.area1--img1, .area1--img2, .area2--img1, .area2--img2, .area3--img1, .area4--img1 {
    background-size: cover;
    background-position: center;
}

.area1--img1 {
    height: 350px;
    background-image: url('../images/backgrounds/walpapper2.jpg');
}

.area1--img2 {
    grid-column: 2/3;
    grid-row: 1/3;
    background-image: url('../images/backgrounds/walpapper3.jpg');
}

.area2--img1 {
    height: 450px;
    background-image: url('../images/backgrounds/walpapper6.png');
}

.area2--img2 {
    grid-column: 1/2;
    grid-row: 1/3;
    background-image: url('../images/backgrounds/walpapper4.png');
}


.area3--img1 {
    background-image: url('../images/backgrounds/walpapper7.jpg');
}

.area4 {
    grid-template-columns: 450px 1fr;
    background-color: #1f1e1d;
}

.area4--img1 {
    background-image: url('../images/backgrounds/walpapper8.png');
}

.area5 {
    background-image: url('../images/backgrounds/walpapper8.png');
    background-size: cover;
    background-position: center;
    height: 600px;
}

footer {
    background-color: var(--footer-color);
    color: var(--footer-text-color);
    padding: 80px;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1140px;
    margin: 0 auto;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    text-align: left;
}

.footer-column h3 {
    color: var(--footer-text-color);
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: bold;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: var(--footer-text-color);
    text-decoration: none;
    font-size: 14px;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

.copyright {
    margin-top: 40px;
    border-top: 1px solid #555;
    padding-top: 20px;
    font-size: 12px;
    color: #aaa;
}

/* Media Queries */
@media (max-width: 1140px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .area1, .area2, .area3, .area4 {
        grid-template-columns: 1fr;
    }

    .area1--content, .area2--content, .area3--content, .area4--content {
        padding: 30px 20px;
    }

    .area1--img1, .area1--img2, .area2--img1, .area2--img2, .area3--img1, .area4--img1 {
        height: 200px;
        grid-row: auto !important;
        grid-column: auto !important;
    }

    .area5 {
        height: 200px;
    }

    .hero-kids-content {
        padding: 10px;
    }
    
    .kids-img-logo {
        max-height: 80px;
        margin-bottom: 20px;
    }
    
    .kids-text {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .btn-kids {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    .custom-alert-box {
        width: 85%;
        padding: 20px;
    }

    footer {
        padding: 40px 20px;
    }

    .footer-column {
        flex: 100%;
    }
}

@media (max-width: 425px) {
    .header--menu {
        margin-left: 20px;
    }

    .header--search input {
        max-width: 80px;
    }

    h1 {
        font-size: 50px;
        line-height: 50px;
    }

    h2 {
        font-size: 25px;
        line-height: 30px;
    }

    .banner--images img {
        width: 70px;
        height: 70px;
        border: 3px solid var(--accent-color);
        margin-right: 10px;
    }
}

/* Style de base pour le menu */
.header--menu {
    position: relative;
}

/* Masquer la case à cocher */
#menu-toggle {
    display: none;
}

/* Style de l'icône du menu */
.header--menu label {
    cursor: pointer;
    display: block;
    padding: 10px;
}

/* Style de la liste du menu */
.menu-list {
    display: none; /* Masquer par défaut */
    position: absolute;
    top: 100%; /* Position sous l'icône du menu */
    right: 0;
    background-color: #2B2827; /* Couleur de fond */
    list-style: none;
    padding: 10px;
    margin: 0;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000; /* Assurer que le menu est au-dessus des autres éléments */
}

/* Style des éléments de la liste */
.menu-list li {
    margin: 10px 0;
}

.menu-list li a {
    color: white; /* Couleur du texte */
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 5px 10px;
}

.menu-list li a:hover {
    color: #117050; /* Couleur au survol */
    background-color: rgba(255, 255, 255, 0.1); /* Fond au survol */
}

/* Afficher le menu lorsque la case à cocher est cochée */
#menu-toggle:checked ~ .menu-list {
    display: block;
}

/* Welcome Popup */
.welcome-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.welcome-popup-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.welcome-popup-content {
    background: #fff;
    color: #000;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
}

.welcome-popup-overlay.show .welcome-popup-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.welcome-popup-content h2 {
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 20px;
}

.welcome-popup-content p {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 40px;
    color: #333;
}

.welcome-popup-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-popup-buttons-left {
    display: flex;
    gap: 10px;
}

.btn-outline {
    border: 1px solid #000;
    padding: 10px 20px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
}

.btn-filled {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.btn-outline:hover {
    background: #f0f0f0;
}

.btn-filled:hover {
    background: #333;
}

.fan-zone {
    background-color: #181818;
    padding: 40px 5%;
    margin: 40px 0;
    max-width: none;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    color: #fff;
    display: flex;
    gap: 40px;
}

.fan-zone-sidebar {
    flex: 0 0 300px;
    display: flex;
    flex-direction: column;
}

.fan-zone-sidebar h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 24px;
    text-align: left;
}

.fan-zone-sidebar p {
    color: #a0a0a0;
    font-size: 13px;
    margin-bottom: 25px;
    font-style: italic;
    text-align: left;
}

.fan-zone-carousel-wrapper {
    flex: 1;
    position: relative;
    min-width: 0; 
    display: flex;
    align-items: center;
}

.comments-list {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; 
    padding: 10px 0;
    width: 100%;
}
.comments-list::-webkit-scrollbar {
    display: none;
}

.carousel-nav-btn {
    position: absolute;
    right: -20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
    font-size: 18px;
    transition: background 0.3s ease;
}
.carousel-nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .fan-zone {
        flex-direction: column;
        padding: 20px 10px;
        gap: 20px;
    }
    .fan-zone-sidebar {
        flex: auto;
    }
    .carousel-nav-btn {
        right: 0;
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .fan-zone-carousel-wrapper {
        padding-right: 35px;
    }
}



.no-comments {
    text-align: center;
    color: #a0a0a0;
    font-style: italic;
}

.comment-card {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 0;
    border: 1px solid #eee;
    color: #000;
    min-width: 250px;
    max-width: 300px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: bold;
    color: #000;
}

.comment-date {
    font-size: 12px;
    color: #666;
}

.comment-body {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.comment-form-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comment-input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
    color: #000;
}

.comment-input:focus {
    outline: none;
    border-color: #000;
}

.login-prompt {
    text-align: center;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 6px;
}

.login-prompt p {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.btn-black {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    align-self: flex-start;
    text-decoration: none;
    display: inline-block;
}

.btn-black:hover {
    background: #333;
}