/* ==========================================================================
   1. INJECTION DES VARIABLES EXTRAITES DU CLONE
   ========================================================================== */
:root {
  /* Couleurs extraites du logo (IMAGE_1) : Bleu Foncé, Bleu Clair et Vert d'accent */
  --shr-primary: #60a5fa; /* Bleu clair */
  --shr-primary-hover: #172554;
  --shr-secondary: #7fb344; /* Vert frais pour le contraste */
  --shr-accent-light: #1e3a8a; /* Bleu foncé */
  
  --shr-background: #f8fafc;
  --shr-surface: #ffffff;
  --shr-surface-hover: #f1f5f9;

  --shr-font-heading: 'Plus Jakarta Sans', sans-serif;
  --shr-font-body: 'Inter', sans-serif;

  --shr-text-main: #0f172a;
  --shr-text-muted: #64748b;
  --shr-text-on-primary: #ffffff;

  --shr-radius-sm: 8px;
  --shr-radius-md: 12px;
  --shr-radius-lg: 24px;

  --shr-shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1);
  --shr-shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shr-shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.1);

  --shr-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700&family=Inter:wght@400;500&display=swap');

/* ==========================================================================
   2. ADAPTATION DU STYLE AUX CLASSES DE L'APPLICATION
   ========================================================================== */

body {
  font-family: var(--shr-font-body);
  background-color: var(--shr-background);
  color: var(--shr-text-main);
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

/* Surcharge de la Barre de Navigation */
.shr-navbar {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.shr-nav-logo {
  height: 40px;
  width: auto;
}

.shr-nav-link {
  color: var(--shr-text-main);
  text-decoration: none;
  font-weight: 500;
  transition: var(--shr-transition);
  padding: 0.5rem 1rem;
  border-radius: var(--shr-radius-sm);
}

.shr-nav-link:hover {
  background: var(--shr-surface-hover);
  color: var(--shr-primary);
}

.shr-nav-link-active {
  color: var(--shr-primary);
  font-weight: 600;
  border-bottom: 2px solid var(--shr-primary);
}

/* Surcharge de la Section Hero */
.shr-hero {
  padding: 100px 2rem;
  text-align: center;
  background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.1), transparent),
              radial-gradient(circle at bottom left, rgba(30, 58, 138, 0.05), transparent);
}

.shr-hero-title {
  font-family: var(--shr-font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: var(--shr-primary);
}

.shr-hero-subtitle {
  font-size: 1.25rem;
  color: var(--shr-text-muted);
  max-width: 650px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Surcharge des Sélecteurs / Catégories */
.shr-category-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 2rem 0;
}

.shr-category-btn {
  background: var(--shr-surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-weight: 500;
  transition: var(--shr-transition);
  cursor: pointer;
  box-shadow: var(--shr-shadow-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.shr-category-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shr-shadow-md);
  color: var(--shr-primary);
}

.shr-category-btn-active {
  background: var(--shr-primary);
  color: var(--shr-text-on-primary);
  border-color: var(--shr-primary);
}

/* Surcharge des Composants en Grille */
.shr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  padding: 3rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.shr-card {
  background: var(--shr-surface);
  border-radius: var(--shr-radius-lg);
  overflow: hidden;
  transition: var(--shr-transition);
  border: 1px solid rgba(0, 0, 0, 0.03);
  box-shadow: var(--shr-shadow-md);
}

.shr-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shr-shadow-lg);
}

.shr-card-image-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.shr-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.shr-card:hover .shr-card-image {
  transform: scale(1.08);
}

.shr-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--shr-accent-light);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.shr-card-body {
  padding: 1.75rem;
}

.shr-card-title {
  font-family: var(--shr-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--shr-text-main);
}

.shr-card-description {
  color: var(--shr-text-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.shr-card-price {
  font-weight: 700;
  color: var(--shr-primary);
  font-size: 1.25rem;
}

/* ==========================================================================
   3. BOUTONS PRIMAIRES & SECONDAIRES (contrôlé par le template)
   ========================================================================== */

/* Bouton principal (CTA, Réserver, Commander, Voir toutes les chambres, etc.) */
.shr-btn-primary {
  background-color: var(--shr-accent-light) !important;
  color: #ffffff !important;
  padding: 0.9rem 2.25rem;
  border-radius: var(--shr-radius-md);
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: var(--shr-transition);
  box-shadow: 0 4px 14px 0 rgba(30, 58, 138, 0.25);
  text-decoration: none;
  display: inline-block;
}

.shr-btn-primary:hover {
  background-color: var(--shr-primary) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px 0 rgba(30, 58, 138, 0.35);
}

/* Bouton secondaire (Voir Détails, Ajouter au panier, etc.) */
.shr-btn-secondary {
  background-color: var(--shr-accent-light) !important;
  color: #ffffff !important;
  border: 2px solid var(--shr-accent-light) !important;
  padding: 0.9rem 2.25rem;
  border-radius: var(--shr-radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--shr-transition);
  text-decoration: none;
  display: inline-block;
}

.shr-btn-secondary:hover {
  background-color: #ffffff !important;
  color: var(--shr-primary) !important;
  border-color: var(--shr-primary) !important;
}

/* Bouton nav CTA (Réserver une chambre dans le header) */
.shr-nav-cta {
  background-color: var(--shr-accent-light) !important;
  color: #ffffff !important;
  padding: 0.6rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: var(--shr-transition);
  text-decoration: none;
  display: inline-block;
}

.shr-nav-cta:hover {
  background-color: var(--shr-primary) !important;
  color: #ffffff !important;
}

/* ==========================================================================
   4. ICÔNES — INSTALLATIONS & COMMODITÉS (fond bleu foncé, icône blanche)
   ========================================================================== */

/* Icônes des installations de l'hôtel (page accueil) */
.shr-section-alt .w-16.h-16.rounded-full,
.shr-section .w-16.h-16.rounded-full {
  background-color: var(--shr-accent-light) !important;
}

.shr-section-alt .w-16.h-16.rounded-full svg,
.shr-section .w-16.h-16.rounded-full svg {
  color: #ffffff !important;
}

/* Icônes commodités dans les cartes de chambres (hebergement + accueil) */
.shr-card .w-8.h-8.rounded-full,
.shr-card-body .w-8.h-8.rounded-full {
  background-color: var(--shr-accent-light) !important;
  border-color: var(--shr-accent-light) !important;
}

.shr-card .w-8.h-8.rounded-full svg,
.shr-card-body .w-8.h-8.rounded-full svg {
  color: #ffffff !important;
}

/* ==========================================================================
   5. FOOTER — Fond Bleu Foncé & textes blancs
   ========================================================================== */

.shr-footer {
  background-color: var(--shr-accent-light) !important;
  border-top: none !important;
  color: #ffffff !important;
}

.shr-footer,
.shr-footer * {
  color: rgba(255, 255, 255, 0.85);
}

.shr-footer a {
  color: rgba(255, 255, 255, 0.75) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.shr-footer a:hover {
  color: #ffffff !important;
}

.shr-footer h3,
.shr-footer strong,
.shr-footer p.text-white {
  color: #ffffff !important;
}

/* Ligne décorative dorée → bleu clair */
.shr-gold-line {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent) !important;
}
