:root {
    --dorado: #D4AF37;
    --negro: #000000;
    --gris-oscuro: #1A1A1A;
    --blanco-suave: #F5F5F5;
    --dorado-hover: #b8912e;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: var(--negro);
    color: var(--blanco-suave);
}

/* HEADER */
header {
    background-color: var(--gris-oscuro);
    padding: 1rem 2rem;
    border-bottom: 2px solid var(--dorado);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 999;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    transition: transform 0.5s ease;
    height: 40px;
}

.logo img:hover {
    transform: scale(1.1);
}

.logo h1 {
    color: var(--dorado);
    font-size: 1.5rem;
    margin: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1001;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background-color: var(--dorado);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.menu-toggle.open div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open div:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

nav {
    display: flex;
    gap: 1rem;
}

nav a {
    color: var(--blanco-suave);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav a.active,
nav a:hover {
    background-color: var(--dorado);
    color: var(--negro);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        flex-direction: column;
        width: 100%;
        background-color: var(--gris-oscuro);
        position: absolute;
        top: 100%;
        left: 0;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.5s ease-in-out;
        z-index: 998;
    }

    nav.open {
        max-height: 300px;
    }

    nav a {
        padding: 1rem 2rem;
        border-top: 1px solid #333;
    }
}

/* efects */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.container {
    padding: 2rem;
    max-width: 1000px;
    margin: auto;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* FOOTER */
footer {
    background-color: var(--gris-oscuro);
    color: var(--blanco-suave);
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2rem;
}

.footer-section {
    flex: 1 1 200px;
}

.footer-section h4 {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--blanco-suave);
    padding-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #ccc;
    margin-top: 2rem;
    font-size: 0.9rem;
    width: 100%;
}

.footer-ws {
    border: 2px solid #ffffff;
    text-decoration: underline;
    color: var(--blanco-suave);
    font-weight: bold;
    border-radius: 5px;
    padding: 3px;
    animation: palpitar 5s infinite ease-in-out;
    display: inline-block;
    transform-origin: center;
}

@keyframes palpitar {

    0%,
    100% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.05);
        box-shadow: 0 0 8px rgba(136, 136, 136, 0.6);
    }

    50% {
        transform: scale(1);
    }

    75% {
        transform: scale(1.05);
    }
}

/* BOTON WHATSAPP */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse-glow 3s infinite;
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0px rgba(37, 211, 102, 0.5);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 15px rgba(37, 211, 102, 0.8);
        transform: scale(1.05);
    }

    100% {
        box-shadow: 0 0 0px rgba(37, 211, 102, 0.5);
        transform: scale(1);
    }
}