/* Styles pour la page de réservation de Retraites Couples */

/* Variables globales */
:root {
  --lotus-pond: #576049;
  --summer-twilight: #7A4547;
  --bark: #56382E;
  --alabaster: #F7F1DF;
  --soft-lichen: #A9B8A0;
  --lavender-mist: #D1C0BC;
}

/* Reset et styles de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Barlow', sans-serif;
  color: var(--bark);
  background-color: var(--alabaster);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* En-tête */
.site-header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo a {
  font-family: 'Playfair Display', serif;
  color: var(--lotus-pond);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
  display: block;
}

.tagline {
  font-family: 'Dancing Script', cursive;
  color: var(--summer-twilight);
  font-size: 16px;
  margin-top: 2px;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav ul {
  display: flex;
  list-style: none;
}

.main-nav ul li {
  margin-left: 20px;
}

.main-nav ul li a {
  color: var(--bark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.main-nav ul li a:hover {
  color: var(--lotus-pond);
}

.auth-link {
  color: var(--summer-twilight) !important;
}

.menu-toggle {
  display: none;
  font-size: 20px;
  cursor: pointer;
}

/* En-tête de réservation */
.reservation-header {
  background-color: var(--lotus-pond);
  padding: 60px 0;
  text-align: center;
  color: white;
}

.reservation-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  margin-bottom: 10px;
  color: white;
}

.reservation-header .subtitle {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  opacity: 0.9;
}

/* Formulaire de réservation */
.reservation-form {
  padding: 60px 0;
}

.form-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.form-header {
  padding: 20px;
  background-color: var(--soft-lichen);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.selected-retreat h2 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 5px;
  color: var(--bark);
}

.selected-retreat p {
  font-size: 16px;
  color: var(--summer-twilight);
}

/* Étapes de la réservation */
.reservation-steps {
  display: flex;
  justify-content: space-between;
  padding: 20px;
  background-color: #f9f9f9;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  right: -50%;
  width: 100%;
  height: 2px;
  background-color: #ddd;
  z-index: 0;
}

.step.active:not(:last-child)::after {
  background-color: var(--soft-lichen);
}

.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.step.active .step-number {
  background-color: var(--lotus-pond);
  color: white;
}

.step-title {
  font-size: 14px;
  font-weight: 500;
}

.step.active .step-title {
  color: var(--lotus-pond);
  font-weight: 600;
}

/* Contenu des étapes */
.step-content {
  padding: 30px;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

.step-panel h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--bark);
}

/* Options de retraite */
.retreat-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.retreat-option {
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.retreat-option:hover {
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.retreat-option.selected {
  border-color: var(--lotus-pond);
  box-shadow: 0 8px 15px rgba(87, 96, 73, 0.2);
}

.retreat-image {
  height: 150px;
  overflow: hidden;
}

.retreat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.retreat-info {
  padding: 15px;
}

.retreat-info h4 {
  font-family: 'Playfair Display', serif;
  margin-bottom: 8px;
  color: var(--bark);
}

.retreat-info p {
  font-size: 14px;
  margin-bottom: 10px;
}

.retreat-price {
  font-weight: 600;
  color: var(--summer-twilight);
}

.retreat-price span {
  font-size: 18px;
}

/* Formulaires */
.form-group {
  margin-bottom: 20px;
}

.form-info {
  background-color: rgba(169, 184, 160, 0.15);
  border-left: 3px solid var(--soft-lichen);
  padding: 12px 15px;
  border-radius: 0 4px 4px 0;
  font-size: 15px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  color: var(--bark);
}

.form-info i {
  color: var(--lotus-pond);
  margin-right: 10px;
  font-size: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--soft-lichen);
  box-shadow: 0 0 0 2px rgba(169, 184, 160, 0.2);
}

/* Boutons */
.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.btn {
  padding: 12px 30px;
  border-radius: 4px;
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  text-align: center;
  border: none;
  display: inline-block;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary,
.next-step {
  background-color: var(--lotus-pond);
  color: white;
}

.btn-primary:hover,
.next-step:hover {
  background-color: #465239;
  box-shadow: 0 4px 10px rgba(87, 96, 73, 0.3);
}

.btn-outline,
.prev-step {
  background-color: transparent;
  border: 1px solid #ddd;
  color: var(--bark);
}

.btn-outline:hover,
.prev-step:hover {
  border-color: var(--lotus-pond);
  color: var(--lotus-pond);
}

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Récapitulatif */
.reservation-summary {
  background-color: rgba(241, 237, 227, 0.5);
  border: 1px solid var(--soft-lichen);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
}

.summary-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(169, 184, 160, 0.3);
}

.summary-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.summary-label {
  flex: 0 0 35%;
  font-weight: 600;
  color: var(--bark);
  font-size: 16px;
  display: flex;
  align-items: center;
}

.summary-label i {
  color: var(--lotus-pond);
  margin-right: 10px;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

.summary-value {
  flex: 1;
  color: var(--bark);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
}

.summary-price {
  margin-top: 5px;
  background-color: rgba(87, 96, 73, 0.07);
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 25px;
}

.summary-price .summary-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--summer-twilight);
}

.fixed-value {
  display: flex;
  align-items: center;
  background-color: var(--alabaster);
  border: 1px solid rgba(87, 96, 73, 0.2);
  border-radius: 4px;
  padding: 12px 15px;
  font-size: 16px;
  color: var(--bark);
  min-height: 48px;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.fixed-value i {
  color: var(--lotus-pond);
  margin-right: 12px;
  font-size: 18px;
  opacity: 0.85;
}

.fixed-value span {
  font-weight: 500;
  font-family: 'Barlow', sans-serif;
}

/* Section de paiement */
.payment-section {
  margin-top: 30px;
  background-color: white;
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(87, 96, 73, 0.15);
}

.payment-section h4 {
  font-family: 'Playfair Display', serif;
  color: var(--summer-twilight);
  font-size: 1.3rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.payment-section h4 i {
  color: var(--lotus-pond);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.payment-method {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.payment-method input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.payment-method label {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 15px;
  background-color: rgba(247, 241, 223, 0.5);
  border: 2px solid rgba(169, 184, 160, 0.3);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-method input[type="radio"]:checked + label {
  border-color: var(--lotus-pond);
  background-color: rgba(169, 184, 160, 0.1);
  box-shadow: 0 3px 8px rgba(87, 96, 73, 0.1);
}

.payment-logo {
  display: flex;
  gap: 5px;
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.payment-logo .fab.fa-cc-visa {
  color: #0157A2;
}

.payment-logo .fab.fa-cc-mastercard {
  color: #EB2230;
}

.payment-logo .fab.fa-cc-amex {
  color: #016FD0;
}

.payment-logo .fab.fa-paypal {
  color: #0079C1;
  font-size: 2.2rem;
}

.payment-method label span {
  font-family: 'Barlow', sans-serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--bark);
  margin-bottom: 5px;
}

.payment-description {
  font-size: 0.9rem;
  color: rgba(86, 56, 46, 0.7);
  text-align: center;
}

.payment-notice {
  background-color: rgba(169, 184, 160, 0.1);
  border-left: 4px solid var(--soft-lichen);
  padding: 15px;
  border-radius: 0 8px 8px 0;
  margin-top: 20px;
}

.payment-notice p {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.payment-notice p:last-child {
  margin-bottom: 0;
}

.payment-notice i {
  color: var(--lotus-pond);
}

#proceed-payment {
  background-color: var(--summer-twilight);
  border-color: var(--summer-twilight);
  padding: 12px 25px;
  font-weight: 500;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 0.3s ease;
}

#proceed-payment:hover {
  background-color: #8a4f51;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(122, 69, 71, 0.2);
}

#proceed-payment:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  z-index: -1;
}

/* Responsive pour la section de paiement */
@media (max-width: 768px) {
  .payment-methods {
    flex-direction: column;
  }
  
  .payment-method {
    width: 100%;
  }
}

/* Pied de page */
footer {
  background-color: var(--bark);
  color: white;
  padding: 50px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-logo h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 5px;
}

.footer-logo p {
  font-family: 'Dancing Script', cursive;
  font-size: 16px;
  opacity: 0.8;
}

.footer-links h4,
.footer-contact h4 {
  margin-bottom: 15px;
  font-size: 18px;
}

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

.footer-links ul li {
  margin-bottom: 10px;
}

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

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

.footer-contact p {
  margin-bottom: 8px;
}

.footer-contact i {
  margin-right: 10px;
  opacity: 0.8;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  color: white;
  font-size: 18px;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.social-icons a:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.7;
}

/* Media queries pour la responsivité */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .reservation-header h1 {
    font-size: 28px;
  }
  
  .reservation-header .subtitle {
    font-size: 18px;
  }
  
  .step-title {
    display: none;
  }
  
  .form-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .form-actions button {
    width: 100%;
  }
  
  .summary-item {
    flex-direction: column;
    margin-bottom: 15px;
  }
  
  .summary-label {
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  .retreat-options {
    grid-template-columns: 1fr;
  }
  
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  .form-container {
    margin: 0 10px;
  }
  
  .step-panel {
    padding: 20px 15px;
  }
}

/* Boutons simplifiés */
.btn-simple {
  background: none;
  border: 1px solid var(--lotus-pond);
  color: var(--lotus-pond);
  border-radius: 4px;
  padding: 8px 15px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-simple:hover {
  background-color: rgba(87, 96, 73, 0.05);
}

.btn-primary {
  background: linear-gradient(135deg, var(--lotus-pond), var(--soft-lichen));
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.btn-danger {
  background: linear-gradient(135deg, var(--summer-twilight), #945557);
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 15px;
  font-family: 'Barlow', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.btn-danger:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

/* Messages de notification */
.message-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  max-width: 350px;
}

.message {
  padding: 15px 20px;
  border-radius: 4px;
  margin-bottom: 10px;
  animation: slideInRight 0.3s ease, fadeOut 0.5s ease 5s forwards;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  font-family: 'Barlow', sans-serif;
}

.message.success {
  background-color: #EBF7EB;
  border-left: 4px solid #4CAF50;
  color: #2E7D32;
}

.message.error {
  background-color: #FDEDEB;
  border-left: 4px solid #EF5350;
  color: #C62828;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
