/* Estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: Arial, sans-serif;
    color: #fff;
    overflow-x: hidden;
}

/* Estilos para ambos videos */
#bg-video, #bg-video-mobile {
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto; /* Mantener la proporción */
    height: auto; /* Mantener la proporción */
    z-index: -1;
    opacity: 0.7;
    transform: translate(-50%, -50%); /* Centrar el video */
}

/* Ocultar el video de escritorio en dispositivos móviles */
.mobile-video {
    display: none;
}

/* Mostrar el video de escritorio en pantallas grandes */
@media (max-width: 768px) {
    .desktop-video {
        display: none; /* Ocultar video de escritorio */
    }
    .mobile-video {
        display: block; /* Mostrar video móvil */
    }
}

/* Contenedor principal con CSS Grid */
.container {
    display: grid;
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
        "header"
        "main"
        "footer";
    min-height: 100vh;
}

/* Header */
.header {
    grid-area: header;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Distribuye el logo a la izquierda y el menú a la derecha */
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 100px;
    height: auto;
    margin: 0; /* Elimina el margen inferior para ajustar el logo */
}


/* Menú de navegación */
.menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.menu ul li {
    text-transform: uppercase;
}

.menu ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s;
}

.menu ul li a:hover {
    color: #ffcc00;
}

/* Main */
.main {
    grid-area: main;
    padding: 40px 20px;
    text-align: center;
}

/* Secciones */
section {
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.6);
    margin: 20px 0;
    border-radius: 8px;
}

/* Footer */
.footer {
    grid-area: footer;
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
    font-size: 0.9em;
}

/* Botón flotante de WhatsApp */
.whatsapp-button {
    position: fixed;
    top: 50%;
    right: -11px;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 10;
    transition: transform 0.3s ease;
}


.whatsapp-button:hover {
    transform: translateY(-50%) scale(1.1);
}

/* Responsivo */
@media (max-width: 768px) {
    .menu ul {
        flex-direction: column;
    }
    
    .logo img {
        width: 80px;
    }
}
/* Contenedor del mensaje de bienvenida */
.welcome-message {
    width: 100%;
    padding: 5px 0;
    background: rgba(0, 0, 0, 0.7); /* Fondo semitransparente */
    text-align: center;
}

.welcome-message marquee {
    font-size: 1.5em;
    color: #ffcc00;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .welcome-message marquee {
        font-size: 1.2em; /* Tamaño de letra para móviles */
    }
}
/* Estilos para los servicios */
.servicio {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    transition: transform 0.3s;
}

.servicio:hover {
    transform: scale(1.02);
}

.precio {
    font-size: 2em;
    color: #ffcc00;
}

.descripcion {
    margin: 10px 0;
}

/* Botones */
.botones {
    display: flex;
    justify-content: center;
    gap: 10px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #ffcc00;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #ffc700;
}

/* Ventana emergente */
.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    width: 90%;
    max-width: 400px;
    text-align: center;
    font-family: Arial, sans-serif;
}

/* Fondo oscuro detrás del popup */
.popup::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb (0 0 0 / 90%); /* Fondo semi-transparente */
    z-index: -1;
    border-radius: 10px;
    background-image: url('img/logo.png'); /* Ruta del logo */
    background-repeat: no-repeat;
    background-position: center;
    background-size: 70%;
    opacity: 0.38; /* Para que el logo sea una marca de agua suave */
}

/* Estilos para el contenido */
.popup h2 {
    margin-top: 0;
    color: #333;
}

.payment-details p {
    margin: 5px 0;
    font-weight: bold;
    color: #555;
}

.countdown-label {
    font-size: 14px;
    color: #333;
    margin-top: 15px;
}

.countdown-container {
    font-size: 18px;
    font-weight: bold;
    background-color: #f5f5f5;
    padding: 8px;
    border-radius: 5px;
    display: inline-block;
    color: #e53935;
    margin: 10px 0;
}

/* Botón de envío de comprobante */
.upload-button {
    display: inline-block;
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    margin-top: 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.upload-button:hover {
    background-color: #45a049;
}

/* Nota */
.note {
    font-size: 12px;
    color: #777;
    margin-top: 15px;
    line-height: 1.4;
}




/* Botón de cerrar */
.close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #666;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#countdown {
    font-weight: bold;
    color: red;
}
/* Estilos para la sección "Trabaja desde casa" */
#trabaja-con-nosotros {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 20px 0;
    transition: transform 0.3s;
}

#trabaja-con-nosotros h2 {
    font-size: 2em;
    color: #ffcc00;
}

.botones-trabaja {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.botones-trabaja button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #ffcc00;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.botones-trabaja button:hover {
    background-color: #ffc700;
}

/* Estilos específicos para el formulario emergente */
.form-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

/* Fondo oscuro detrás del form-popup */
.form-popup::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* Contenido del formulario emergente */
.form-popup-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.form-popup-content label {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

.form-popup-content input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-popup-content button {
    background-color: #ffd700;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
}

.form-popup-content .close-form {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
    color: #666;
}

.form-popup-content .close-form:hover {
    color: black;
}
/* Estilos para las redes sociales fijas */
.social-media-icons {
    position: fixed;
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10;
}

.social-media-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 20%;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.social-media-icons a:hover {
    transform: scale(1.1);
    background-color: #ffcc00; /* Cambia el color en el hover */
}

.social-media-icons a i {
    font-size: 24px;
}

/* Colores personalizados para cada red social */
.social-media-icons a:nth-child(1) {
    background-color: #1877f2; /* Facebook */
}

.social-media-icons a:nth-child(2) {
    background-color: #e1306c; /* Instagram */
}

.social-media-icons a:nth-child(3) {
    background-color: #000000; /* TikTok */
}

/* Responsivo */
@media (max-width: 768px) {
    .social-media-icons a {
        width: 40px;
        height: 40px;
    }

    .social-media-icons a i {
        font-size: 20px;
    }
}
