/* ================================
   AB OVO - Estilos Personalizados
   ================================ */

:root {
  /* Paleta Dual: Azul Vibrante + Verde Natural */
  --azul-primary: #0ea5e9;
  --azul-dark: #0284c7;
  --azul-light: #38bdf8;
  
  --verde-primary: #10b981;
  --verde-dark: #059669;
  --verde-light: #34d399;
  
  /* Colores principales (distribuidos equitativamente) */
  --primary-color: #0ea5e9;
  --secondary-color: #10b981;
  --accent-color: #10b981;
  
  --dark-bg: #1a1a2e;
  --light-bg: #f8f9fa;
  --text-dark: #2d3436;
  --text-light: #636e72;
}

/* Tipografía Personalizada */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
}

.sitename {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header Personalizado */
#header {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#header.scrolled {
  background: rgba(26, 26, 46, 0.98);
  box-shadow: 0 2px 25px rgba(102, 126, 234, 0.15);
}

.navmenu a {
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.navmenu a:hover,
.navmenu a.active {
  color: var(--primary-color);
}

.navmenu a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.btn-getstarted {
  background: linear-gradient(135deg, var(--verde-primary), var(--verde-dark));
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-getstarted:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* Hero Section */
.travel-hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-text {
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--azul-primary), var(--azul-dark));
  color: white;
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(14, 165, 233, 0.6);
}

.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: white;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Sección About */
.why-us .content h3 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.feature-card {
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 4px solid transparent;
  background: linear-gradient(to bottom, #fff, #f9f9f9);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
  border-top-color: var(--primary-color);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--verde-primary), var(--verde-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  margin-bottom: 20px;
}

/* Cards Section */
.featured-destination {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.featured-destination:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.tour-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  background: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.tour-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
}

.tour-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tour-card:hover .tour-image img {
  transform: scale(1.1);
}

.tour-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--azul-primary), var(--azul-dark));
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  z-index: 2;
}

.tour-badge.limited {
  background: linear-gradient(135deg, var(--verde-primary), var(--verde-dark));
}

.tour-badge.new {
  background: linear-gradient(135deg, #00d2d3, #0093a5);
}

.tour-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.tour-content h4 {
  margin-bottom: 15px;
  color: var(--text-dark);
}

.tour-action {
  margin-top: auto;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.btn-book {
  display: inline-block;
  background: linear-gradient(135deg, var(--verde-primary), var(--verde-dark));
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

/* Section Titles */
.section-title h2 {
  font-size: 2.8rem;
  position: relative;
  display: inline-block;
  margin-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--azul-primary), var(--verde-primary));
  border-radius: 2px;
}

.description-title {
  color: var(--primary-color);
  font-weight: 700;
}

/* Trivias */
.trivia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Redes Sociales */
.social-card {
  transition: all 0.3s ease;
}

.social-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15) !important;
}

.social-card:hover a {
  transform: scale(1.05);
}

/* Contact Section */
.contact-info h4 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 25px;
}

.contact-info h5 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
}

.php-email-form {
  background: white;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-control {
  border: 2px solid #e9ecef;
  border-radius: 8px;
  padding: 12px 15px;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Footer */
#footer {
  background: linear-gradient(135deg, var(--dark-bg), #2d2d44);
  padding: 40px 0 20px;
}

.footer-about .sitename {
  font-size: 1.8rem;
}

.footer-links h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1rem;
}

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

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

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: linear-gradient(135deg, var(--azul-primary), var(--verde-primary));
  transform: translateY(-3px);
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .feature-card {
    margin-bottom: 20px;
  }
}

/* Efectos especiales para AB OVO */
.hero-overlay {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.7), rgba(14, 165, 233, 0.3));
}

.section.light-background {
  background: linear-gradient(135deg, #f8f9fa, #f0f0f8);
}

/* Etiquetas especiales */
.destination-tag,
.badge-offer {
  background: linear-gradient(135deg, var(--accent-color), #f5576c);
  color: white;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-offer.limited {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
}

/* Stats */
.stat-item {
  text-align: center;
  margin: 0 15px;
}

.stat-item span:first-child {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--azul-primary), var(--verde-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-light);
  font-weight: 500;
}

/* Loading states */
.loading {
  display: none;
}

.error-message {
  display: none;
  color: #d32f2f;
  margin-bottom: 10px;
}

.sent-message {
  display: none;
  color: #4caf50;
  font-weight: 600;
  margin-bottom: 10px;
}
