/* styles.css */

/************************ ESTILOS GENERALES ************************/ 

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa; /* fondo claro pa que combine con las secciones */
    color: #333;
    overflow-x: hidden;
}
  

/************************ Header ************************/ 

.header {
    background-color: #000;
    padding: 15px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.navbar {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
}

.navbar-brand img {
    height: 100px;
}

.nav-links ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-links ul li a:hover {
    background-color: #f8f9fa;
    color: #000;
    border-radius: 5px;
}

.menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* 🔄 Responsive Navbar */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }

    .menu-btn {
        display: block;
    }
}




/************************ Ejemplo para otra sección ************************/ 

.about-container {
    background: linear-gradient(to right, #fceabb, #f8b500); /* dorado suave */
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    color: #111;
}

.contact-container {
    background: linear-gradient(to right, #c6ffdd, #fbd786, #f7797d); /* degradado tropical */
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    color: #111;
}



/************************ Transiciones suaves ************************/ 

a, button {
    transition: all 0.3s ease-in-out;
}


/************************ 🔁 Slider a fuego con lógica callejera ************************/

.slider-container {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.7);
    background-color: #111; /* fondo oscuro solo pa esta sección */
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 1s ease-in-out;
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    flex-shrink: 0;
    filter: brightness(0.7);
    transform: scale(0.95);
    transition: transform 1s ease, filter 1s ease;
}

.slide.active {
    transform: scale(1);
    filter: brightness(1);
}

.description {
    position: absolute;
    bottom: 40px;
    left: 50px;
    color: #fff;
    max-width: 500px;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 1s forwards;
}

.slide.active .description {
    animation-delay: 0.5s;
}

.description h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.description p {
    font-size: 1.2em;
    line-height: 1.4em;
}

.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.navigation button {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    font-size: 2rem;
    color: white;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s;
}

.navigation button:hover {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/************************🔥 Servicios debajo del slider como Residente lo haría 🔥************************/ 

.service {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #ddd;
    background-color: #fff; /* limpio y neutral pa que resalte lo demás */
    transition: background 0.3s ease-in-out;
}

.service:hover {
    background-color: #f1f1f1; /* efecto leve pa cuando pasas el mouse 👀 */
}

.service img {
    height: 100px;  /* 🔥 lo que pediste, directo y sin filtro 🔥 */
    width: 75px;
    object-fit: cover;
    border-radius: 8px; /* bordes redonditos, pa que se vea más pro */
    flex-shrink: 0;
}

.service h2 {
    margin: 0;
    font-size: 1.5em;
    color: #000;
}

.service p {
    margin: 5px 0 0;
    font-size: 1em;
    color: #555;
    line-height: 1.4em;
}

/* 🧠 Responsive por si lo ves en cel en una noche loca 🌀 */
@media (max-width: 600px) {
    .service {
        flex-direction: column;
        align-items: flex-start;
    }

    .service img {
        margin-bottom: 10px;
    }
}


/************************🔥 no 🔥************************/



/************************🔥 fin del viaje por los estilos 🔥************************/
