/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: white;
  background: #656d4a; 
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  position: fixed;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  z-index: 1000;
  background: transparent;
  transition: 0.3s;
}

.logo {
  color: white;
  
}

.navbar a {
  color: white;
  transition: 0.3s;
}

.menu-toggle {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
}

.navbar.scrolled .logo,
.navbar.scrolled .menu-toggle {
  color: #656d4a;
}

.navbar.scrolled .nav-links a {
  color: #333d29;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

/* =========================
   HERO
========================= */
.hero {
  height: 100vh;
  background: url("../../public/img/portada-4-elementos.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(65,72,51,0.6);
}

.hero-content {
  position: relative;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.6;
  letter-spacing: 1px;
}

.hero h1 span {
  display: block;
  margin-top: 1rem;
}

.brand {
  font-size: 4rem;
  font-weight: 700;
  color: #a4ac86;
  letter-spacing: 2px;
}

.hero p {
  margin-top: 1.2rem;
  font-size: 1.1rem;
  opacity: 0.95;
}

/* =========================
   BOTONES
========================= */
.btn {
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
}

.btn-green {
  background: #656d4a;
}

.btn-brown {
  background: #7f4f24;
}

/* =========================
   SECCIONES
========================= */
.section {
  padding: 6rem 2rem;
}

/* =========================
   DEPARTAMENTOS
========================= */
#departamentos {
  background: linear-gradient(#656d4a, #a4ac86);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  line-height: 1.3;
  margin-bottom: 0.6rem;
}

.section-header p {
  font-size: 1.05rem;
  font-weight: 300;
  opacity: 0.85;
  letter-spacing: 0.3px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* =========================
   CTA
========================= */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  animation: ctaPulse 2.8s ease-in-out infinite;
}

.sticky-cta:hover {
  animation: none;
}

.sticky-cta .btn {
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 0.9rem;
}

.sticky-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.sticky-cta.hide {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}

/* =========================
   CARD
========================= */
.card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: 0.4s ease;
}

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

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: 0.3s ease;
}

.card.active .overlay {
  opacity: 1;
}

/* =========================
   SERVICIOS
========================= */
#servicios {
  background: linear-gradient(#a4ac86, #c2c5aa);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}



.services {
  display: grid;
  gap: 1rem;
}

.services div {
  background: white;
  color: #333;
  padding: 1rem;
  border-radius: 12px;
}


.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

.reverse {
  direction: rtl;
}

.reverse > * {
  direction: ltr;
}


#servicios .images img {
  width: 100%;
  max-width: 850px;
  height: auto;
  border-radius: 16px;
}
/* =========================
   NATURALEZA
========================= */
#naturaleza {
 background: linear-gradient(
    to bottom,
    #c2c5aa 0%,
    #a8794c 55%,
    #7f4f24 100%
  );

  padding-bottom: 10rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1rem;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
}

/* =========================
   FOOTER
========================= */
footer {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 1rem 2rem 6rem;
  margin-top: -1px;
  background: radial-gradient(circle at center, #7f4f24 0%, #582f0e 70%);
}

.footer-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: center;

  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

footer.visible .footer-content {
  opacity: 1;
  transform: translateY(0);
}
.footer-location {
  margin-top: 0.6rem;

}
.footer-divider {
  width: 60px;
  height: 2px;
  background: rgba(255,255,255,0.2);
  margin: 1.2rem auto 0.8rem;
}

.footer-cta-text {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.footer-maps-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 0.6rem;

  font-size: 0.88rem;
  font-weight: 500;

  opacity: 0.75;

  transition: 0.3s ease;
}

.footer-maps-link:hover {
  opacity: 1;
  transform: translateY(-1px);
}
/* =========================
   FOOTER CTA WHATSAPP
========================= */
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;

  margin-top: 0.5rem;
}

.whatsapp-dot {
  width: 12px;
  height: 12px;

  background: #25D366;

  border-radius: 50%;

  box-shadow: 0 0 12px rgba(37,211,102,0.7);

  animation: whatsappPulse 2s infinite;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-contact-info small {
  font-size: 0.75rem;
  opacity: 0.7;
}

.footer-phone {
  font-size: 1rem;
  font-weight: 600;

  transition: 0.3s ease;
}

.footer-phone:hover {
  opacity: 0.8;
}

.footer-copy p {
  font-size: 0.7rem;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 0.3rem;

  margin-top: 0.8rem;
}

.footer-instagram {
  font-size: 0.92rem;
  font-weight: 500;

  opacity: 0.8;

  transition: 0.3s ease;
}

.footer-instagram:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-social span {
  font-size: 0.8rem;
  opacity: 0.6;
}


@keyframes whatsappPulse {

  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.3);
    opacity: 0.7;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }

}


/* =========================
   ANIMACIÓN CTA
========================= */
@keyframes ctaPulse {
  0% { transform: translateX(-50%) scale(1); }
  50% { transform: translateX(-50%) scale(1.05); }
  100% { transform: translateX(-50%) scale(1); }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .logo {
  font-size: 1.3rem;
  
}

  .nav-links {
    position: absolute;
    top: 70px;
    width: 100%;
    flex-direction: column;
    background: rgba(51,61,41,0.95);
    opacity: 0;
    pointer-events: none;
    width: calc(100% - 32px);
    left: 16px;
  border-radius: 18px;
  padding: 1.8rem;
  background: rgba(51,61,41,0.92);
  backdrop-filter: blur(12px);
  box-shadow:
    0 10px 30px rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.05);
  }
  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
  }

  .gallery-grid,
  .gallery {
    grid-template-columns: 1fr;
  }
.navbar.scrolled .nav-links a {
  color: white;
}
  .split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  #servicios {
    display: flex;
    flex-direction: column;
  }

  

}