@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

/* === SECTION CONTAINER === */
.flip-tours-section {
  padding: 60px 0;
  background-color: #3f7652;
}

/* === FLIP CARD SIMPLE === */
.flip-card-simple {
  background-color: transparent;
  width: 100%;
  max-width: 368px;
  height: 420px;
  perspective: 1000px;
  margin: 0 auto;
}

.flip-card-simple-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card-simple:hover .flip-card-simple-inner {
  transform: rotateY(180deg);
}

/* === FRONT & BACK === */
.flip-card-simple-front,
.flip-card-simple-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* === FRONT (Solo Imagen) === */
.flip-card-simple-front {
  background-color: #fff;
}

.flip-card-simple-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flip-card-simple-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 30px 20px;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.flip-card-simple:hover .flip-card-simple-overlay {
  transform: translateY(100%);
}

.flip-card-simple-overlay h3 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* === BACK (Información) === */
.flip-card-simple-back {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transform: rotateY(180deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.flip-pricing-content {
  position: relative;
  z-index: 10;
  color: #fff;
  padding: 40px 20px;
}

.flip-pricing-content h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
}

.flip-pricing-content h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 48px;
  font-weight: 600;
  margin: 15px 0;
  line-height: 1;
}

.flip-pricing-content h2 sup {
  font-size: 24px;
  font-weight: 500;
  vertical-align: super;
}

.flip-duration {
  font-size: 18px;
  font-weight: 400;
}

.flip-pricing-content p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0;
}

.flip-pricing-content i {
  font-size: 22px;
  margin-bottom: 5px;
}

.flip-btn {
  display: inline-block;
  padding: 12px 30px;
  margin-top: 20px;
  background-color: #ffff00;
  color: #000 !important;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.flip-btn:hover {
  background-color: #000;
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

/* === DECORACIONES === */
.flip-decoration {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.flip-deco-1 {
  width: 150px;
  height: 150px;
  top: -50px;
  right: -50px;
  animation: flip-float 6s ease-in-out infinite;
}

.flip-deco-2 {
  width: 100px;
  height: 100px;
  bottom: -30px;
  left: -30px;
  animation: flip-float 8s ease-in-out infinite reverse;
}

.flip-deco-3 {
  width: 80px;
  height: 80px;
  top: 50%;
  left: -40px;
  animation: flip-float 7s ease-in-out infinite;
}

@keyframes flip-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* === COLORES ESPECÍFICOS POR CARD === */

/* Card 1 - Horseback (Tierra/Verde) */
.col-lg-4:nth-child(1) .flip-card-simple-back {
  background: linear-gradient(135deg, #6b8e23 0%, #556b2f 100%);
}

.col-lg-4:nth-child(1) .flip-btn {
  color: #6b8e23;
}

.col-lg-4:nth-child(1) .flip-btn:hover {
  color: #556b2f;
}

/* Card 2 - Birdwatching (Azul/Cielo) */
.col-lg-4:nth-child(2) .flip-card-simple-back {
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 100%);
}

.col-lg-4:nth-child(2) .flip-btn {
  color: #1e90ff;
}

.col-lg-4:nth-child(2) .flip-btn:hover {
  color: #4169e1;
}

/* Card 3 - Crocodile (Verde/Agua) */
.col-lg-4:nth-child(3) .flip-card-simple-back {
  background: linear-gradient(135deg, #2e8b57 0%, #3cb371 100%);
}

.col-lg-4:nth-child(3) .flip-btn {
  color: #2e8b57;
}

.col-lg-4:nth-child(3) .flip-btn:hover {
  color: #3cb371;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .flip-card-simple {
    max-width: 100%;
    height: 400px;
    margin-bottom: 30px;
  }
  
  .flip-pricing-content h2 {
    font-size: 42px;
  }
  
  .flip-pricing-content h4 {
    font-size: 20px;
  }
}

@media (max-width: 767px) {
  .flip-card-simple {
    height: 380px;
  }
  
  .flip-pricing-content {
    padding: 30px 15px;
  }
  
  .flip-pricing-content h2 {
    font-size: 38px;
  }
  
  .flip-pricing-content h4 {
    font-size: 18px;
  }
  
  .flip-btn {
    padding: 10px 25px;
    font-size: 13px;
  }
}
