/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #fff;
    text-align: center;
}

/* Fondo con imagen en WebP */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('assets/images/background.webp') no-repeat center center fixed;
    background-size: cover;
}

/* Capa de desenfoque */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(8px); /* Aplica desenfoque */
    background: rgba(0, 0, 0, 0.3); /* Oscurece un poco la imagen */
}

/* Contenido */
header {
    position: relative;
    padding: 100px 20px;
}

header h1 {
    font-size: 2.5rem;
}

.btn {
    padding: 10px 20px;
    background: #d72638;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background: #a51c2f;
}

/* Secciones */
.about, .services, .contact {
    position: relative;
    padding: 50px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

/* Contacto */
.contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-links a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    margin: 10px 0;
    font-size: 1.2rem;
}

.contact-links img {
    width: 24px;
    margin-right: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }
    .btn {
        padding: 8px 15px;
    }
    .service-card {
        margin: 10px auto;
        width: 90%;
    }
}
.contact-links svg {
    width: 32px; /* Tamaño del icono */
    height: 32px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.contact-links a:hover svg {
    transform: scale(1.1); /* Efecto al pasar el mouse */
}