/* Configuración General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f0f0f; /* Negro profundo */
    color: #ffffff;
    line-height: 1.6;
}

/* Navegación */
nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 10%;
    background-color: #1a1a1a;
    border-bottom: 2px solid #007bff;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span {
    color: #007bff;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #007bff;
}

/* Sección Hero (Inicio) */
.hero {
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

/* Servicios */
.services {
    padding: 50px 10%;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.card {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s;
    border: 1px solid #333;
}

.card:hover {
    transform: translateY(-10px);
    border-color: #007bff;
}

.card h3 {
    margin-bottom: 15px;
    color: #007bff;
}

footer {
    text-align: center;
    padding: 40px;
    background-color: #0a0a0a;
    font-size: 0.9rem;
}

/* Botón Flotante de WhatsApp */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* Verde oficial */
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(37, 211, 102, 0.5); /* Brillo verde */
    transition: all 0.3s ease;
    z-index: 1000;
}

.whatsapp-btn img {
    width: 25px;
    height: 25px;
}

.whatsapp-btn:hover {
    transform: scale(1.1); /* Se agranda un poco al pasar el mouse */
    background-color: #128c7e; /* Verde más oscuro al hover */
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.8);
}

/* Ocultar texto en móviles para que solo quede el círculo del icono */
@media (max-width: 600px) {
    .wsp-text {
        display: none;
    }
    .whatsapp-btn {
        padding: 15px;
        border-radius: 50%;
    }
}


/* Ajustes para el Logo PNG */
.logo-img {
    height: 50px;       /* Ajusta la altura según necesites */
    width: auto;        /* Mantiene la proporción original */
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05); /* Efecto sutil al pasar el mouse */
}

/* Ajuste del Nav para alinear el logo verticalmente */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Centra el logo y los links verticalmente */
    padding: 10px 10%;
    background-color: #000000;
    border-bottom: 1px solid #333;
}