/* ===== DÉTAIL HÔTEL - DESIGN MODERNE OPTIMISÉ ===== */
/* Utilise les variables CSS globales de w3-theme.css */

/* Container principal */
.carib-hotel-detail {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== EN-TÊTE HÔTEL MODERNISÉ ===== */

.carib-hotel-header {
  background: linear-gradient(135deg, var(--carib-bleu-fonce) 0%, var(--carib-bleu-principal) 100%);
  padding: 30px 25px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.carib-hotel-header::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.carib-hotel-header h1 {
  color: white;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.2);
  position: relative;
  z-index: 2;
  line-height: 1.3;
  padding-right: 120px;
}

.carib-hotel-price {
  color: white;
  font-size: 18px;
  font-weight: 600;
  background: var(--carib-orange);
  padding: 10px 20px;
  border-radius: 25px;
  display: inline-block;
  align-self: flex-start;
  box-shadow: 0 4px 15px rgba(245,158,11,0.3);
  position: relative;
  z-index: 5;
}

.carib-hotel-price i {
  font-size: 16px;
  margin-right: 6px;
}

/* Navigation précédent/suivant */
.carib-hotel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.95);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
  z-index: 10;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.carib-hotel-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.carib-hotel-nav.prev {
  right: 70px;
}

.carib-hotel-nav.next {
  right: 10px;
}

.carib-hotel-nav i {
  font-size: 20px;
  color: var(--carib-bleu-principal);
}

/* ===== BOUTON DEVIS CTA ===== */

.carib-hotel-cta-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  text-align: right;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
}

.carib-hotel-cta {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(245,158,11,0.5);
  transition: all 0.3s ease;
}

.carib-hotel-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(245,158,11,0.6);
  color: white;
  text-decoration: none;
}

/* Mobile */
@media (max-width: 600px) {
  .carib-hotel-cta-container {
    bottom: 10px;
    right: 10px;
  }
  
  .carib-hotel-cta {
    padding: 12px 20px;
    font-size: 14px;
  }
}

/* ===== GALERIE PHOTOS MODERNE ===== */

.carib-gallery-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
  margin: 0;
  padding: 20px;
  background: #f8fafc;
}

.carib-gallery-main {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.carib-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  cursor: pointer;
}

.carib-gallery-main img:hover {
  transform: scale(1.05);
}

.carib-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-height: 500px;
  overflow-y: auto;
  padding-right: 5px;
}

/* Scrollbar personnalisée */
.carib-gallery-thumbs::-webkit-scrollbar {
  width: 6px;
}

.carib-gallery-thumbs::-webkit-scrollbar-track {
  background: #e2e8f0;
  border-radius: 10px;
}

.carib-gallery-thumbs::-webkit-scrollbar-thumb {
  background: var(--carib-bleu-principal);
  border-radius: 10px;
}

.carib-gallery-thumbs::-webkit-scrollbar-thumb:hover {
  background: var(--carib-bleu-fonce);
}

.carib-gallery-thumb {
  position: relative;
  height: 115px;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.carib-gallery-thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.carib-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zoom-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(255,255,255,0.95);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.carib-gallery-thumb:hover .zoom-icon {
  opacity: 1;
}

.zoom-icon i {
  font-size: 13px;
  color: var(--carib-bleu-principal);
}

/* ===== CONTENU PRINCIPAL ===== */

.carib-hotel-content {
  background: white;
  border-radius: 0 0 16px 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  margin-bottom: 20px;
}

.carib-section {
  margin-bottom: 30px;
}

.carib-section:last-child {
  margin-bottom: 0;
}

.carib-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: var(--carib-bleu-fonce);
  margin: 0 0 18px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--carib-orange);
  position: relative;
}

.carib-section-title::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--carib-bleu-principal);
}

.carib-section-title i {
  font-size: 20px;
  color: var(--carib-orange);
}

.carib-description {
  font-size: 15px;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 20px;
}

.carib-description p {
  margin-bottom: 15px;
}

/* ===== LISTES MODERNES AVEC ICÔNES ===== */

.carib-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.carib-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  transition: all 0.3s ease;
  border-left: 4px solid var(--carib-bleu-principal);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.carib-feature-item:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.12);
  border-left-color: var(--carib-orange);
  background: linear-gradient(135deg, white 0%, #f8fafc 100%);
}

.carib-feature-item i {
  font-size: 18px;
  color: var(--carib-bleu-principal);
  min-width: 22px;
  transition: color 0.3s ease;
}

.carib-feature-item:hover i {
  color: var(--carib-orange);
}

.carib-feature-item span {
  color: #1e293b;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

/* ===== SECTIONS RESTAURANTS/LOISIRS ===== */

.carib-info-card {
  background: linear-gradient(135deg, var(--carib-bleu-tres-clair) 0%, white 100%);
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.carib-info-card:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.carib-info-card h5 {
  font-size: 20px;
  color: var(--carib-bleu-fonce);
  margin: 0 0 15px 0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--carib-orange);
}

.carib-info-card h5 i {
  color: var(--carib-orange);
  font-size: 18px;
}

/* ===== RESPONSIVE DESIGN ===== */

@media (max-width: 968px) {
  .carib-gallery-container {
    grid-template-columns: 1fr;
    padding: 15px;
  }
  
  .carib-gallery-main {
    height: 350px;
  }
  
  .carib-gallery-thumbs {
    grid-template-columns: repeat(4, 1fr);
    max-height: none;
  }
  
  .carib-gallery-thumb {
    height: 90px;
  }
  
  .carib-features-grid {
    grid-template-columns: 1fr;
  }
  
  .carib-hotel-header h1 {
    font-size: 26px;
    padding-right: 100px;
  }
  
  .carib-hotel-nav {
    width: 45px;
    height: 45px;
  }
  
  .carib-hotel-nav.prev {
    right: 60px;
  }
  
  .carib-hotel-content {
    padding: 25px 20px;
  }
}

@media (max-width: 600px) {
  .carib-hotel-header {
    padding: 20px 15px;
  }
  
  .carib-hotel-header h1 {
    font-size: 22px;
    padding-right: 90px;
  }
  
  .carib-hotel-price {
    font-size: 16px;
    padding: 8px 16px;
  }
  
  .carib-hotel-nav {
    width: 40px;
    height: 40px;
  }
  
  .carib-hotel-nav i {
    font-size: 16px;
  }
  
  .carib-hotel-nav.prev {
    right: 50px;
  }
  
  .carib-hotel-content {
    padding: 20px 15px;
  }
  
  .carib-section-title {
    font-size: 20px;
  }
  
  .carib-gallery-main {
    height: 250px;
  }
  
  .carib-gallery-thumbs {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .carib-gallery-thumb {
    height: 80px;
  }
  
  .carib-hotel-cta {
    padding: 10px 20px;
    font-size: 14px;
  }
  
  .carib-info-card {
    padding: 20px;
  }
  
  .carib-features-grid {
    gap: 10px;
  }
  
  .carib-feature-item {
    padding: 12px 16px;
  }
}

/* Animation d'apparition des éléments */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carib-section {
  animation: fadeInUp 0.6s ease-out;
}

.carib-feature-item {
  animation: fadeInUp 0.4s ease-out;
}

.carib-feature-item:nth-child(1) { animation-delay: 0.05s; }
.carib-feature-item:nth-child(2) { animation-delay: 0.1s; }
.carib-feature-item:nth-child(3) { animation-delay: 0.15s; }
.carib-feature-item:nth-child(4) { animation-delay: 0.2s; }
.carib-feature-item:nth-child(5) { animation-delay: 0.25s; }
.carib-feature-item:nth-child(6) { animation-delay: 0.3s; }


/* ===== SYSTÈME D'ONGLETS POUR CROISIÈRES ===== */

.carib-tabs-container {
  margin-top: 30px;
}

.carib-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 3px solid #e2e8f0;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.carib-tab-btn {
  background: transparent;
  border: none;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carib-tab-btn:hover {
  color: var(--carib-bleu-principal);
  background: rgba(59,130,246,0.05);
}

.carib-tab-btn.active {
  color: var(--carib-bleu-principal);
  border-bottom-color: var(--carib-orange);
}

.carib-tab-btn i {
  font-size: 14px;
}

.carib-tab-content {
  display: none;
  animation: fadeIn 0.4s ease-in;
}

.carib-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive onglets */
@media (max-width: 768px) {
  .carib-tabs-nav {
    flex-direction: column;
    border-bottom: none;
  }
  
  .carib-tab-btn {
    border-bottom: 1px solid #e2e8f0;
    border-left: 3px solid transparent;
    margin-bottom: 0;
    margin-left: -3px;
    justify-content: flex-start;
  }
  
  .carib-tab-btn.active {
    border-left-color: var(--carib-orange);
    border-bottom-color: #e2e8f0;
    background: rgba(59,130,246,0.05);
  }
}





/* ===== CAROUSEL MODERNE ===== */

.carib-hero-section {
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.carib-carousel-container {
  position: relative;
  width: 100%;
  min-height: 300px;
  max-height: 600px;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
  display: flex;
  align-items: center;
}

.carib-slide {
  display: none;
  width: 100%;
}

.carib-slide:first-child {
  display: block;
}

.carib-slide img {
  width: 100%;
  height: auto;
  max-height: 600px;
  display: block;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 768px) {
  .carib-carousel-container {
    min-height: 200px;
    max-height: 400px;
  }
  
  .carib-slide img {
    max-height: 400px;
  }
}


/* Animation fade moderne */
.carib-slide-fade {
  animation: caribFadeIn 1s ease-in-out;
}

@keyframes caribFadeIn {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

/* Overlay avec gradient */
.carib-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 30px 25px 20px;
}

.carib-slide-content h2 {
  color: white;
  font-size: 26px;
  font-weight: 700;
  text-shadow: 2px 2px 12px rgba(0,0,0,0.6);
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.5px;
}
