@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

/* Fondo de la página de contactos */
body {
    margin: 0;
    background: url('image/img6.jpg') no-repeat center center/cover; /* Usa una imagen de fondo */
    color: #eee;
    font-family: Poppins, sans-serif;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
    text-align: center;
    padding: 80px 0 200px;
    box-sizing: border-box;
    position: relative;
}

/* Contenedor de la información de contacto */
.contact-content {
    background: rgba(0, 0, 0, 0.6); /* Fondo oscuro semitransparente */
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
}

/* Títulos */
h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Lista de contactos */
.contact-list {
    margin-top: 20px;
}

.contact-item {
    margin: 10px 0;
    font-size: 1.2rem;
}

/* Estilos de los números de teléfono */
.phone {
    display: block;
    text-decoration: none;
    color: #f1683a;
    font-weight: 600;
    transition: transform 0.3s ease-in-out, color 0.3s ease-in-out;
}

.phone:hover {
    color: #ff8a65;
    transform: scale(1.1);
}

/* Estilos del encabezado */
header {
    width: 100%;
    max-width: 1140px;
    margin: auto;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: 40px;
    margin-right: 15px;
    position: relative;
    border-radius: 50%;
    padding: 8px;
    background: rgba(241, 104, 58, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

.logo-img::before,
.logo-img::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: -1;
}

.logo-img::before {
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    background: rgba(241, 104, 58, 0.2);
    animation: spark 1.5s linear infinite;
}

.logo-img::after {
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    background: rgba(241, 104, 58, 0.1);
    animation: spark 2s linear infinite reverse;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 15px #f1683a,
                    inset 0 0 8px #f1683a;
    }
    50% {
        box-shadow: 0 0 25px #f1683a,
                    inset 0 0 15px #f1683a;
    }
}

@keyframes spark {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2) rotate(180deg);
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1) rotate(360deg);
        opacity: 0.8;
    }
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f1683a;
    letter-spacing: 1px;
    margin-left: 10px;
}

/* Navegación */
nav {
    display: flex;
    align-items: center;
}

nav a {
    color: #fff;
    margin: 0 15px;
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease-in-out;
}

nav a:hover {
    color: #f1683a;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background-color: #f1683a;
    transition: width 0.3s ease-in-out;
}

nav a:hover::after {
    width: 100%;
}

/* Marca el enlace activo */
.active {
    color: #f1683a;
}

/* Botón de menú para móviles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Estilos para el menú móvil activo */
nav.mobile-menu-active {
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
}

nav.mobile-menu-active a {
    margin: 10px 0;
    text-align: center;
    font-size: 1.2rem;
}

/* Estilos del pie de página */
footer {
    position: relative;
    padding: 30px 0 10px;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 100;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

footer video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.footer-content {
    width: 1140px;
    max-width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo-img {
    height: 30px;
    width: auto;
    margin-right: 10px;
}

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f1683a;
}

.footer-contact {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.footer-contact i {
    color: #f1683a;
    margin-right: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-social a {
    color: #eee;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #f1683a;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: #999;
    width: 1140px;
    max-width: 80%;
    margin: auto;
}

/* Responsividad para móviles */
@media screen and (max-width: 768px) {
    body {
        padding: 80px 0 350px;
    }
    
    .contact-content {
        width: 90%;
        padding: 15px;
        margin-bottom: 30px;
    }

    h1 {
        font-size: 1.8rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .contact-item {
        font-size: 1.1rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    nav a {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-logo, .footer-contact, .footer-social {
        margin-bottom: 10px;
    }
}
