/* Variables CSS */
:root {
    --primary-color: #0A2E6B;
    --secondary-color: #2ecc71;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
}

/* Styles de base */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
.custom-container {
  border-radius: 0 50px 0 50px; /* haut-droit et bas-gauche arrondis */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  background: white;
  margin: 2rem auto;
  max-width: 1200px;
}
/* contenaire special*/
.custom-container .row {
  min-height: 400px; /* Ajustez selon vos besoins */
}

.custom-container img {
  object-fit: cover;
  width: 100%;
}

.newsletter-form .btn {
  border-radius: 0 5px 5px 0;
}

.newsletter-form .form-control {
  border-radius: 5px 0 0 5px;
}

@media (max-width: 768px) {
  .custom-container {
    border-radius: 0 30px 0 30px;
  }
  
  .custom-container .col-md-6 {
    padding: 2rem !important;
  }
  
  .custom-container img {
    height: 300px;
  }
}
.destination-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.price-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #d52b1e;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

.btn-explora {
    background-color: #0039a6;
    color: white;
    border-radius: 4px;
    padding: 8px 20px;
    transition: all 0.3s;
}

.btn-explora:hover {
    background-color: #002366;
    color: white;
}
/* Section Hero */
.hero-section {
   background-color: var(--light-color) !important;
}

/* Cartes de destination */
.destination-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    margin-bottom: 20px;
    border: none;
}

.destination-card:hover {
    transform: translateY(-10px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.price-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}
/* icone russie */
.hover-effect:hover {
    transform: translateY(-5px);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.icon-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.russia-icon {
    max-height: 100%;
    width: auto;
    transition: transform 0.3s ease;
}

.hover-effect:hover .russia-icon {
    transform: scale(1.1);
}
/* Témoignages */
.testimonial {
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    height: 100%;
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Section Pourquoi nous choisir */
.bg-light {
    background-color: var(--light-color) !important;
}

/* Newsletter */
.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Utilitaires */
.text-primary {
    color: var(--primary-color) !important;
}

.text-warning {
    color: #ffc107 !important;
}
/* Animation pour les éléments au défilement */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Modale d'image */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    max-height: 80vh;
    max-width: 100%;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.modal-title {
    color: white;
    text-align: center;
    margin-top: 15px;
}

/* Chargement paresseux */
img.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

img.lazy.loaded {
    opacity: 1;
}

/* Validation des formulaires */
.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
