/* ======================================================
   STYLE GLOBAL – PROTOTYPE HÔTELIER
   Ambiance : chaleureuse, touristique, élégante
   ====================================================== */

/* -------- VARIABLES DE COULEURS -------- */
:root {
  --primary: #f4a261; /* orange chaleureux */
  --secondary: #264653; /* bleu profond */
  --dark: #1d3557;
  --light: #f8f9fa;
  --text: #333333;
}

/* -------- RESET & BASE -------- */
body {
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  color: var(--text);
  line-height: 1.7;
  background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5 {
  color: var(--secondary);
}

p {
  margin-bottom: 0.8rem;
}

/* -------- NAVBAR -------- */
.navbar {
  transition: background-color 0.3s ease;
}

.navbar-brand {
  font-size: 1.3rem;
  letter-spacing: 0.5px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0 0.4rem;
}

.nav-link:hover {
  color: var(--primary) !important;
}

/* -------- BOUTONS -------- */
.btn-warning {
  background-color: var(--primary);
  border: none;
  color: #ffffff;
}

.btn-warning:hover {
  background-color: #e76f51;
}

.btn-outline-warning {
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline-warning:hover {
  background-color: var(--primary);
  color: #ffffff;
}

/* -------- HERO -------- */
.hero {
  height: 100vh;
  background: url("../../assets/img/hotel/vije-vijendranath-GvcIU5xs7mQ-unsplash.jpg")
    center/cover no-repeat;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1,
.hero p {
  color: #ffffff;
}

.hero p {
  max-width: 700px;
  margin: 0 auto;
}

/* -------- SECTIONS -------- */
section {
  position: relative;
}

section h2 {
  margin-bottom: 1rem;
}

.bg-light {
  background-color: #fafafa !important;
}

/* -------- CARTES -------- */
.card {
  border: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.card-title {
  color: var(--secondary);
}

/* -------- IMAGES -------- */
img {
  object-fit: cover;
}

/* -------- OFFRES -------- */
.offre-box {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.offre-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

/* -------- FORMULAIRES -------- */
.form-control,
.form-select {
  border-radius: 0.4rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.15rem rgba(244, 162, 97, 0.25);
}

/* -------- MODAL -------- */
.modal-content {
  border-radius: 0.7rem;
}

.modal-title {
  color: var(--secondary);
}

/* -------- FOOTER -------- */
footer {
  font-size: 0.9rem;
  background-color: var(--secondary);
}

footer p {
  color: rgba(255, 255, 255, 0.85);
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
  .hero {
    height: 85vh;
  }

  h1 {
    font-size: 2rem;
  }
}
.carousel-inner img {
  height: 420px;
  object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: brightness(0) invert(1);
}

.hero-contact {
  height: 50vh;
  background: url("../images/hero/contact.jpg") center/cover no-repeat;
  position: relative;
}

.contact-info p {
  font-size: 1.05rem;
}

.map-container iframe {
  width: 100%;
  border-radius: 1rem;
}
.btn-whatsapp {
  background-color: #25d366;
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.hero-rooms {
  height: 55vh;
  background: url("../images/hero/rooms.jpg") center/cover no-repeat;
}

.room-card img {
  height: 220px;
  object-fit: cover;
}

.room-features {
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.room-features li {
  margin-bottom: 0.4rem;
}

.room-price {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.border-highlight {
  border: 2px solid var(--primary-color);
}

.carousel-inner img {
  height: 480px;
  object-fit: cover;
}
.gallery-item {
  width: 100%;
  aspect-ratio: 1 / 1; /* largeur = hauteur */
  overflow: hidden;
  border-radius: 1rem;
  background-color: #f3f4f6; /* fallback élégant */
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* pas de déformation */
  display: block;
}
.services-hero {
  background: url("images/hero-services.jpg") center/cover no-repeat;
  height: 60vh;
  position: relative;
}

.services-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.services-hero .container {
  position: relative;
  z-index: 2;
}

.service-card img {
  height: 220px;
  object-fit: cover;
}

.service-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-box {
  padding: 20px;
}

.highlight-service {
  background: #1e293b;
}
.accordion-button {
  font-weight: 600;
}

.accordion-button:not(.collapsed) {
  background-color: #1e293b;
  color: white;
}

.accordion-button:focus {
  box-shadow: none;
}
.offers-hero {
  background: url("images/hero-offres.jpg") center/cover no-repeat;
  height: 60vh;
  position: relative;
}

.offers-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.offers-hero .container {
  position: relative;
  z-index: 2;
}

.offer-card img {
  height: 220px;
  object-fit: cover;
}

.offer-card {
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.offer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.offer-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: crimson;
  color: white;
  padding: 5px 12px;
  font-size: 0.8rem;
  border-radius: 20px;
  font-weight: 600;
}

.offer-benefits {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  font-size: 0.9rem;
  color: #555;
}

.offer-benefits li {
  margin-bottom: 5px;
}

.offer-validity {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 15px;
}
