:root {
    --primary-color: #333;
    --secondary-color: #f1f1f1;
    --background-color: white;
    --text-color: black; /* Couleur du texte */
    --border-color: #ccc;
    --font-family: 'Montserrat', sans-serif; /* Utiliser la police Montserrat */
    --font-size-base: 16px;
    --font-size-small: 14px;
    --font-size-large: 24px;
    --font-size-xlarge: 32px;
    --padding-base: 10px;
    --padding-large: 20px;
    --menu-background-color: white; /* Couleur de fond blanche pour la barre de menu */
    --menu-text-color: #8B0000; /* Rouge foncé pour le texte du menu */
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    margin: 0;
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 10px 20px;
    height: 50px;
}

.navbar a {
    color: var(--menu-text-color); /* Rouge foncé pour le texte du menu */
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    font-weight: bold; /* Texte en gras */
}

/* Styles pour le menu "Inscriptions" */
.inscription {
    background-color: #8B0000 !important; /* Rouge foncé pour le fond */
    color: white !important; /* Texte blanc */
    border: 2px solid #8B0000 !important; /* Cadre rouge */
    border-radius: 5px !important; /* Coins arrondis */
    padding: 10px 20px !important; /* Ajuster le padding pour un meilleur aspect */
    font-weight: bold !important; /* Texte en gras */
}

.inscription:hover {
    background-color: #A52A2A !important; /* Rouge plus clair au survol */
    border-color: #A52A2A !important; /* Cadre rouge plus clair au survol */
}

.menu {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--background-color);
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: var(--secondary-color);
}

.hamburger {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

.logo img {
    height: 40px;
}

@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 50px;
        left: 0;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    }

    .menu.active {
        display: flex;
    }

    .hamburger {
        display: block;
        text-align: center;
        flex-grow: 1;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
    }

    .navbar {
        justify-content: center;
        height: 50px;
    }

    .vintage-text {
        font-size: 5vw;
        top: 40%;
        width: 80%;
    }

    .subscribe-button {
        top: 55%;
        width: 80%;
        font-size: 5vw;
        padding: 1.5vw 3vw;
        max-width: 300px;
        max-height: 70px;
    }
}

.video-container {
    position: relative;
    width: 100%;
    height: 56.25vw;
    margin-top: 50px;
    overflow: hidden;
}

@media (min-width: 769px) {
    .video-container {
        height: 60vh;
    }
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vintage-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Courier New', Courier, monospace;
    font-size: 3vw;
    color: white;
    text-shadow: 2px 2px black;
    z-index: 1;
    text-align: center;
    white-space: nowrap;
}

.subscribe-button {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    min-width: 150px;
    max-width: 500px;
    min-height: 40px;
    max-height: 80px;
    padding: 1vw 2vw;
    text-align: center;
    background-color: darkred;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 2vw;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .subscribe-button {
        font-size: 1.5vw;
        padding: 0.5vw 1vw;
    }
}

.subscribe-button:hover {
    background-color: red;
}

h2 {
    margin: 20px 0;
    font-size: 2em;
    color: var(--primary-color);
}

.centered-event-title {
    text-align: center;
}

.events-section {
    background-color: #f0f0f0;
    padding: 20px;
}

.instagram-section {
    background-color: white;
    padding: 20px;
}

.events-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.event-card {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    width: 300px;
    padding: 20px;
    box-sizing: border-box;
    cursor: pointer;
}

.event-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.event-card h2 {
    margin: 10px 0;
    text-align: center;
}

.event-card p {
    margin: 5px 0;
}

.event-details-section {
    background-color: white;
    padding: 20px;
    text-align: center;
}

.event-details-section img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.event-details-section h1 {
    font-size: 2em;
    margin: 20px 0;
    text-align: center;
}

.event-details-section p {
    font-size: 1em;
    margin: 10px 0;
    text-align: left;
}

.event-details-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 70%;
    margin: 0 auto;
    position: relative;
}

.event-image-container {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 60px;
}

.event-image-container img {
    max-width: 60%;
    height: auto;
    border-radius: 10px;
}

.event-details-container .columns {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.event-details-container .left-column,
.event-details-container .right-column {
    width: 100%;
    text-align: left;
    padding: 0 20px;
}

.event-details-container h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.event-details-container hr {
    border: 0;
    border-top: 1px dashed #600;
    margin: 10px 0;
}

.event-details-container .info-item {
    margin-bottom: 10px;
}

.event-details-container .info-item strong {
    display: block;
    margin-bottom: 5px;
}

.event-info-table {
    width: 100%;
    border-collapse: collapse;
}

.event-info-table th, .event-info-table td {
    padding: 10px;
    text-align: left;
}

.event-info-table th {
    width: 30%;
}

.event-info-table td {
    width: 70%;
}

@media (min-width: 769px) {
    .event-details-container .columns {
        flex-direction: row;
    }

    .event-details-container .left-column {
        width: 66.66%;
    }

    .event-details-container .right-column {
        width: 33.33%;
    }
}

@media (max-width: 768px) {
    .event-details-container {
        flex-direction: column;
        max-width: 100%;
    }

    .event-details-container .left-column,
    .event-details-container .right-column {
        width: 100%;
        padding: 0 10px;
    }
}

/* Styles pour la section des cours et planning */
.course-planning-section {
    padding: 20px;
    text-align: center;
    margin-top: 60px; /* Ajouter un margin-top pour compenser la hauteur de la barre de menu */
}

.course-image-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.course-image-container img {
    width: 50%; /* L'image prendra la moitié de la largeur de son conteneur */
    height: auto;
    border-radius: 10px;
}

.course-description {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.course-description h2 {
    margin: 20px 0;
    font-size: 2em;
    color: var(--primary-color);
}

.course-description p {
    margin: 10px 0;
    font-size: 1em;
    line-height: 1.6;
}

.course-description ul {
    list-style-type: none;
    padding: 0;
}

.course-description ul li {
    margin: 10px 0;
    font-size: 1em;
}

.course-description ul li strong {
    color: var(--primary-color);
}

/* Responsive design */
@media (max-width: 768px) {
    .course-description {
        padding: 0 10px;
    }

    .course-description h2 {
        font-size: 1.5em;
    }

    .course-description p, .course-description ul li {
        font-size: 1em;
    }

    .course-image-container img {
        width: 100%; /* L'image prendra 80% de la largeur de son conteneur sur les petits écrans */
    }
}

/* Styles pour la section des cours de danses */
.course-dances-section {
    padding: 20px;
    text-align: center;
    margin-top: 60px; /* Ajouter un margin-top pour compenser la hauteur de la barre de menu */
}

.dance-section {
    margin-bottom: 40px;
}

.dance-section h2 {
    margin: 20px 0;
    font-size: 2em;
    color: var(--primary-color);
}

.dance-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.dance-image-container {
    flex: 1;
    max-width: 50%;
    margin: 10px;
}

.dance-image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.dance-description {
    flex: 1;
    max-width: 50%;
    margin: 10px;
    text-align: left;
}

.dance-description p {
    margin: 10px 0;
    font-size: 1em;
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
    .dance-content {
        flex-direction: column;
        align-items: center;
    }

    .dance-image-container, .dance-description {
        max-width: 100%;
    }

    .dance-description {
        padding: 0 10px;
    }

    .dance-section h2 {
        font-size: 1.5em;
    }

    .dance-description p {
        font-size: 1em;
    }
}

/* Styles pour la section des cours et tarifs */
.course-tarifs-section {
    padding: 20px;
    text-align: center;
    margin-top: 60px; /* Ajouter un margin-top pour compenser la hauteur de la barre de menu */
}

.course-tarifs-section h1 {
    margin: 20px 0;
    font-size: 2em;
    color: var(--primary-color);
}

.course-image-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.course-image-container img {
    width: 50%; /* L'image prendra la moitié de la largeur de son conteneur */
    height: auto;
    border-radius: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .course-image-container img {
        width: 100%; /* L'image prendra 80% de la largeur de son conteneur sur les petits écrans */
    }
}

/* Styles pour la section des lieux des cours */
.course-lieux-section {
    padding: 20px;
    text-align: center;
    margin-top: 60px; /* Ajouter un margin-top pour compenser la hauteur de la barre de menu */
}

.course-lieux-section h1 {
    margin: 20px 0;
    font-size: 2em;
    color: var(--primary-color);
}

.map-container {
    margin: 20px 0;
    display: flex;
    justify-content: center;
}

.map-container iframe {
    width: 70%;
    height: 600px;
    border: none;
    border-radius: 10px;
}

.course-locations {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.course-locations .location {
    flex: 1;
    max-width: 45%;
}

.course-locations p {
    margin: 10px 0;
    font-size: 1em;
    line-height: 1.6;
}

/* Responsive design */
@media (max-width: 768px) {
    .map-container iframe {
        width: 90%; /* La carte prendra 90% de la largeur de son conteneur sur les petits écrans */
        height: 400px; /* Réduire la hauteur de la carte sur les petits écrans */
    }

    .course-locations {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .course-locations .location {
        max-width: 100%;
        text-align: center;
    }

    .course-lieux-section h1 {
        font-size: 1.5em;
    }

    .course-locations p {
        font-size: 1em;
    }
}

/* Styles pour la section contact et événementiel */
.contact-evenementiel-section {
    padding: 20px;
    text-align: center;
    margin-top: 60px; /* Ajouter un margin-top pour compenser la hauteur de la barre de menu */
}

.contact-evenementiel-section h1 {
    margin: 20px 0;
    font-size: 2em;
    color: var(--primary-color);
}

.contact-info, .social-links, .animation-services {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--background-color);
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}

.contact-info h2, .social-links h2, .animation-services h2 {
    margin: 20px 0;
    font-size: 1.5em;
    color: var(--primary-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.contact-info p, .social-links p, .animation-services p {
    margin: 10px 0;
    font-size: 1em;
    line-height: 1.6;
}

.social-links a {
    margin: 0 10px;
}

.social-logo {
    width: 40px;
    height: 40px;
}

/* Responsive design */
@media (max-width: 768px) {
    .contact-evenementiel-section h1 {
        font-size: 1.5em;
    }

    .contact-info h2, .social-links h2, .animation-services h2 {
        font-size: 1.2em;
    }

    .contact-info p, .social-links p, .animation-services p {
        font-size: 1em;
    }

    .social-logo {
        width: 30px;
        height: 30px;
    }
}