/* ====== ESTILOS GENERALES ====== */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #ffffff;
    color: #1a1a1a;
}

.container {
    width: 90%;
    max-width: 1200px;
    box-sizing: border-box;
    margin: 0 auto;
}

/* ====== NAVBAR MODERNO ====== */
.navbar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    height: 90px;
    display: flex;
    align-items: center;
    background: transparent;
    transition: 0.3s;
}

/* Contenedor interno*/
.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* LOGO - Tamaño controlado*/
.logo-img {
    height: 100px;
    width: auto;
    object-fit: contain;
}

/* LINKS NAVBAR */
.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;    /* BLANCO al inicio */
    font-size: 1rem;
    transition: 0.3s;
}

/* Hover */
.nav-links a:hover {
    color: #2eb872;
}

/* ====== HAMBURGUESA ====== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: #fff; /* BLANCO al inicio */
    transition: 0.3s;
}

/* ====== NAVBAR SCROLL EFFECT ====== */
.navbar.scrolled {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    backdrop-filter: blur(8px);
}

/* Cambiar color del texto al hacer scroll */
.navbar.scrolled .nav-links a {
    color: #1b1b1b;
}

/* Color hover después del scroll */
.navbar.scrolled .nav-links a:hover {
    color: #2eb872;
}

/* Cambiar color de la hamburguesa al hacer scroll */
.navbar.scrolled .hamburger span {
    background: #1b1b1b;
}

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

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        width: 220px;
        background: white;
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        display: none;
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

    .nav-links a {
        color: #1b1b1b; /* Texto oscuro dentro del menú desplegable */
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }
}


/* ======== HERO SECTION ======= */

.hero {
    position: relative;
    width: 100%;
    padding: 250px 0;
    height: 95vh;
    overflow: hidden;
}

/* Slider contenedor */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Cada slide */
.slide {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    /*background-image: var(--bg);*/
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.3s ease-in-out;
}

/* Imágenes*/
.slide-1 {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),url("img/banner1.png");
}

.slide-2 {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),url("img/banner2.png");
}

.slide-3 {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),url("img/banner3.png");
}

.slide.active {
    opacity: 1;
}

/* Overlay oscuro arriba */
.hero::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 1;
}

/* Texto del hero */
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start; /*alineado a la izquierda*/
    text-align: left;
    color: white;
    max-width: 900px; /* controla la zona de texto */
    margin-left: 100px;    /* se separa de la izquierda */
    padding-right: 40px;   /* evita que el texto toque el costado */
}

/* Titulo */
.hero-content h1 {
    font-size: 50px;
    font-weight: 700;
    /*text-shadow: 2px 2px 6px rgba(0,0,0,0.4);*/
    line-height: 1.1;
}

.hero-content h1 span {
    color: #16c172;
}

/* Párrafo */
.hero-content p {
    font-size: 20px;
    margin: 15px 0 25px;
    line-height: 1.6;
    /*text-shadow: 2px 2px 6px rgba(0,0,0,0.4);*/
}

/* Botón */
.hero-btn {
    background: #0a8a3a;/* 16c172 */
    padding: 14px 34px;
    border-radius: 30px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: .3s;
}

.hero-btn:hover {
    background: #086f30;/* 0d9b58*/
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        align-items: center;
        text-align: center;
    }
    .hero-content h1 { 
        font-size: 34px; 
    }
    .hero-content p { 
        font-size: 17px; 
    }
}

/* ---------- SECCIÓN NOSOTROS ---------- */

.about-section {
  padding: 80px 20px;
  background: #f9f9fb;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.about-header .lead {
  color: #666;
  font-size: 1rem;
}

/* Contenido principal */
.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* Imagen */
.about-image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
}

/* Texto */
.about-text {
  flex: 1 1 500px;
}

.about-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* Valores / bullets */
.about-values {
  list-style: none;
  padding: 0;
}

.about-values li {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #444;
}

.about-values li strong {
  color: #2fb27b;
}

/*=========== NUESTROS SERVICIOS ================*/
.services-section {
    padding: 60px 20px;
    max-width: 1100px;
    margin: auto;
}

.services-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #0a4736;
}

.services-subtitle {
    margin: 40px 0 20px;
    font-size: 24px;
    color: #0a4736;
    border-left: 4px solid #0a4736;
    padding-left: 12px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    padding-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-card h4 {
    font-size: 20px;
    margin: 15px;
    color: #0a4736;
}

.service-card p {
    font-size: 15px;
    margin: 0 15px 15px;
    color: #555;
}

.btn-service {
    display: block;
    width: 120px;
    margin: auto;
    padding: 10px 15px;
    background: #0a4736;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-service:hover {
    background: #0d5b47;
}


/* ====== BOTÓN WSP ====== */
.btn-wsp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-wsp:hover {
    background: #fff;
    color: #25D366;
    transform: scale(1.1);
}

/*======= SECCIÓN SERVICIOS =======*/

.services {
    padding: 80px 0;
    background: #f6fff9;
}

.services h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    color: #2eb872;
}

.services-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.service-card {
    background: #f7fff9;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 40px;
    color: #2eb872;
    margin-bottom: 15px;
}

.service-card h3 {
    margin-bottom: 10px;
}


.service-card img {
    width: 100%;
    max-width: 180px; /* antes probablemente 150–180 */
    object-fit: contain;
}


.btn-wsp:hover {
    background: #fff;
    color: #25D366;
    transform: scale(1.1);
}

/*========CÓMO FUNCIONA========*/

.how-it-works {
    padding: 80px 0;
    background: #f6fff9;
}

.how-it-works h2 {
    text-align: center;
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.step {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: 0.3s;
}

.step:hover {
    transform: translateY(-5px);
}

.step span {
    width: 45px;
    height: 45px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #2eb872;
    color: #fff;
    margin-bottom: 10px;
    border-radius: 50%;
    font-weight: 600;
    font-size: 1.2rem;
}

/*========ENCUENTRANOS=======*/
#encuentranos {
    background: linear-gradient(135deg, #f8f8f8, #ffffff);
    padding: 70px 20px;
}

.enc-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    max-width: 1100px;
    margin: auto;
}

.info-box {
    flex: 1 1 350px;
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.info-box h2 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.subtext {
    color: #555;
    margin-bottom: 25px;
}

.info-item {
    margin-bottom: 15px;
}

/* Redes sociales círculos */
.social-box {
    margin-top: 25px;
    display: flex;
    gap: 18px;
    align-items: center;
}

.social-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #2eb872;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 22px;
    color: #fff;
    transition: transform 0.2s ease, all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.social-circle:hover {
    background: #25a466;
    transform: scale(1.12);
}

.social {
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    transition: 0.2s;
}

.map-container {
    flex: 1 1 350px;
}

.map-container iframe {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ===== CONTACTO ===== */
.contact {
    padding: 80px 0;
    background: linear-gradient(to right, #fff, #ffffff);
}

.contact-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a1a;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: #444;
    line-height: 1.6;
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 12px;
    padding: 0;
}

.contact-list li {
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.contact-list i {
    font-size: 1.3rem;
    color: #2eb872;
}

/* FORMULARIO */
.contact-form {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border: 1px solid #2eb872;
}

/* Botón */
.btn-form {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
    background: #2eb872;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease, transform 0.3s ease;
}

.btn-form:hover {
    background: #25a466;
    transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-content {
        flex-direction: column;
    }

    .contact-form {
        width: 100%;
    }
}

/* ===== FAQ SECTION ===== */
.faq {
    padding: 80px 0;
    background: #f6fff9;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2eb872;
    margin-bottom: 50px;
}

/* Acordeón items */
.faq-item {
    background: #ffffff;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.07);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Pregunta */
.faq-question {
    width: 100%;
    padding: 18px 25px;
    background: #ffffff;
    border: none;
    outline: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #e6f7ec;
}

.faq-icon {
    font-size: 1.5rem;
    color: #2eb872;
    transition: transform 0.3s ease;
}

/* Respuesta */
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

/* FAQ activo */
.faq-item.active .faq-answer {
    padding: 15px 25px 20px 25px;
    max-height: 300px; /* ajustable según la longitud de la respuesta */
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

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

    .faq-question {
        font-size: 1rem;
    }
}

/* ----------- SERVICIOS (con imágenes) ----------- */

.services-section{
  padding: 70px 20px;
  background: #ffffff;
}

.services-header{
  text-align: center;
  margin-bottom: 35px;
}

.services-header h2{
  font-size: 2rem;
  font-weight: 700;
}

.services-header .lead{
  color: #666;
  font-size: 1rem;
}

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

@media (max-width: 1024px){
  .services-grid{ grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px){
  .services-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 480px){
  .services-grid{ grid-template-columns: 1fr; }
}

/* CARDS */
.service-card{
  background: #f9f9fb;
  border-radius: 18px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 5px 18px rgba(0,0,0,0.08);
  transition: .25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover{
  transform: translateY(-7px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* IMAGENES */
.service-image{
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.service-image img{
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0px 2px 4px rgba(0,0,0,0.15));
}

/* TITULOS */
.service-card h3{
  font-size: 1.1rem;
  margin: 0 0 10px;
  font-weight: 600;
}

/* DESCRIPCIÓN */
.service-card p{
  color: #777;
  font-size: 0.95rem;
  margin-bottom: 18px;
  min-height: 42px;
}

/* BOTÓN */
.btn-reservar{
  padding: 10px 18px;
  background: #2fb27b;
  color: #fff;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: .25s;
}

.btn-reservar:hover{
  background: #269c69;
}


/* Footer General */
.site-footer {
  background: #222;
  color: #fff;
  padding: 50px 20px 20px;
  font-family: 'Roboto', sans-serif;
}

/* Contenedor superior */
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

/* Columnas */
.footer-column {
  flex: 1 1 250px;
}

/* Logo y descripción */
.footer-logo {
  width: 140px;
  margin-bottom: 15px;
}

.footer-desc {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.5;
}

/* Quick Links */
.footer-links h4 {
  margin-bottom: 10px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.25s;
}

.footer-links ul li a:hover {
  color: #2fb27b;
}

/* Redes sociales */
.footer-social h4 {
  margin-bottom: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.social-icons a {
  color: #fff;
  font-size: 1.4rem;
  transition: color 0.25s;
}

.social-icons a:hover {
  color: #2fb27b;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.85rem;
  color: #aaa;
  margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-column {
    flex: 1 1 auto;
  }

  .social-icons {
    justify-content: center;
  }
}
