/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }

/* ===== NAVBAR ===== */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.nav-scrolled {
  background-color: rgba(20, 20, 20, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0,0,0,0.3);
}
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #E86A5B;
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-open {
  opacity: 1 !important;
  pointer-events: all !important;
}

/* ===== HERO ===== */
.hero {
  position: relative;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 20, 20, 0.45) 0%,
    rgba(20, 20, 20, 0.30) 50%,
    rgba(20, 20, 20, 0.70) 100%
  );
}
.hero-content {
  padding-top: 80px;
}
.hero-badge {
  animation: fadeInDown 0.8s ease forwards;
  opacity: 0;
}
.hero-content h1 {
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}
.hero-content p {
  animation: fadeInUp 0.8s ease 0.4s forwards;
  opacity: 0;
}
.hero-content > div:last-child {
  animation: fadeInUp 0.8s ease 0.5s forwards;
  opacity: 0;
}
.scroll-indicator {
  animation: fadeInUp 0.8s ease 0.7s forwards;
  opacity: 0;
}

/* ===== BUTTONS ===== */
.btn-coral {
  background: linear-gradient(135deg, #E86A5B 0%, #D13D30 100%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(232, 106, 91, 0.35);
}
.btn-coral:hover {
  background: linear-gradient(135deg, #F07B6E 0%, #E0503F 100%);
  box-shadow: 0 8px 25px rgba(232, 106, 91, 0.45);
  transform: translateY(-2px);
}

/* ===== INPUTS ===== */
.input-field {
  border: 1.5px solid #e5e5e5;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: #2d2d2d;
  background: #faf9f7;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  width: 100%;
}
.input-field:focus {
  border-color: #E86A5B;
  box-shadow: 0 0 0 3px rgba(232, 106, 91, 0.1);
}
.input-field::placeholder {
  color: #a3a3a3;
}

/* ===== CARDS ===== */
.card-rural {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: background 0.3s ease, transform 0.3s ease;
}
.card-rural:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-4px);
}

/* ===== EXPERIENCE CARDS ===== */
.experience-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.experience-card:hover {
  transform: translateX(6px);
}

/* ===== LUGAR CARDS ===== */
.lugar-card {
  transition: transform 0.3s ease;
}
.lugar-card:hover {
  transform: translateY(-6px);
}

/* ===== GALLERY ===== */
.galeria-item {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.galeria-item:hover {
  transform: scale(1.02);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== MOBILE LINKS ===== */
.mobile-link {
  font-size: 1.25rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2.75rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-content h1 {
    font-size: 4rem;
  }
}
