/* base.css */

/* Reset simple */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corps de page */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

/* Conteneur principal */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

/* Paragraphes */
p {
    margin-bottom: 1rem;
    color: #555;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.btn-primary {
    background-color: #007bff;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
}

.btn-secondary:hover {
    background-color: #565e64;
}

.btn-outline-primary {
    background-color: transparent;
    color: #007bff;
    border: 2px solid #007bff;
}

.btn-outline-primary:hover {
    background-color: #007bff;
    color: white;
}

/* Formulaires */
input[type="text"],
input[type="email"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #007bff;
}

/* Cartes / cards */
.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    margin-bottom: 20px;
}

/* Badge */
.badge {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.bg-primary {
    background-color: #007bff;
}

.bg-success {
    background-color: #28a745;
}

.bg-warning {
    background-color: #ffc107;
    color: #212529;
}

/* Modale */
.modal-content {
    border-radius: 10px;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
}

/* Styles personnalisés spécifiques */
.badge-alaune {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ffcc00;
    color: #333;
    padding: 5px 15px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 0.9rem;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.navbar-brand {
  font-size: 1.8rem;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand .logo-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white; /* optionnel : pour bien détacher le logo */
}

.navbar-brand .logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar-brand:hover .logo-circle {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}
.logo-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  background-color: white;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.navbar-brand:hover .logo-circle {
  transform: scale(1.1) rotate(-3deg);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}
/* HERO Section Styles */
.hero-section {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    text-align: center;
}

/* Overlay foncé semi-transparent */
.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
   
    z-index: 1;
}


.hero-section .hero-content h1 {
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(41, 33, 33, 0.6);
    color: #ffd700; /* Exemple : jaune doré */
}

.hero-section .hero-content p {
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 10px;
    color: #ffffff; /* Texte blanc ou autre couleur */
}

.hero-section .hero-content p strong {
    color: #ffcc00; /* Met en valeur le mot "tout en un seul endroit" */
}

