/* Variables y estilos generales */
:root {
    --color-primary: #7fb77e; /* Verde principal */
    --color-secondary: #b7e4c7; /* Verde pastel secundario */
    --color-accent: #52b788; /* Verde acento */
    --color-light: #d8f3dc; /* Verde muy claro */
    --color-dark: #133139; /* Verde oscuro */
    --color-white: #ffffff;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease-in-out;
  }

  html {
    scroll-behavior: smooth;
  }
  
  body {
    color: #000000;
    background-color: #f9f9f9;
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
  }
  
  section {
    padding: 80px 0;
  }
  
  /* Botones */
  .boton-animado {
    background-color: var(--color-accent);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 4px 10px rgba(82, 183, 136, 0.3);
  }
  
  .boton-animado:hover {
    background-color: var(--color-primary);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(82, 183, 136, 0.4);
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-dark);
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
  }
  
  /* Hero Section */
  .hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .hero-content {
    text-align: center;
    z-index: 10;
    max-width: 700px;
    padding: 0 20px;
    position: absolute;
    top: 45%;
    left: 35%;
    transform: translate(-50%, -50%);
  }
  
  .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
  }
  
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  }
  
  .btn-reservar-hero {
    font-size: 1.1rem;
    padding: 14px 30px;
  }
  
  /* Slider */
  .slide-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  .slider {
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
  }
  
  .slide.active {
    opacity: 1;
  }
  
  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
  }
  
  .slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 5;
  }
  
  .prev-btn, .next-btn {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .prev-btn:hover, .next-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
  }
  
  .slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    z-index: 5;
  }
  
    /* Estilos para la flecha descendente */
.scroll-down {
  position: absolute;
  bottom: 120px; /* Subido para pantallas de computadora */
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.scroll-down a {
  display: inline-block;
  color: white;
  font-size: 28px;
  height: 60px;
  width: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-accent), #E9B949);
  text-align: center;
  transition: all 0.4s ease;
  animation: bounce 2s infinite;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 15px rgba(233, 185, 73, 0.5);
}

.scroll-down a:hover {
  background: linear-gradient(145deg, #E9B949, var(--color-accent));
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 20px rgba(233, 185, 73, 0.6);
}

/* Animación de rebote para la flecha */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

/* Ajustes para el hero-content */
.hero-content {
  text-align: center;
  z-index: 10;
  max-width: 700px;
  padding: 0 20px;
  position: absolute;
  top: 35%; /* Subido más arriba para dar espacio */
  left: 35%;
  transform: translate(-50%, -50%);
}

/* Efecto de resplandor en la flecha */
.scroll-down a i {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Añadiendo un efecto de pulso adicional */
.scroll-down a {
  position: relative;
}

.scroll-down a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(233, 185, 73, 0.4);
  z-index: -1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Media queries para asegurar la responsividad */
@media screen and (max-width: 1366px) {
  .scroll-down {
    bottom: 100px;
  }
}

@media screen and (max-width: 992px) {
  .hero-content {
    top: 30%;
  }
  
  .scroll-down {
    bottom: 80px;
  }
}

@media screen and (max-width: 768px) {
  .hero-content {
    top: 25%;
    left: 30%;
  }
  
  .scroll-down {
    bottom: 120px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 576px) {
  .hero-content {
    top: 25%;
  }
  
  .scroll-down {
    bottom: 150px;
    margin-right: 10px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 15px;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  
  .reservar {
    padding: 10px 20px;
  }
}


  .reservar {
    background-color: #E9B949; /* Color dorado/ámbar */
    border: none;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(233, 185, 73, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
  }
  
  .reservar:hover {
    background-color: #D4A429; /* Dorado más oscuro */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(233, 185, 73, 0.5);
  }
  
  .reservar:active {
    box-shadow: 0 2px 8px rgba(233, 185, 73, 0.4);
  }
  
  .reservar a {
    font-family: 'Times New Roman', Times, serif;
    color: #2D3748; /* Texto oscuro */
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
  }
  
  .reservar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    transform: translateX(-100%);
    transition: transform 1s ease;
  }
  
  .reservar:hover::before {
    transform: translateX(100%);
  }
  
/* Features Section */
.features {
  background-color: var(--color-light);
  padding: 40px 0;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin: auto auto -70px;
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
  color: var(--color-dark);
}
 
.features-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* Fija exactamente 6 columnas */
  gap: 10px;
}

.feature-card {
  background-color: white;
  width: 200px;
  height: 250px;
  padding: 30px 10px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 30px;
  color: var(--color-dark);
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--color-dark);
}

/* For smaller screens, reduce columns */
@media (max-width: 1331px) {
  .features-container {
    grid-template-columns: repeat(3, 1fr);
    margin: auto;
  }
  .feature-card {
    width: 150px;
    height: 250px;
  }
}

@media (max-width: 680px) {
  .features-container {
    grid-template-columns: repeat(2, 1fr) ;
    margin: auto;
  }
}
  








  /* Gallery Section */
  .gallery-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Fija exactamente 6 columnas */
    gap: 20px;
    margin: auto;
  }
  .section-title1 {
    color: rgb(236, 230, 178); /* Color amarillo claro suave */
    text-align: center;
    margin-bottom: 20px;
    font-size: 3.2rem;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Sombra para mejorar legibilidad */
    letter-spacing: 2px;
  }
  
  .section-title1::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(to right, rgb(255, 222, 173), rgb(255, 255, 255), rgb(255, 182, 193));
    transform: translateX(-50%);
    animation: expandLine 2s ease forwards, rainbow 3s infinite alternate;
  }
  
  @keyframes expandLine {
    0% {
      width: 0;
    }
    100% {
      width: 120px;
    }
  }
  
  @keyframes rainbow {
    0% {
      background-position: 0% 50%;
      box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
    }
    100% {
      background-position: 100% 50%;
      box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
    }
  }
  
  .section-title1:hover {
    animation: pulse 1.5s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.03);
    }
    100% {
      transform: scale(1);
    }
  }
  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    height: 250px;
  }
  
  .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }
  
  .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 15px;
    color: white;
    opacity: 0;
    transition: var(--transition);
  }
  
  .gallery-item:hover .overlay {
    opacity: 1;
  }
  
  .modal {
    display: none;
    position: fixed;
    z-index: 1100;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
  }
  
  .close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1101;
  }
  
  .modal-content {
    display: block;
    max-width: 80%;
    max-height: 80%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
  }
  
  .modal-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
  }
  
  .modal-prev, .modal-next {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
  }
  
  .modal-prev:hover, .modal-next:hover {
    background-color: rgba(255, 255, 255, 0.5);
  }
 @media(max-width: 1200px){
    .gallery-container {
      grid-template-columns: repeat(2, 1fr); /* Fija exactamente 6 columnas */
      margin: auto;
    }
    .gallery-item {
      height: 200px;
    }
  }
  @media(max-width: 670px){
    .gallery-container {
      margin: auto;
    }
    .gallery-item {
      height: 200px;
      width: 250px;
    }
      
  }
  @media(max-width: 528px){
    .gallery-container {
      margin: auto;
    }
    .gallery-item {
      height: 150px;
      width: 150px;
    }
      
  }









  /* Rooms Section */
  .rooms-container {
    display: flex;
    gap: 40px;
  }
  
  .room-card {
    display: flex;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  .section-title12{
    color:wheat;
    text-align: center;
    margin-bottom: 20px;
    margin-top: -60px;
    font-size: 3.2rem;
    position: relative;
    padding-bottom: 15px;

  }

  .room-image {
    width: 40%;
    overflow: hidden;
  }
  
  .room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .room-card:hover .room-image img {
    transform: scale(1.1);
  }
  
  .room-info {
    width: 60%;
    padding: 30px;
  }
  
  .room-info h3 {
    color: var(--color-dark);
    margin-bottom: 15px;
  }
  
  .room-info p {
    margin-bottom: 20px;
  }
  
  .room-info ul {
    list-style: none;
  }
  
  .room-info ul li {
    margin-bottom: 10px;
  }
  
  .room-info ul li i {
    color: var(--color-accent);
    margin-right: 10px;
  }
@media (max-width: 800px) {
    .rooms-container {
      flex-direction: column;
      gap: 20px;
      width: 80%;
      margin: 0 auto;
    }
    
    .room-card {
      flex-direction: column;
    }
    
    .room-image {
      width: 80%;
      height: 250px;
    }
    
    .room-info {
      width: 100%;
    }
    
    .room-image img {
      height: 100%;
    }
  } 



  



  /* Pricing Section */
  .pricing {
    background-color: var(--color-light);
  }
  
  .pricing-container {
    display: flex;
    gap: 20px;
    margin: auto;
    padding: 20px;  
    gap: 30px;
    margin-top: -50px;
  }
  
  .price-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    width: 300px;
    transition: var(--transition);
  }
  
  .price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .price-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--color-accent);
  }
  
  .price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
  }
  
  .price-header {
    background-color: var(--color-secondary);
    color: var(--color-dark);
    padding: 20px;
    text-align: center;
  }
  
  .price-header h3 {
    margin-bottom: 10px;
  }
  
  .price .amount {
    font-size: 2rem;
    font-weight: 700;
  }
  
  .price .period {
    font-size: 0.9rem;
    color: #555;
  }
  
  .price-features {
    padding: 20px;
  }
  
  .price-features ul {
    list-style: none;
  }
  
  .price-features li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
  }
  
  .price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
  }
  
  .btn-price {
    display: block;
    width: 80%;
    margin: 0 auto 20px;
  }
  
  .btn-price:hover {
    background-color: var(--color-primary);
  }
  @media (max-width: 800px) {
    .pricing-container {
      flex-direction: column;
      gap: 20px;
      width: 80%;
      margin: 0 auto;
    }
    
    .price-card {
      width: 100%;
    }
    
    .price-header h3 {
      font-size: 1.5rem;
    }
    
    .price .amount {
      font-size: 1.5rem;
    }
    
    .price-features li {
      font-size: 0.9rem;
    }
  }











  /* Policies Section */
  .policies-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
  }
  
  .policy-card {
    background-color: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
  }
  
  .policy-card h3 {
    display: flex;
    align-items: center;
    color: var(--color-dark);
    margin-bottom: 15px;
  }
  .policy-card p{
    margin-bottom: 20px;
    text-align: justify;
  }
  
  .policy-card h3 i {
    color: var(--color-accent);
    margin-right: 10px;
  }
  
  .policies-download {
    background-color: var(--color-secondary);
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
    margin: auto;
    height: 200px;
  }
  
  .policies-download h3 {
    color: var(--color-dark);
    margin-bottom: 15px;
  }
  
  .policies-download p {
    margin-bottom: 20px;
  }
  
  .btn-download {
    display: inline-flex;
    align-items: center;
  }
  
  .btn-download i {
    margin-right: 10px;
  }

  @media(max-width:1231px){
    .policies-container {
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;
    }
  }
  @media(max-width: 800px) {
    .policies-container {
      grid-template-columns: 1fr;
      gap: 20px;
      width: 70%;
      margin: auto;
    }
    
    .policies-download {
      width: 80%;
      height: auto;
      margin-top: 30px;
    }
    
    .policy-card {
      padding: 15px;
    }
    
    .policy-card h3 {
      font-size: 1.5rem;
    }
    
    .policy-card p {
      font-size: 0.9rem;
    }
  }

  /* Responsive Styles */
  
  @media (max-width: 992px) {
    .room-card {
      flex-direction: column;
    }
    
    .room-image, .room-info {
      width: 100%;
    }
    
    .room-image {
      height: 250px;
    }
    
    .hero-content h1 {
      font-size: 3rem;
    }
  }
  
  @media (max-width: 768px) {
    .hamburger {
      display: block;
      z-index: 1001;
    }
    
    .nav-links {
      position: fixed;
      top: 0;
      right: -100%;
      height: 100vh;
      width: 70%;
      background-color: white;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      transition: right 0.5s ease;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.open {
      right: 0;
    }
    
    .nav-links li {
      margin: 20px 0;
    }
    
    .navbar {
      padding: 15px 5%;
    }
    
    .hero-content h1 {
      font-size: 2.5rem;
    }
    
    .hero-content p {
      font-size: 1rem;
    }
    
    .price-card.featured {
      transform: scale(1);
    }
    
    .price-card.featured:hover {
      transform: translateY(-10px);
    }
  }
  
  @media (max-width: 480px) {
    .section-title {
      font-size: 1.8rem;
    }
    
    .hero-content h1 {
      font-size: 2rem;
    }
    
    .btn-reservar-hero {
      padding: 12px 24px;
      font-size: 1rem;
    }
    
    .tab-btn {
      padding: 10px;
      font-size: 0.9rem;
    }
    
    .tabs-content {
      padding: 20px;
    }
    
    .feature-card {
      padding: 20px 15px;
    }
    
    .feature-icon {
      width: 60px;
      height: 60px;
    }
    
    .feature-icon i {
      font-size: 24px;
    }
  }



  #boton-arriba {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #007bff;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 25px;
    cursor: pointer;
    display: none; /* Oculto inicialmente */
    z-index: 99;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
}