@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@700&family=Quicksand:wght@400;600&display=swap');

/* === GÉNÉRAL === */
body {
  font-family: 'Quicksand', sans-serif;
  background-color: #f5f8ff;
  color: #2b2e4a;
}

h1, h2, h3 {
  font-family: 'Cinzel Decorative', cursive;
  color: #1e2d64;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

a {
  color: #6a4dad;
}
a:hover {
  text-decoration: underline;
}

/* === NAVBAR MAGIQUE === */
nav.navbar {
  background: linear-gradient(to right, #4c6ef5, #9f7aea);
  padding: 0.8rem 1.2rem;
  border-bottom: 2px solid #d4c2ff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.navbar-brand {
  font-family: 'Cinzel Decorative', cursive;
  font-size: 1.5rem;
  color: #fff;
}
.navbar-nav .nav-link {
  color: #fff !important;
  margin-right: 1rem;
  transition: 0.3s;
}
.navbar-nav .nav-link:hover {
  text-decoration: underline;
  transform: scale(1.05);
}

/* === BOUTONS === */
.btn-primary {
  background: linear-gradient(to right, #4c6ef5, #9f7aea);
  border: none;
  border-radius: 30px;
  font-weight: bold;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}
.btn-primary:hover {
  background: linear-gradient(to right, #9f7aea, #4c6ef5);
  transform: scale(1.05);
}

.btn-secondary {
  background-color: #ccc;
  border: none;
  border-radius: 20px;
  color: #333;
}

/* === FORMULAIRES === */
input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
select,
textarea {
  border: 2px solid #d4c2ff;
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  width: 100%;
  font-size: 1rem;
  background-color: #fff;
  transition: 0.3s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #9f7aea;
  box-shadow: 0 0 8px rgba(159, 122, 234, 0.4);
  outline: none;
}

/* === ALERTES === */
.alert {
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 1rem;
}
.alert-info {
  background-color: #e5e9ff;
  color: #2b2e4a;
}
.alert-success {
  background-color: #d6ffe7;
  color: #205c3b;
}
.alert-warning {
  background-color: #fff6d6;
  color: #7a5c00;
}
.alert-danger {
  background-color: #ffe0e0;
  color: #871c1c;
}

/* === TABLEAU ADMIN === */
.table thead {
  background-color: #dcd3ff;
}
.table-striped tbody tr:nth-child(even) {
  background-color: #f8f5ff;
}

/* === CARTES === */
.card {
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: none;
}
.card-title {
  font-family: 'Cinzel Decorative', cursive;
}

/* === BANNIÈRE IMAGE === */
.banner-container {
  position: relative;
}
.banner-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  color: white;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
  text-align: center;
  max-width: 90%;
  white-space: normal;
}

/* === PIED DE PAGE === */
footer {
  margin-top: 4rem;
  text-align: center;
  font-size: 0.9rem;
  color: #999;
}

.banner-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem;
  max-width: 90%;
}

.banner-logo {
  max-height: 200px;
  width: auto;
  height: auto;
}

.disney-banner {
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  object-position: center;
}

.banner-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem;
  max-width: 90%;
  background: radial-gradient(circle, rgb(255 255 255 / 54%) 0%, rgb(0 0 0 / 0%) 60%, transparent 100%);
  border-radius: 12px;
}
