/* Hôtel Xtase - CSS Principal */

/* Variables CSS */
:root {
  --color-gold: #ffd700;
  --color-gold-dark: #daa520;
  --color-black: #0a0a0a;
  --color-dark-gray: #1a1a1a;
  --color-medium-gray: #2a2a2a;
  --color-light-gray: #f5f5f5;
  --color-white: #ffffff;
  
  --gradient-gold: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
  --gradient-dark: linear-gradient(145deg, #1a1a1a, #0f0f0f);
  --gradient-bg: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
  
  --shadow-gold: 0 4px 20px rgba(255, 215, 0, 0.3);
  --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.8);
  
  --border-gold: 1px solid rgba(255, 215, 0, 0.3);
  --border-light: 1px solid rgba(255, 255, 255, 0.1);
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }

.shadow-lg { box-shadow: var(--shadow-dark); }
.shadow-gold { box-shadow: var(--shadow-gold); }

.border-gold { border: var(--border-gold); }
.border-light { border: var(--border-light); }

.bg-dark { background: var(--color-dark-gray); }
.bg-metallic { background: var(--gradient-dark); }

.text-gold { color: var(--color-gold); }
.text-white { color: var(--color-white); }
.text-gray { color: #cccccc; }

.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-medium { font-weight: 500; }

.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.grid { display: grid; }
.flex { display: flex; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }

.justify-center { justify-content: center; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.cursor-pointer { cursor: pointer; }
.transition-all { transition: all 0.3s ease; }

/* Layout */
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-5 { grid-template-columns: repeat(5, 1fr); }

.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-gold);
  color: var(--color-black);
}

.btn-primary:hover {
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-gold);
  border: var(--border-gold);
}

.btn-secondary:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

.btn-dark {
  background: var(--gradient-dark);
  color: var(--color-white);
  border: var(--border-light);
}

.btn-dark:hover {
  border-color: var(--color-gold);
}

/* Form Elements */
.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-gold);
  font-weight: 500;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.375rem;
  color: var(--color-white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-input::placeholder {
  color: #888;
}

/* Cards */
.card {
  background: var(--gradient-dark);
  border: var(--border-light);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
  transform: translateY(-5px);
}

.card.selected {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.card-header {
  padding: 1.5rem;
  border-bottom: var(--border-light);
}

.card-body {
  padding: 1.5rem;
}

.card-footer {
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: var(--border-light);
}

/* Room Cards */
.room-card {
  position: relative;
  overflow: hidden;
}

.room-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0;
}

.room-sense-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  background: var(--gradient-gold);
  color: var(--color-black);
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: var(--gradient-dark);
  border: var(--border-gold);
  border-radius: 1rem;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-gold);
}

.modal-close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

.modal-body {
  padding: 1.5rem;
}

/* Loading States */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 50%;
  border-top-color: var(--color-gold);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .grid-cols-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-cols-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .container {
    padding: 0 0.5rem;
  }
  
  .modal-content {
    margin: 1rem;
    width: calc(100% - 2rem);
  }
}

@media (max-width: 480px) {
  .grid-cols-5 {
    grid-template-columns: 1fr;
  }
  
  .text-4xl {
    font-size: 1.875rem;
  }
  
  .text-3xl {
    font-size: 1.5rem;
  }
}