/* ==========================================================================
   ALDEIA LANDING PAGE STYLES
   ========================================================================== */

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--aldeia-green);
  color: var(--aldeia-white);
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 6px;
}

/* ==========================================================================
   SETTINGS - Variables and configuration
   ========================================================================== */
:root {
  /* Colors */
  --aldeia-yellow: #f6ca00;
  --aldeia-green: #164436;
  --aldeia-light-green: #E8F5E8;
  --aldeia-mint: #B8E6B8;
  --aldeia-salmon: #d78c80;
  --aldeia-white: #FFFFFF;
  --aldeia-dark: #1A1A1A;
  
  /* Typography */
  --font-primary: 'Closer Text', sans-serif;
  --font-display: 'Tropiline', serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 15px;
  
  /* Transitions */
  --transition-base: all 0.3s ease;
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   TOOLS - Mixins and utilities
   ========================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--aldeia-green);
  color: var(--aldeia-white);
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.skip-link:focus {
  top: 6px;
}

/* ==========================================================================
   GENERIC - Reset and base styles
   ========================================================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--aldeia-dark);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ==========================================================================
   ELEMENTS - Base element styles
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
}

h3 {
  font-size: 1.75rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--aldeia-green);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--aldeia-green);
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ==========================================================================
   OBJECTS - Layout and structural patterns
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.col-12, .col-lg-6, .col-lg-8, .col-lg-4, .col-lg-3, .col-md-6 {
  padding: 0 15px;
}

.col-12 { flex: 0 0 100%; }
.col-lg-6 { flex: 0 0 50%; }
.col-lg-8 { flex: 0 0 66.666667%; }
.col-lg-4 { flex: 0 0 33.333333%; }
.col-lg-3 { flex: 0 0 25%; }
.col-md-6 { flex: 0 0 50%; }

@media (max-width: 991.98px) {
  .col-lg-6, .col-lg-8, .col-lg-4, .col-lg-3 {
    flex: 0 0 100%;
  }
}

@media (max-width: 767.98px) {
  .col-md-6 {
    flex: 0 0 100%;
  }
}

/* ==========================================================================
   COMPONENTS - Reusable UI components
   ========================================================================== */

/* Header */
.aldeia-header {
  background-color: var(--aldeia-yellow);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--aldeia-green);
  text-decoration: none;
}

.brand-logo {
  height: 50px;
  width: auto;
  transition: var(--transition-base);
}

.brand-logo:hover {
  transform: scale(1.05);
}

.brand-text {
  color: var(--aldeia-green);
}

.navbar-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-link {
  color: var(--aldeia-green);
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--aldeia-green);
  text-decoration: underline;
}

.nav-link:focus {
  outline: 3px solid var(--aldeia-light-green);
  outline-offset: 2px;
  border-radius: 4px;
}

.navbar-toggler {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
}

.navbar-toggler-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--aldeia-green);
  position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--aldeia-green);
}

.navbar-toggler-icon::before {
  top: -6px;
}

.navbar-toggler-icon::after {
  top: 6px;
}

@media (max-width: 991.98px) {
  .navbar-toggler {
    display: block;
  }
  
  .navbar-collapse {
    display: none;
  }
  
  .navbar-collapse.show {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--aldeia-yellow);
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .btn-contact {
    width: 100% !important;
    text-align: center !important;
    margin: 1rem auto !important;
    display: block !important;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: var(--transition-base);
  border: 2px solid transparent;
  cursor: pointer;
}

.btn:focus {
  outline: 3px solid var(--aldeia-light-green);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--aldeia-green);
  color: var(--aldeia-white);
  border-color: var(--aldeia-green);
}

.btn-primary:hover {
  background-color: var(--aldeia-white);
  color: var(--aldeia-green);
  border-color: var(--aldeia-green);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--aldeia-white);
  border-color: var(--aldeia-white);
}

.btn-outline-light:hover {
  background-color: var(--aldeia-white);
  color: var(--aldeia-green);
  border-color: var(--aldeia-white);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--aldeia-green);
  border-color: var(--aldeia-green);
}

.btn-outline-primary:hover {
  background-color: var(--aldeia-green);
  color: var(--aldeia-white);
  border-color: var(--aldeia-green);
}

.btn-warning {
  background-color: var(--aldeia-yellow);
  color: var(--aldeia-green);
  border-color: var(--aldeia-yellow);
}

.btn-warning:hover {
  background-color: var(--aldeia-green);
  color: var(--aldeia-white);
  border-color: var(--aldeia-green);
}

.btn-contact {
  margin-left: 1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Tablet responsive - mantiene layout hasta tablet */
@media (max-width: 991px) and (min-width: 769px) {
  .hero-content {
    padding: 0 1.5rem;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
}

/* Mobile responsive for hero section */
@media (max-width: 768px) {
  .hero-section {
    min-height: 50vh !important;
  }
  
  .hero-slide-container {
    height: 50vh !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    position: relative !important;
  }
  
  .hero-content {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 1rem;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }
  
  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
  }
  
  .hero-content p {
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.3;
  }
  
  .hero-image {
    width: 100% !important;
    height: 50vh !important;
    object-fit: cover !important;
    border-radius: 15px !important;
  }
  
  .hero-carousel {
    height: 50vh !important;
  }
  
  .hero-slide {
    height: 50vh !important;
  }
  
  .hero-slide-container {
    height: 50vh !important;
  }
  
  .rooms-carousel .carousel-track {
    height: 250px !important;
  }
  
  .room-image {
    height: 250px !important;
  }
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
}

.hero-slide-container {
  background-color: var(--aldeia-yellow);
  padding: 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-carousel .carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.hero-carousel .carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-carousel .carousel-slide {
  flex: 0 0 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: none;
}

.hero-carousel .carousel-slide.active {
  opacity: 1;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-overlay .container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.hero-overlay .row {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-overlay .col-12 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: var(--aldeia-white);
  z-index: 3;
  position: relative;
  max-width: 800px;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* Segunda slide del hero - texto alineado a la izquierda */
.carousel-slide:nth-child(2) .hero-content {
  text-align: center;
  max-width: 33.333%;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0 2rem;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

/* En móvil, la segunda slide vuelve al comportamiento normal */
@media (max-width: 768px) {
  .carousel-slide:nth-child(2) .hero-content {
    position: static;
    max-width: 100%;
    width: 100%;
    left: auto;
    top: auto;
    padding: 1rem;
  }
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 400;
  color: var(--aldeia-white);
  margin-bottom: 0.8rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--aldeia-white);
  font-weight: 400;
  margin-bottom: 2rem;
}


.carousel-btn:disabled {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  opacity: 0.5;
}

.carousel-btn:disabled:hover {
  background-color: #ccc;
  color: #666;
  transform: translateY(-50%);
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #164436;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: #164436;
}

.indicator:hover {
  background-color: #164436;
  transform: scale(1.2);
}


.hero-carousel .carousel-indicators {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 10;
}

.hero-carousel .indicator {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 2px solid var(--aldeia-white);
  background-color: transparent;
  cursor: pointer;
  transition: var(--transition-base);
}

.hero-carousel .indicator.active {
  background-color: var(--aldeia-white);
  transform: scale(1.2);
}

.hero-carousel .indicator:hover {
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}


.hero-content {
  text-align: center;
}

.first-hero .hero-title {
  margin-bottom: 1.2rem;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 400;
  color: var(--aldeia-green);
  margin-bottom: 0.8rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--aldeia-green);
  font-weight: 400;
  margin-bottom: 2rem;
}

.hero-image-container {
  position: relative;
  text-align: center;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


@media (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
  
  
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  
  .hero-carousel .carousel-indicators {
    bottom: 20px;
  }
  
  .hero-carousel .indicator {
    width: 12px;
    height: 12px;
  }
  
}

/* Value Proposition */
.value-proposition {
  background-color: var(--aldeia-light-green);
  padding: 0 var(--section-padding);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.value-text {
  font-size: 3rem;
  font-weight: 400;
  color: var(--aldeia-green);
  margin: 0;
  line-height: 1.2;
}

@media (max-width: 767.98px) {
  .value-text {
    font-size: 1.8rem;
    line-height: 1.2;
  }
}

/* About Section */
.about-section {
  background-color: #164436;
  padding: var(--section-padding);
  color: var(--aldeia-white);
}

/* Mobile responsive for about section */
@media (max-width: 768px) {
  .about-section .row {
    flex-direction: column;
  }
  
  .about-section .col-lg-6 {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .about-section .col-lg-6:last-child {
    margin-bottom: 0;
  }
  
  .about-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1rem !important;
    width: 100% !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
  }
  
  .about-buttons-light {
    background-color: var(--aldeia-white);
    color: var(--aldeia-green);
    padding: 10px 18px;
    border-radius: 22px;
    width: auto !important;
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    align-self: center !important;
    max-width: 300px !important;
    float: none !important;
    clear: both !important;
  }
  
  .casa-nua-logo-container {
    position: static !important;
    text-align: center !important;
    margin: 2rem auto !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
  }
  
  .casa-nua-logo {
    max-width: 120px !important;
  }
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--aldeia-white);
  margin-bottom: 1rem;
}

.about-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: var(--aldeia-white);
  font-family: 'Closer Text', sans-serif;
  text-transform: uppercase;
  font-weight: 250;
  text-align: justify;
}

.about-buttons {
    padding-left: 0;
  display: flex;
  gap: 1rem;
}

.about-buttons-light {
  display: block;
  width: auto;
  padding: 6px;
  margin-bottom: 1rem;
  margin-right: 0;
  background-color:var(--aldeia-white);
  color: var(--aldeia-green);
  font-family: 'Tropiline', serif;
  border: 1px solid #d7e9df;
  transition: var(--transition-base);
  border-radius: 15px;
}

.about-buttons .btn:hover {
  background-color: var(--aldeia-green);
  color: #d7e9df;
  border-color: var(--aldeia-green);
}

.inspiration-content .btn {
  background-color: #d7e9df;
  color: var(--aldeia-green);
  border-color: #d7e9df;
  font-family: 'Tropiline', serif;
  transition: var(--transition-base);
}

.inspiration-content .btn:hover {
  background-color: var(--aldeia-green);
  color: #d7e9df;
  border-color: var(--aldeia-green);
}


.about-image-container {
  text-align: center;
  display: flex;
  justify-content: center;
  height: 100%;
  min-height: 400px;
}

.about-image {
  width: 70%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991.98px) {
  .about-buttons {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .about-title {
    font-size: 2rem;
  }
  
  .about-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Inspiration Section */
.inspiration-section {
  background-color: var(--aldeia-yellow);
  padding: var(--section-padding);
  position: relative;
}

.inspiration-content {
  text-align: center;
  position: relative;
  overflow: visible;
  margin-bottom: 2rem;
}

.inspiration-badge {
  background-color: #164436;
  color: var(--aldeia-white);
  padding: 1.5rem 1.5rem 1rem 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 300;
  font-size: 1.6rem;
  display: inline-block;
  width: auto;
  font-family: 'Tropiline', serif;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow: visible;
  line-height: 1.2;
}

.inspiration-text {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--aldeia-green);
  margin-bottom: 1.5rem;
}

.casa-nua-logo {
  text-align: center;
}

.logo-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background-color: var(--aldeia-light-green);
  padding: 2rem;
}

/* Services Section */
.services-section {
  background-color: var(--aldeia-salmon);
  padding: var(--section-padding);
}

.services-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--aldeia-green);
  text-align: center;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
}

.services-grid .service-card {
  background-color: #164436;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}

.services-grid .service-header {
  background-color: #164436;
  padding: 1.5rem 2rem 1rem;
  text-align: center;
}

.services-grid .service-header h3 {
  color: var(--aldeia-white);
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Tropiline', serif;
  margin: 0;
  text-transform: none;
  letter-spacing: 0.5px;
}

.services-grid .service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.services-grid .service-content {
  background-color: #164436;
  padding: 1rem 2rem 2rem;
  color: var(--aldeia-white);
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-grid .service-content p {
  font-size: 0.9rem;
  font-family: 'Closer Text', sans-serif;
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Responsive grid - mantiene 5 columnas hasta desktop grande */
@media (max-width: 1400px) and (min-width: 1201px) {
  .services-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
  }
}

/* Responsive grid */
@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    display: none; /* Ocultar grid en móvil */
  }
  
  .services-carousel {
    display: flex; /* Mostrar carrusel en móvil */
  }
}

@media (max-width: 576px) {
  .services-grid {
    display: none; /* Ocultar grid en móvil pequeño */
  }
  
  .services-carousel {
    display: flex; /* Mostrar carrusel en móvil pequeño */
  }
}

.services-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.services-carousel .carousel-container {
  position: relative;
  flex: 1;
  overflow: hidden;
}

.services-carousel .carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
}

.services-carousel .carousel-slide {
  flex: 0 0 calc(33.333% - 14px); /* 3 slides visibles */
  min-width: 0;
}

/* Responsive adjustments for services carousel */
@media (max-width: 768px) {
  .services-carousel .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .services-carousel .carousel-slide.active {
    opacity: 1;
  }
  
  .services-carousel .carousel-track {
    position: relative;
    height: 400px;
    gap: 0;
  }
  
  .services-carousel .carousel-slide {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .services-carousel .service-content {
    border-radius: 0 0 20px 20px;
  }
  
  /* Asegurar que las flechas sean visibles en móvil */
  .services-carousel .carousel-btn-prev,
  .services-carousel .carousel-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
  }
  
  .services-carousel .carousel-btn-prev {
    left: 10px;
  }
  
  .services-carousel .carousel-btn-next {
    right: 10px;
  }
}

@media (max-width: 576px) {
  .services-carousel .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .services-carousel .carousel-slide.active {
    opacity: 1;
  }
  
  .services-carousel .carousel-track {
    position: relative;
    height: 400px;
    gap: 0;
  }
  
  .services-carousel .service-content {
    border-radius: 0 0 20px 20px;
  }
}

.services-carousel .carousel-btn {
  position: static;
  background-color: #164436;
  color: var(--aldeia-white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
  z-index: 10;
}

.services-carousel .carousel-btn:hover {
  background-color: var(--aldeia-white);
  color: var(--aldeia-green);
  transform: translateY(-50%) scale(1.1);
}

.services-carousel .carousel-btn-prev {
  position: absolute;
   /* left: -120px; /* Aún más separado del contenedor */
}

.services-carousel .carousel-btn-next {
  position: absolute;
  /* right: -120px;  Aún más separado del contenedor */
}

.carousel-slide.active {
  transform: translateX(0);
}

/* Responsive adjustments for carousel */
@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 100%;
  }
}

@media (max-width: 576px) {
  .carousel-slide {
    flex: 0 0 100%;
  }
}

.rooms-carousel .carousel-container {
  flex: 1;
  position: relative;
  max-width: 1400px;
  overflow: visible;
  padding-bottom: 50px;
}

.rooms-carousel .carousel-btn {
  position: static;
  background-color: #164436;
  color: var(--aldeia-white);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  flex-shrink: 0;
}

.rooms-carousel .carousel-btn:hover {
  background-color: #0f2e24;
  transform: scale(1.1);
}

.rooms-carousel .carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.rooms-carousel .carousel-track {
  position: relative;
  height: 500px;
  border-radius: 20px;
  overflow: visible;
}

.rooms-carousel .carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.rooms-carousel .carousel-slide.active {
  opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-slide {
    flex: 0 0 100%;
  }
}

@media (max-width: 576px) {
  .carousel-slide {
    flex: 0 0 100%;
  }
}

.carousel-slide.active {
  transform: translateX(0);
}

.service-card {
  background-color: #164436;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-header {
  background-color: #164436;
  padding: 1.5rem 2rem 1rem;
  text-align: center;
}

.service-header h3 {
  color: var(--aldeia-white);
  font-size: 1.5rem;
  font-weight: 600;
  font-family: 'Tropiline', serif;
  margin: 0;
  text-transform: none;
  letter-spacing: 0.5px;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  flex-shrink: 0;
}

.service-content {
  background-color: #164436;
  padding: 1rem 2rem 2rem;
  color: var(--aldeia-white);
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-content p {
  font-size: 0.9rem;
  font-family: 'Closer Text', sans-serif;
  line-height: 1.4;
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--aldeia-green);
  color: var(--aldeia-white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  z-index: 10;
}

.carousel-btn:hover {
  background-color: var(--aldeia-white);
  color: var(--aldeia-green);
}

.carousel-btn-prev {
  left: -25px;
}

.carousel-btn-next {
  right: -25px;
}

@media (max-width: 767.98px) {
  .carousel-btn-prev {
    left: 10px;
  }
  
  .carousel-btn-next {
    right: 10px;
  }
}

/* Assistance Levels */
.assistance-levels {
  background-color: var(--aldeia-light-green);
  padding: var(--section-padding);
}

.levels-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--aldeia-green);
  text-align: center;
  margin-bottom: 0.5rem;
}

.levels-subtitle {
  font-size: 1.125rem;
  color: var(--aldeia-green);
  text-align: center;
  margin-bottom: 3rem;
  font-family: 'Tropiline', serif;
  font-style: italic;
}

.level-card {
  background-color: var(--aldeia-yellow);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition-base);
  height: 100%;
}

.level-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.level-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: high-quality;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.level-content {
  padding: 1.5rem;
  text-align: center;
}

.level-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  font-family: 'Nunito Sans', sans-serif;
  color: var(--aldeia-green);
  margin-bottom: 0.5rem;
}

.level-content h4 {
  font-size: 0.8rem;
  font-weight: 500;
  font-family: 'Nunito Sans', sans-serif;
  color: var(--aldeia-green);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.level-description {
  margin-top: 1.5rem;
}

.level-description p {
  font-size: 0.9rem;
  color: var(--aldeia-green);
  line-height: 1.4;
  text-align: center;
  font-family: 'Closer Text', sans-serif;
  padding: 0 1.5rem 1.5rem 1.5rem;
  margin: 0;
}

/* Force single row for levels */
.assistance-levels .row {
  display: flex;
  flex-wrap: nowrap;
}

/* Mantiene 4 columnas hasta tablet */
@media (max-width: 991px) and (min-width: 769px) {
  .assistance-levels .col-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

/* Mobile responsive for assistance levels */
@media (max-width: 768px) {
  .assistance-levels {
    padding: 0 !important;
  }
  
  .assistance-levels .container {
    padding: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
  }
  
  .assistance-levels .row {
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0 !important;
    width: 100% !important;
  }
  
  .assistance-levels .col-3 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin-bottom: 2rem;
  }
  
  .assistance-levels .col-3:last-child {
    margin-bottom: 0;
  }
  
  .level-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 1rem;
  }
  
  .assistance-levels .container {
    padding: 2rem 1rem !important;
  }
  
  .assistance-levels {
    padding: 2rem 0 !important;
  }
  
  .level-image {
    height: 200px !important;
    object-fit: cover;
  }
  
  .level-card {
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
}

.assistance-levels .col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}


/* Room Types */
.room-types {
  background-color: var(--aldeia-yellow);
  padding: var(--section-padding);
}

.rooms-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--aldeia-green);
  text-align: center;
  margin-bottom: 3rem;
}

.rooms-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 0;
}

.room-card {
  position: relative;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
}

.room-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

.room-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #164436;
  color: var(--aldeia-white);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-weight: 600;
  font-family: 'Tropiline', serif;
  font-size: 1.2rem;
  z-index: 2;
}

.room-measure {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--aldeia-light-green);
  color: var(--aldeia-green);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 1.0rem;
  z-index: 10;
  white-space: nowrap;
}

.aldeia-measure {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--aldeia-light-green);
  color: var(--aldeia-green);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 400;
  font-family: 'Tropiline', serif;
  font-size: 1.4rem;
  z-index: 10;
  white-space: nowrap;
}

/* Pricing Includes */
.pricing-includes {
  background-color: var(--aldeia-yellow);
  padding: 0 0 4rem 0;
}

/* Services Tags */
.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2rem;
  max-width: 100%;
  padding: 0 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  justify-content: center;
  align-items: center;
}

.service-tag {
  background-color: var(--aldeia-green);
  color: var(--aldeia-white);
  padding: 10px 18px;
  border-radius: 22px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Nunito Sans', sans-serif;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
  white-space: nowrap;
  line-height: 1.4;
  height: auto;
  min-width: auto;
  margin: 4px;
  box-shadow: 0 3px 6px rgba(45, 80, 22, 0.2);
}



.pricing-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--aldeia-green);
  font-family: 'Tropiline', serif;
  text-align: center;
  margin-bottom: 0;
  margin-top: 0;
}

.service-include {
  background-color: var(--aldeia-light-green);
  color: var(--aldeia-green);
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  width: 100%;
  text-align: center;
  transition: var(--transition-base);
  cursor: pointer;
}

.service-include:hover {
  background-color: var(--aldeia-green);
  color: var(--aldeia-white);
}

/* Location Section */
.location-section {
  background-color: var(--aldeia-light-green);
  padding: var(--section-padding);
}

.map-container {
  position: relative;
  text-align: center;
}

.map-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-legend {
  margin-top: 2rem;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.map-legend h3 {
  color: var(--aldeia-green);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.map-legend ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.map-legend li {
  color: var(--aldeia-green);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--aldeia-mint);
}

.map-legend li:last-child {
  border-bottom: none;
}

.interest-point {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border-radius: 10px;
  transition: background-color 0.3s ease;
}

.interest-point:hover {
  background-color: rgba(22, 68, 54, 0.1);
}

.interest-icon {
  width: 30px;
  height: 30px;
  margin-right: 1rem;
  flex-shrink: 0;
}

.interest-point span {
  color: var(--aldeia-green);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Contact Section */
.contact-section {
  background-color: #164436;
  padding: var(--section-padding);
  color: var(--aldeia-white);
}

.contact-section .row {
  display: flex !important;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap !important;
}

.contact-section .col-lg-6 {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
}

.contact-section .col-lg-6:last-child {
  padding-left: 3rem;
}

/* Mobile responsive for contact section */
@media (max-width: 768px) {
  .contact-section .row {
    flex-direction: column !important;
    gap: 0 !important;
  }
  
  .contact-section .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-bottom: 2rem;
  }
  
  .contact-section .col-lg-6:last-child {
    margin-bottom: 0;
    padding-left: 0 !important;
  }
  
  .contact-image-container {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .contact-image {
    width: 80% !important;
    height: auto !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  }
  
  .contact-title {
    text-align: center !important;
  }
  
  .contact-text {
    text-align: center !important;
  }
  
  .btn-submit {
    margin: 0 auto !important;
    display: block !important;
    width: 30% !important;
  }
}

.contact-image-container {
  text-align: center;
}

.contact-image {
  width: 80%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-title {
  font-family: 'Tropiline', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--aldeia-white);
  margin-bottom: 1rem;
}

.contact-text {
  font-family: 'Closer Text', sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--aldeia-white);
  margin-bottom: 2rem;
  font-weight: 300;
}

.contact-form {
  max-width: 500px;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: 'Tropiline', serif;
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--aldeia-white);
}

.form-control {
  font-family: 'Tropiline', serif;
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--aldeia-light-green);
  border-radius: 25px;
  background-color: var(--aldeia-light-green);
  color: var(--aldeia-green);
  font-size: 1rem;
  transition: var(--transition-base);
}

.form-control:focus {
  outline: 3px solid var(--aldeia-light-green);
  outline-offset: 2px;
  border-color: var(--aldeia-white);
  background-color: var(--aldeia-white);
}

.form-control::placeholder {
  color: var(--aldeia-green);
  opacity: 0.7;
}

.form-control.is-invalid {
  border-color: #dc3545;
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-control.is-invalid + .invalid-feedback {
  display: block;
}

.btn-submit {
  font-family: 'Tropiline', serif;
  width: 30%;
  padding: 12px 24px;
  font-size: 1.125rem;
  font-weight: 600;
  margin-left: auto;
  margin-right: 0;
}

/* Footer */
.aldeia-footer {
  background-color: var(--aldeia-light-green);
  padding: 3rem 0 1rem;
  color: var(--aldeia-green);
}

.footer-brand {
  margin-bottom: 1rem;
  text-align: center;
}

.footer-brand .brand-logo {
  height: 40px;
  width: auto;
}

.footer-brand .brand-text {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--aldeia-green);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--aldeia-green);
  color: var(--aldeia-white);
  border-radius: 50%;
  transition: var(--transition-base);
}

.social-link:hover {
  background-color: var(--aldeia-white);
  color: var(--aldeia-green);
  transform: scale(1.1);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
}

.footer-link {
  color: var(--aldeia-green);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-base);
}

.footer-link:hover {
  color: var(--aldeia-green);
  text-decoration: underline;
}

.footer-info {
  text-align: right;
}

.footer-info p {
  margin-bottom: 0.5rem;
  color: var(--aldeia-green);
}

.footer-pin {
  text-align: right;
  margin-top: 1rem;
}

.pin-number {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: var(--aldeia-yellow);
  color: var(--aldeia-green);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  font-weight: 600;
  font-size: 1.125rem;
}

@media (max-width: 991.98px) {
  .footer-info {
    text-align: center;
    margin-top: 2rem;
  }
  
  .footer-pin {
    text-align: center;
  }
}

@media (max-width: 767.98px) {
  .footer-brand {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .footer-brand .brand-logo {
    margin: 0 auto;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .social-links {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   UTILITIES - Helper classes
   ========================================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }

.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }

.min-vh-100 { min-height: 100vh; }

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 991.98px) {
  .container {
    max-width: 720px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .container {
    max-width: 540px;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
}

@media (max-width: 575.98px) {
  .container {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  /* Adjust levels for mobile */
  .assistance-levels .col-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 5px;
  }
  
  .level-card {
    margin-bottom: 1rem;
  }
  
  .level-image {
    height: 150px;
  }
  
  .level-content {
    padding: 1rem;
  }
  
  .level-content h3 {
    font-size: 1rem;
  }
  
  .level-content p {
    font-size: 0.8rem;
  }
  
  /* Improve image quality on mobile */
  .level-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }
  
  /* Responsive service tags */
  .services-tags {
    gap: 4px;
    padding: 0 0.5rem;
  }
  
  .service-tag {
    padding: 6px 12px;
    font-size: 0.9rem;
    border-radius: 18px;
    border-width: 1px;
    text-wrap: auto;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .level-image {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    image-rendering: high-quality;
  }
}

/* Casa Nua Logo Styles */
.casa-nua-logo-container {
  position: absolute;
  top: 2rem;
  right: 4rem;
  z-index: 10;
}

.casa-nua-logo {
  max-width: 75px;
  height: auto;
  border-radius: 10px;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-button:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
  color: white;
  text-decoration: none;
}

.whatsapp-button svg {
  width: 32px;
  height: 32px;
}

@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-button svg {
    width: 28px;
    height: 28px;
  }
}
