:root {
  --primary-color: #FF6B6B;
  --secondary-color: #4ECDC4;
  --dark-color: #2C3E50;
  --light-color: #ECF0F1;
  --font-main: 'Poppins', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

* {
  font-family: var(--font-main);
}

body {
  background-color: #f8f9fa;
  color: var(--dark-color);
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.navbar-brand {
  color: var(--primary-color) !important;
  font-size: 1.5rem;
  font-weight: 700;
}

.nav-link {
  color: var(--dark-color) !important;
  font-weight: 500;
  margin: 0 8px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}
.texto-sombra {
  color: white;
  text-shadow: 2px 2px 5px black;
}
/* btn WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;   /* distancia desde abajo */
  right: 20px;    /* distancia desde la derecha */
  background-color: #25D366;
  color: white;
  font-size: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 1000;
}

.whatsapp-float:hover {
  background-color: #1ebe5d;
}
/* bgImage Section */
.bg-sectionImg {
  background-image: url('/img/autobus.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.bg-sectionImg2 {
  background-image: url('/img/bosque1Banner.webp');
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
}
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* oscurece */
}
/* Hero Section */
.hero {
  position: relative;
  color: white;
  padding: 100px 0;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.parallax-hero {
  position: relative;
  color: white;
  padding: 100px 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.parallax-hero .container {
  position: relative;
  z-index: 2;
}

.parallax-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140%;

  object-fit: cover;
  z-index: 1;
  will-change: transform;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #ff5252;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  border: none;
}

.btn-secondary:hover {
  background-color: #3dbbb5;
}

/* Cards */
.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

/* Search Box */
.search-box {
  /*background: white;*/
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.search-box input,
.search-box select {
  border-radius: 8px;
  border: 1px solid #ddd;
  padding: 12px 15px;
  font-size: 0.95rem;
}

.search-box input:focus,
.search-box select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

/* Rating */
.rating {
  color: #ffc107;
  font-weight: 600;
}

/* Destination Card */
.destination-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.destination-card img {
  transition: transform 0.3s ease;
}

.destination-card:hover img {
  transform: scale(1.05);
}

.destination-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px;
  color: white;
  padding-top: 60px;
}

/* Feature Box */
.feature-box {
  text-align: center;
  padding: 30px 20px;
  border-radius: 10px;
  background: white;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.feature-box h5 {
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-box p {
  color: #666;
  font-size: 0.95rem;
}

/* Section */
section {
  padding: 60px 0;
}

section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

/* Scroll Animations */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-image {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-image.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Feature Images */
.feature-img {
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  border-radius: 50%;
  object-fit: cover;
}

/* Service Images */
.service-img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  border-radius: 10px;
  object-fit: cover;
}

/* Testimonial Images */
.testimonial-img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  border-radius: 50%;
  object-fit: cover;
}

/* Footer */
footer {
  background-color: var(--dark-color);
  margin-top: 80px;
}

footer a {
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color) !important;
}

/* Filters */
.filter-section {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 30px;
}

.filter-section label {
  font-weight: 600;
  margin-bottom: 8px;
}

/* Badge */
.badge-pet {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.badge-pet.perros {
  background-color: rgba(255, 107, 107, 0.2);
  color: var(--primary-color);
}

.badge-pet.gatos {
  background-color: rgba(78, 205, 196, 0.2);
  color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  section h2 {
    font-size: 1.8rem;
  }
}

/* Loading Animation */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #ff5252;
}