body {
    background-color: #eef5f7;
    margin: 0;
    font-family: "Fleur De Leah", cursive;
    min-height: 100vh;
}

.fleur-de-leah-regular {
    font-family: "Fleur De Leah", cursive;
    font-weight: 400;
    font-style: normal;
}

.parisienne-regular {
    font-family: "Parisienne", cursive;
    font-weight: 400;
    font-style: normal;
}

.quintessential-regular {
    font-family: "Quintessential", serif;
    font-weight: 400;
    font-style: normal;
}

header {
    min-height: 180px !important;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: #cacaca;
}

#logo {
    width: 90px;
    height: 90px;
}

.index {
  width: 100%;
  height: 100vh;
  position: relative;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

#index {
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeInZoom 0.6s ease-out;
  opacity: 0;
}

#index.visible {
  opacity: 1;
}

.text {
  font-family: 'Quintessential', cursive;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  text-align: justify;
  margin: 0;
}

@keyframes fadeInZoom {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.text{
    color:#1F1E2F ;
    font-size: large;

}

h1 {
    text-align: center;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
}

#rumba {
    font-family: "Parisienne", cursive;
    font-size: 20px;

}

section {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 15px;
}


nav {
    font-size: x-large;
    display: flex;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav a {
    color: #1F1E2F;
    text-decoration: none;
    font-weight: bold;
    white-space: nowrap;
}

nav a:hover {
    padding: 5px 10px;
    color: white;
    transition: all 0.3s ease;
}

footer {
    font-family: Arial, Helvetica, sans-serif;
    justify-content: space-between;
    align-items: center;
    background: #cacaca;
    color: white;
    text-align: center;
    padding: 15px;
}

.tagline {
    font-size: clamp(1.6rem, 5vw, 2.8rem);
    margin: 1rem 0 2.5rem;
    opacity: 0.95;
}

html {
    scroll-behavior: smooth;
}


#rome {
    width: 140px;
    height: 150px;
}

#bouton {
    position: relative;
    padding: 10px;
    background: #eef5f7;
    color: white;
    border: none;
    border-radius: 5px;
    margin-top: 1.5rem;
}

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    font-family: "Fleur De Leah", cursive;
}

.contact-section h1 {
    font-family: "Fleur De Leah", cursive;
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
}

.contact-section form {
    width: 420px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(199, 21, 133, 0.35);
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.contact-section input[type="submit"] {
    width: 100%;
    background-color: #1F1E2F;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.sommaire-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(199, 21, 133, 0.12);
    padding: 2.5rem 3rem;
    margin: 2rem auto;
    max-width: 1100px;
}

.sommaire-titre {
    font-family: "Parisienne", cursive;
    font-size: 3.2rem;
    color: #8A174D;
    text-align: center;
    margin: 0 0 2rem;
}

.sommaire-nav {
    text-align: center;
    margin-bottom: 3rem;
}

.sommaire-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.4rem 2.2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.sommaire-nav a {
    color: #8A174D;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    transition: all 0.25s ease;
}

.sommaire-nav a:hover,
.sommaire-nav a:focus {
    background: #ffacd4;
    color: white;
}

.sommaire-contenu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem 3rem;
}

.films {
    max-width: 1080px;
    margin: 40px auto;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 25px;
}

.films a {
    display: flex;
    flex-direction: column;
    background: #f8e1e9;
    border: 3px solid #e066a0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(141, 16, 95, 0.25);
    transition: all 0.35s ease;
}

.films a:hover {
    filter: opacity(100);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(141, 16, 95, 0.4);
    border-color: #eef5f7;
}

.films img {
    filter: opacity(50%);
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.films a:hover img {
    filter: none;
}

@media (max-width: 768px) {
    main {
        background: url("images/accueil.jpg") center / cover no-repeat;
        height: 50vh;  
    }

    .films {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));  
    }

    .contact-section form {
        width: 90%;
    }

}

.container{
    width: 1200px;
    margin: auto;
}

@media(max-width: 1024px){
    .container {
        width: 90%;
    }
}

@media(max-width: 600px){
    .container {
        flex-direction: column ;
    }
}
