/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth; /* Scroll suave */
}

/* Body */
body {
    background-color: #34495e; /* Fondo oscuro */
    color: #e0e0e0; /* Texto claro */
    line-height: 1.6;
    font-size: 16px;
}

/* Header */
header {
    position: fixed; /* Nav fijo */
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(19, 41, 63, 0.95); /* Opaco */
    color: white;
    padding: 12px 0;
    text-align: center;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 2px 0;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #bbb9b9;
}

header h1 {
    font-size: 2.5em;
    margin-top: 10px;
    font-weight: 600;
}

/* Ajuste para el scroll al nav fijo */
main {
    margin-top: 140px; /* Altura del header fijo */
    padding: 20px;
}

/* Secciones */
section {
    padding: 40px 20px;
    margin: 20px 0;
    background-color: rgba(255, 255, 255, 0.05); /* Fondo opaco muy sutil */
    border-radius: 8px;
}

/* Títulos de sección */
section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

/* Productos y Servicios */
.productos {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.producto {
    background-color: rgba(255, 255, 255, 0.1); /* Fondo opaco */
    padding: 20px;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 250px;
}

.producto h3 {
    font-size: 1.8em;
    color: #4d91f7;
    margin-bottom: 15px;
}

.producto p {
    font-size: 1.1em;
    color: #ccc;
}

/* Imagen en Productos y Servicios */
.producto img {
    width: 75%;
    max-width: 200px;
    height: auto;
    margin-top: 15px;
    border-radius: 8px;
    opacity: 0.85;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.producto img:hover {
    transform: scale(1.05);
    opacity: 1;
}

/* Sección de Contacto */
#Contacto {
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.1); /* un poco más claro */
    border-radius: 8px;
    text-align: center;
}

/* Títulos */
#Contacto h2 {
    font-size: 2em;
    margin-bottom: 30px;
    color: #fff;
}

/* Tarjetas de contacto */
.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    max-width: 600px;
    margin: 0 auto 40px auto;
}

/* Lista de datos */
.contacto-info ul {
    list-style: none;
    padding: 0;
    width: 100%;
}

.contacto-info li {
    background-color: rgba(13, 110, 253, 0.15); /* más claro para mejorar contraste */
    color: #fff;
    font-size: 1.2em;
    margin: 10px 0;
    padding: 15px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: background-color 0.3s ease;
}

.contacto-info li:hover {
    background-color: rgba(13, 110, 253, 0.25);
}

/* Iconos en la lista */
.contacto-info li::before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    background-size: cover;
}

/* Iconos específicos */

.contacto-info li:nth-child(2)::before {
    background-image: url('icon-ubicacion.png');
}
.contacto-info li:nth-child(3)::before {
    background-image: url('1.jpg');
}

/* Enlaces de redes sociales (sin cambios) */
.contacto-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 20px;
}

.contacto-links a img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-links a img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.7);
}

/* Formulario */
.contacto-formulario {
    margin-top: 30px;
    background-color: rgba(255, 255, 255, 0.1); /* más claro */
    padding: 25px 20px;
    border-radius: 12px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.contacto-formulario label {
    display: block;
    margin: 10px 0 5px;
    color: #fff;
    font-weight: 500;
}

.contacto-formulario input,
.contacto-formulario select,
.contacto-formulario textarea {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: none;
    font-size: 1em;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
}

/* Hacer el select más visible */
.contacto-formulario select {
    color: #000; /* texto negro */
    background-color: #fff; /* fondo blanco */
    font-weight: 500;
}

.contacto-formulario input::placeholder,
.contacto-formulario textarea::placeholder {
    color: #ccc;
}

.contacto-formulario button {
    background-color: #0D6EFD;
    color: #fff;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contacto-formulario button:hover {
    background-color: #084298;
    transform: scale(1.03);
}

/* Confirmación de envío */
#mensajeConfirmacion {
    color: #0D6EFD;
    font-weight: bold;
    margin-top: 15px;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .contacto-info li {
        font-size: 1em;
        padding: 12px 15px;
    }

    .contacto-links a img {
        width: 45px;
        height: 45px;
    }
}

/* Nuevos estilos para los botones de Instagram y WhatsApp */
.contacto-formulario .contacto-links {
    margin-top: 15px; /* Espaciado superior */
}

.contacto-formulario .contacto-links a {
    text-decoration: none;
}

.contacto-formulario .contacto-links a img {
    width: 40px;  /* Tamaño mediano */
    height: 40px;
    border-radius: 50%; /* Íconos redondeados */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contacto-formulario .contacto-links a img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.7);
}

