/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    display: flex;
    align-items: center;
    gap: 40px;
    padding: 15px 40px;

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000;
}

/* LOGO */
.logo {
    height: 50px;
}

/* NAV */
.nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* LINKS */
.nav a {
    text-decoration: none;
    color: white;
    font-weight: 700;
    transition: 0.3s ease;
}

.nav a:hover {
    color: #000; /* opcional efecto hover */
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: white;
    animation: pulseColor 2s infinite ease-in-out;
    transition: 0.3s ease;
}

/* Tamaño del ícono */
.menu-toggle svg {
    width: 40px;
    height: 40px;
}

/* SOCIAL ICONS HEADER */

.header-social {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 15px;
}

/* BASE ICON */

.social-icon {
    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: white;

    text-decoration: none;

    position: relative;

    transition: all 0.25s ease;
}

/* SVG SIZE */

.social-icon svg {
    width: 18px;
    height: 18px;
}

/* HOVER */

.social-icon:hover {
    transform: translateY(-2px) scale(1.08);
}

/* COLORS */

.facebook {
    background: #1877f2;
}

.whatsapp {
    background: #25d366;
}

.instagram {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

/* PULSE EFFECT */

.whatsapp {
    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
    }
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .logo {
        height: 35px;
    }

    .header {
        height: 5%;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav ul {
        flex-direction: column;
        padding: 20px 40px;
    }

    .nav.active {
        max-height: 500px;
    }

    @keyframes pulseColor {
        0% {
            transform: scale(1);
            color: white;
            filter: drop-shadow(0 0 0px #f8c8dc);
        }
        50% {
            transform: scale(1.15);
            color: #f8c8dc;
            filter: drop-shadow(0 0 8px #f8c8dc);
        }
        100% {
            transform: scale(1);
            color: white;
            filter: drop-shadow(0 0 0px #f8c8dc);
        }
    }

    .menu-toggle {
        animation: pulseColor 2s infinite ease-in-out;
    }
}
