/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Cuerpo */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #000;
    color: #fff;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.logo {
    font-size: 24px;
    letter-spacing: 2px;
}

/* Botón Hamburguesa */
.menu-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    height: 4px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.4s ease;
}

/* Transformar en X */
.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    flex-direction: column;
    z-index: 999;
}

.sidebar.show {
    right: 0;
}

/* Navegacion Links */
.nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s forwards;
}

.nav-links a {
    font-family: 'Dancing Script', cursive;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s, transform 0.3s;
}

.nav-links a:hover {
    color: #ff9800;
    transform: scale(1.1);
}

/* Sección ubicación */
.ubicacion {
    padding: 40px 20px;
    background-color: #000;
    color: white;
}

.ubicacion .contenido {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column; /* en celular, uno abajo del otro */
    align-items: center;
    gap: 30px;
}

.info-ubicacion {
    max-width: 100%;
    text-align: center;
}

.info-ubicacion h2 {
    font-size: 26px;
    font-family: 'Georgia', serif;
    margin-bottom: 10px;
}

.info-ubicacion hr {
    width: 40px;
    border: 1px solid #a0d6c5;
    margin: 10px auto;
}

.info-ubicacion p {
    font-weight: bold;
    color: #a0d6c5;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.botones-ubicacion {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.botones-ubicacion a {
    text-decoration: none;
    padding: 10px 18px;
    background-color: #2e5e4e;
    color: white;
    border-radius: 4px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.botones-ubicacion a:hover {
    background-color: #3c7864;
}

.mapa {
    width: 100%;
    max-width: 500px;
}

/* Animacion de los links */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main */
main {
    padding-top: 80px;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    .logo {
        font-size: 20px;
    }
    .nav-links a {
        font-size: 18px;
    }
    .ubicacion .contenido {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
    }

    .info-ubicacion {
        text-align: left;
    }

    .mapa {
        flex: 1;
    }

    .mapa iframe {
          height: 400px;
    }
}