/* Palette de couleurs inspirée de Destinaslow */
:root {
  /* Couleurs principales */
  --color-primary: #92B5A8; /* Vert sauge */
  --color-secondary: #C46A3B;
  
  /* Couleurs d'arrière-plan */
  --color-bg-warm: #F2E6D9;
  --color-bg-white: #FFFFFF;
  
  /* Couleurs de texte */
  --color-text-primary: #22292E;
  --color-text-secondary: #5A6066;
  
  /* Couleurs d'accent */
  --color-accent-coral: #E27D6A;
  --color-accent-green: #8AA08B;
  --color-accent-gold: #E0B15B;
  
  /* Espacement */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  
  /* Bordures arrondies */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  
  /* Ombres */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: 'Alice', serif;
  color: var(--color-text-primary);
  background-color: var(--color-bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typographie */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Brittany Signature', cursive;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: 2.5rem;
  color: var(--color-primary);
}

h2 {
  font-size: 2rem;
  color: var(--color-primary);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--color-text-secondary);
}

/* Menu latéral */
.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-green) 100%);
  transition: left 0.3s ease;
  z-index: 1000;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.sidebar.open {
  left: 0;
}

.sidebar-content {
  padding: var(--spacing-lg) var(--spacing-md);
}

.sidebar-logo {
  color: white;
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: var(--spacing-sm);
}

.sidebar-nav a {
  color: white;
  text-decoration: none;
  display: block;
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.sidebar-nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  padding-left: var(--spacing-md);
}

.sidebar-nav a.active {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

/* Bouton menu hamburger */
.menu-toggle {
  position: fixed;
  top: var(--spacing-md);
  left: var(--spacing-md);
  width: 50px;
  height: 50px;
  background-color: var(--color-primary);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.menu-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: white;
  position: relative;
  transition: all 0.3s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: white;
  transition: all 0.3s ease;
}

.menu-toggle span::before {
  top: -8px;
}

.menu-toggle span::after {
  bottom: -8px;
}

.menu-toggle.active span {
  background-color: transparent;
}

.menu-toggle.active span::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.active span::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 998;
  display: none;
}

.sidebar-overlay.active {
  display: block;
}

/* Container principal */
.main-container {
  margin-left: 0;
  transition: margin-left 0.3s ease;
  min-height: 100vh;
}

/* Section Hero */
.hero {
  background-image: url('/static/images/hero-background.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  padding: 4rem 2rem;
  text-align: center;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Overlay sombre pour lisibilité */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

/* Texte au-dessus de l'overlay */
.hero * {
  position: relative;
  z-index: 2;
  color: white !important;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
  color: white !important;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: white !important;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 1.2s ease;
}

/* Sections */
.section {
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-warm {
  background-color: var(--color-bg-warm);
}

/* Grille des formules */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }
}


.package-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  cursor: pointer;
}

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

.package-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.package-content {
  padding: var(--spacing-md);
}

.package-name {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: var(--spacing-xs);
}

.package-duration {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: var(--spacing-sm);
}

.package-description {
  margin-bottom: var(--spacing-md);
}

.package-price {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--color-bg-warm);
}

.price-amount {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-secondary);
}

/* Boutons */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background-color: #7a9b8e;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: #a85830;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: white;
}

/* Section À propos */
.about-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.about-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.about-content {
  padding: var(--spacing-md);
}

/* Footer */
.footer {
  background-color: var(--color-primary);
  color: white;
  padding: var(--spacing-lg) var(--spacing-md);
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.footer-section h3 {
  color: white;
  margin-bottom: var(--spacing-sm);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
}

.social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--spacing-md);
  color: rgba(255, 255, 255, 0.7);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .about-section {
    grid-template-columns: 1fr;
  }
  
  .packages-grid {
    grid-template-columns: 1fr;
  }
}




/* ============================================
   CHATBOT WIDGET
   ============================================ */

/* Bouton flottant du chatbot */
.chat-widget-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-green) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  z-index: 1000;
  animation: chatPulse 2s infinite;
}

.chat-widget-button:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(146, 181, 168, 0.4);
}

@keyframes chatPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(146, 181, 168, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(146, 181, 168, 0);
  }
}

/* Fenêtre du chatbot */
.chat-widget-window {
  position: fixed;
  bottom: 8rem;
  right: 2rem;
  width: 400px;
  height: 550px;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 1001;
  transition: all 0.3s ease;
  transform: translateY(0);
  opacity: 1;
}

.chat-widget-hidden {
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
}

/* Header du chat */
.chat-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-green) 100%);
  color: white;
  padding: 1.2rem;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: white;
  font-family: 'Montserrat', sans-serif;
}

.chat-status {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Montserrat', sans-serif;
}

.chat-close {
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.chat-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Messages */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: #fafafa;
}

.chat-message {
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-md);
  max-width: 85%;
  word-wrap: break-word;
  line-height: 1.5;
  font-size: 0.95rem;
}

.chat-message p {
  margin: 0;
  white-space: pre-wrap;
  font-family: 'Alice', serif;
}

.chat-message-bot {
  background: linear-gradient(135deg, rgba(146, 181, 168, 0.15) 0%, rgba(138, 160, 139, 0.15) 100%);
  align-self: flex-start;
  color: var(--color-text-primary);
  border-left: 3px solid var(--color-primary);
}

.chat-message-user {
  background-color: #e8e8e8;
  align-self: flex-end;
  color: var(--color-text-primary);
  margin-left: auto;
}

/* Input zone */
.chat-input-container {
  padding: 1rem;
  border-top: 1px solid #e0e0e0;
  background-color: white;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.chat-input-wrapper {
  display: flex;
  gap: 0.5rem;
}

.chat-input {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 2px solid var(--color-bg-warm);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: 'Alice', serif;
  transition: border-color 0.3s ease;
}

.chat-input:focus {
  outline: none;
  border-color: var(--color-primary);
}

.chat-send-btn {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-green) 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-send-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive chatbot */
@media (max-width: 768px) {
  .chat-widget-window {
    width: calc(100vw - 2rem);
    right: 1rem;
    left: 1rem;
    height: 500px;
  }
  
  .chat-widget-button {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }
}




/* ============================================
   PAGE DESTINATIONS
   ============================================ */

.destinations-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.destination-continent {
  background: white;
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}

.destination-continent:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.continent-title {
  color: var(--color-primary);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-bg-warm);
}

.countries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.country-tag {
  background: linear-gradient(135deg, var(--color-bg-warm) 0%, #f5ede3 100%);
  color: var(--color-text-primary);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: 'Alice', serif;
  transition: all 0.3s ease;
  border: 1px solid var(--color-primary);
}

.country-tag:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-green) 100%);
  color: white;
  transform: scale(1.05);
  cursor: pointer;
}

/* Responsive destinations */
@media (max-width: 768px) {
  .destinations-grid {
    gap: 1.5rem;
  }
  
  .destination-continent {
    padding: 1.5rem;
  }
  
  .continent-title {
    font-size: 1.5rem;
  }
  
  .country-tag {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
  }
}

