@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');


.color1 {color: #a67f69;}
.color2 {color: #b29977;}
.color3 {color: #c2bb9d;}
.color4 {color: #e0e0c8;}
.color5 {color: #f6f6ed;}


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

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    background-color: #e0e0c8;
    color: #000;

}



/* Selector de idioma flotante */
.lang-toggle {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1001;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(31, 28, 26, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(246, 241, 231, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.lang-toggle:hover {
    transform: scale(1.1);
    background: rgba(31, 28, 26, 0.92);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.4);
}

.lang-flag {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 2px;
    display: block;
}

/* Estilo del navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #c2bb9d;
    color: #fff;
    padding: 13px 80px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Título */
.navbar-title {
    font-family: "Lora", serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #3b3634;
    cursor: pointer;
}
.navbar-title:hover {
    color: #f8f8f8;
    transition: 0.3s ease;
  }

/* Menú */
.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-items {
    list-style: none;
    display: flex;
    gap: 20px;
    transition: 1s ease;

}

.navbar-items li {
    margin: 0;
}

.navbar-items a {
    color: #201c0f;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.3s ease;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.navbar-items a:hover {
    color: #e0e0c8;
    text-decoration: overline;
    transition: 0.3s ease;
}

/* Clase para el enlace activo */
.navbar-items a.active {
  color: #e0e0c8;
  font-weight: 400;
  text-decoration: underline;
  transition: color 0.3s ease-in-out;
  text-underline-offset: 5px;
}


/* Botón menú hamburguesa */
.menu-toggle {
    display: none;
    background: none;
    color: #3b3634;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;;
}

/* Responsive (para pantallas pequeñas) */
@media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
  
    .navbar-items {
      display: none;
      flex-direction: column;
      align-items:center;
      position: absolute;
      top: 100%;
      right: 0;
      background-color: #c2bb9d;
      width: 100%;
      height: 100vh;
      padding-top: 20vh;

      transition: 1s ease;
    }
  
    .navbar-items.active {
      display: flex; /* Muestra el menú cuando está activo */
      border-top: solid #3b363441 1.4px;
      transition: 1s ease;

    }
  
    .menu-toggle.active {
      transform: rotate(90deg); /* Efecto de animación al convertirse en X */
      color: #3b3634; /* Cambia el color para dar un feedback visual */
    }
}