body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
  }
  
  header {
    background-color: #A3D9A5;
    padding: 20px;
    text-align: center;
    color: white;
  }
  
  .service {
    margin: 20px;
    padding: 15px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

/* HEADER */
#dogwalking-hero {
    height: 550px;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-size: cover;
    background-position: center 40%;
    transition: background-image 1s ease-in-out;
    
}

/* Ajusta texto en movimiento del slider */
#hero-text {
    font-size: 3rem; /* Ajusta según prefieras */
    font-weight: 800;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,  
        -1px  1px 0 #000,  
         1px  1px 0 #000; /* Borde negro */
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,  
        -1px  1px 0 #000,  
         1px  1px 0 #000;
    margin: 0;
}

.hero-content p {
    font-size: 1.5rem;
    text-shadow: 
        -1px -1px 0 #000,  
         1px -1px 0 #000,  
        -1px  1px 0 #000,  
         1px  1px 0 #000;
    margin-top: 10px;
}


.btn {
    background: #4CAF50;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* NAVBAR */

.nav-links a.active {
    color: #fff;
    font-weight: bold;
}
.navbar .nav-links a.active::after {
    width: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;  /* Reducimos el padding lateral */
    background-color: #6AB187;
    position: fixed;
    width: 100%;
    max-width: 100vw; /* Evita que sobrepase el ancho de la pantalla */
    top: 0;
    left: 0;
    z-index: 1000;
    box-sizing: border-box; /* Asegura que los márgenes no sobrepasen el ancho */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 10px;  /* Reducimos el espacio entre los enlaces */
    flex-wrap: nowrap; /* Evita que los enlaces bajen de línea */
    overflow: hidden; /* Evita que se desborden */
}

.nav-links li a {
    position: relative;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    padding: 8px 15px;
    display: inline-block;
    transition: color 0.3s ease;
}

/* Efecto de la barra */
.navbar .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px; /* Grosor de la barra */
    background-color: white;
    transition: width 0.3s ease-out;
}

/* Al pasar el cursor */
.navbar .nav-links a:hover::after {
    width: 100%;
}

/* MENU HAMBURGUESA PARA MÓVILES */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/* RESPONSIVE: Navbar en móviles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        background: #6AB187;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        text-align: center;
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
    }
}
@media (max-width: 1024px) { /* Para tablets y móviles */
    .nav-links {
        display: none; /* Ocultamos los enlaces en móviles */
        flex-direction: column;
        background: #6AB187;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        text-align: center;
        padding: 10px 0;
    }
    .nav-links.active {
        display: flex;
    }
    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
        color: white;
        padding: 10px;
    }
}

/* footer */

footer {
    background-color: #6AB187; /* Color principal de la web */
    padding: 40px 20px;
    color: white;
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
    margin-bottom: 25px;
}

/* Secciones del footer */
.footer-section {
    flex: 1;
    min-width: 250px;
}

/* Títulos de cada sección */
.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: white;
}

/* Textos de contacto y enlaces */
.footer-section p,
.footer-section a {
    font-size: 1rem;
    color: white;
    text-decoration: none;
    line-height: 1.6;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* Documentos legales en una sola línea pero con dos líneas de texto */
.legal-documents {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px; /* Espacio entre los enlaces */
    padding: 0;
    margin-top: 10px;
    list-style: none;
    text-align: center;
}

.legal-documents li {
    flex: 1 1 auto;
    max-width: 200px; /* Ajustamos el ancho para forzar dos líneas */
    text-align: center;
    word-wrap: break-word;
}

/* Redes sociales */
.social-icons {
    display: flex;
    gap: 20px;
    margin-top: 0;
    justify-content: center;
    margin-bottom: 25px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.5rem;
    transition: background-color 0.3s, transform 0.2s;
}

.social-icons a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    text-decoration: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .legal-documents {
        gap: 20px;
        flex-wrap: wrap;
    }

    .legal-documents li {
        max-width: 100px;
    }
}

.dogwalking-hero {
    height: 550px;
    background: url('../img/slider5.jpg') center /cover no-repeat;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-details {
    padding: 60px 20px;
    text-align: center;
}

.features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    background-color: #6AB187;
    color: white;
    padding: 20px;
    border-radius: 10px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-calendar {
    margin-top: 50px;
}

/* Botón WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 90px; /* Para que quede encima del botón de subir */
    right: 20px;
    background-color: #25D366; /* Color oficial WhatsApp */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    animation: bounce 1.5s infinite;
    transition: transform 0.3s ease, background-color 0.3s;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    background-color: #1DA851;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

/* Mascota animada en el footer */
.footer-pet {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 30px;
    animation: wag-tail 1s infinite alternate;
}

@keyframes wag-tail {
    from { transform: rotate(-10deg); }
    to { transform: rotate(10deg); }
}

.feature-card {
    width: 250px;
    height: 350px;
    border-radius: 15px;
    display: flex;
    align-items: flex-end; /* Bajamos el contenido hacia abajo */
    justify-content: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* Imágenes específicas */
.feature-card-love {
    background-image: url('../img/galery1.jpg');
}
.feature-card-time {
    background-image: url('../img/slider3.jpg');
}
.feature-card-social {
    background-image: url('../img/slider2.jpg');
}
.feature-card-report {
    background-image: url('../img/galery12.jpg');
}

.feature-item {
    background-color: rgba(106, 177, 135, 0.9);
    color: white;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    margin-bottom: 10px; /* Espacio extra respecto al borde inferior */
}

.availability-title {
    font-size: 2rem;
    margin-top: 40px;
    color: #6AB187;
}

.availability-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    font-size: 1.2rem;
}

.availability-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.availability-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    align-items: center;
}

.availability-info i {
    color: #6AB187;
    font-size: 1.3rem;
}

.separator {
    color: #ccc;
    font-size: 1.5rem;
}

