/* Reset básico y variables */
:root {
    --gold-color: #d4af37;
    --gold-hover: #b8962e;
    --text-color: #333333;
    --bg-header: #ffffff;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: Arial, sans-serif;
}

/* Estructura del Header */
.navbar {
    background-color: var(--bg-header);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
}

/* Logo */
.navbar-logo img {
    max-height: 65px;
    width: auto;
    display: block;
}

/* Lista del menú */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold-color);
}

/* Botón dorado para CONTACTAR */
.nav-link.btn-gold {
    background-color: var(--gold-color);
    color: #ffffff;
    padding: 9px 20px;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-link.btn-gold:hover {
    background-color: var(--gold-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Botón Hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Media Queries (Responsive para Móviles y Tablets) */
@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--bg-header);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
        box-shadow: 0 8px 10px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        max-height: 450px; /* Ajusta según el contenido expandido */
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        gap: 15px;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link.btn-gold {
        display: inline-block;
        margin-top: 5px;
    }
}