/* ===============================
   FUENTES PERSONALIZADAS
================================= */
@font-face {
    font-family: 'EdinguDemo';
    src: url('Edingu2.ttf') format('opentype');
  }
  
  @font-face {
    font-family: 'IntroRustG';
    src: url('IntroRustG-Base2Line.otf') format('truetype');
  }
  
  /* ===============================
     ESTILOS GENERALES
  ================================= */
  body {
    margin: 0;
    padding: 0;
    background-image: url('fondo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    font-family: 'EdinguDemo', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  
  .background {
    width: 100%;
    max-width: 1200px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
  }
  
  /* ===============================
     NAVBAR
  ================================= */
  .navbar {
    position: absolute;
    top: 30px; /* bajamos navbar para centrar mejor en vertical */
    left: 0;
    width: 100%;
    padding: 10px 30px;
    z-index: 1000;
    display: flex;
    align-items: center;
    background: transparent;
  }
  
  .logo-link {
    display: flex;
    align-items: center;
    margin-right: 20px;
  }
  
  #logoindex {
    max-width: 150px;
    height: auto;
    margin: 0;
  }
  
  .logo-link:hover img {
    filter: brightness(1000%) grayscale(100%) contrast(1000%);
  }
  
  .navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
  }
  
  .navbar li a {
    color: #e3fc0a;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: bold;
    transition: color 0.3s;
    font-family: 'IntroRustG', sans-serif;
  }
  
  .navbar li a:hover {
    color: white;
  }
  
  /* ===============================
     BOTÓN DE CAMBIO DE IDIOMA
  ================================= */
  #btn-cambiar-idioma {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #e3fc0a;
    color: black;
    border: 1px solid #e3fc0a;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    z-index: 9999;
    transition: background-color 0.3s, color 0.3s;
  }
  
  #btn-cambiar-idioma:hover {
    background-color: transparent;
    color: #e3fc0a;
  }
  
  /* ===============================
     CONTENIDO PRINCIPAL CENTRADO
  ================================= */
  .contenido-central {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px 60px; /* más padding arriba para bajar el contenido */
    box-sizing: border-box;
  }
  
  #titulo {
    max-width: 90%;
    height: auto;
    margin-bottom: 30px;
  }
  
  section p {
    font-size: 1.5rem;
    margin: 10px;
    color: white;
  }
  
  #proximamente-es,
  #proximamente-en {
    font-size: 3rem;
    margin-bottom: 20px;
  }
  
  #fecha-es,
  #fecha-en {
    font-size: 1.5rem;
    margin-top: 10px;
  }
  
  #lugar-es,
  #lugar-en {
    font-size: 1.5rem;
    color: #e3fc0a;
    margin-top: 10px;
  }
  
  /* ===============================
     BOTONES DE REDES SOCIALES
  ================================= */
  .social-buttons {
    position: relative;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 1000;
  }
  
  .social-icon {
    font-size: 40px;
    color: #e3fc0a;
    transition: color 0.3s ease;
    text-decoration: none;
  }
  
  .social-icon:hover {
    color: white;
  }
  
  /* ===============================
     FOOTER
  ================================= */
  .footer {
    margin-top: 50px;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    color: white;
    font-size: 1rem;
    font-family: 'Times New Roman', Times, serif;
    z-index: 1000;
  }
  
  /* ===============================
     ESTILOS PARA TALLERES
  ================================= */
  .talleres-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 150px;
    width: 100%;
    flex-wrap: wrap;
  }
  
  .taller {
    position: relative;
    cursor: pointer;
    max-width: 45%;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .taller img.taller-img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
  }
  
  .taller img.titulo-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    max-width: 80%;
    pointer-events: none;
  }
  
  .taller:hover img.taller-img {
    opacity: 0.5;
  }
  
  .taller:hover img.titulo-img {
    opacity: 1;
  }
  
  /* ===============================
     ESTILOS BOTÓN MENÚ HAMBURGUESA (MÓVIL SOLO)
  ================================= */
  /* Ocultar botón menú en escritorio */
  .btn-menu {
    display: none;
  }
  
  /* Mostrar solo en móvil */
  @media (max-width: 650px) {
    body {
      padding-top: 70px; /* espacio extra para navbar si es fijo */
    }
  
    .navbar {
      padding: 10px 15px;
      justify-content: space-between;
    }
  
    #logoindex {
      max-width: 120px;
    }
  
    /* Botón hamburguesa visible solo en móvil */
    .btn-menu {
      display: block;
      background: none;
      border: none;
      cursor: pointer;
      z-index: 1100;
      width: 40px;
      height: 40px;
      color: #e3fc0a;
      font-size: 1.8rem;
    }
  
    /* Menú oculto por defecto en móvil */
    .navbar ul {
      flex-direction: column;
      background: rgba(0, 0, 0, 0.85);
      position: fixed;
      top: 60px;
      right: 0;
      width: 220px;
      max-height: calc(100vh - 60px);
      overflow-y: auto;
      padding: 15px;
      gap: 15px;
      border-radius: 0 0 0 10px;
      display: none;
      box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    }
  
    /* Menú visible cuando está abierto */
    .navbar ul.menu-abierto {
      display: flex;
    }
  
    .navbar li a {
      font-size: 1.3rem;
      font-weight: normal;
    }
  
    #btn-cambiar-idioma {
      top: 15px;
      right: 15px;
      padding: 8px 15px;
      font-size: 0.9rem;
    }
  
    .background {
      max-width: 100%;
      padding: 0 10px;
    }
  
    .contenido-central {
      padding: 30px 10px;
    }
  
    .social-buttons {
      margin-top: 30px;
      gap: 15px;
    }
  
    .social-icon {
      font-size: 32px;
    }
  
    .footer {
      font-size: 0.9rem;
      padding: 15px 10px;
    }
  
    /* Talleres y obras se apilan en columna */
    .talleres-container,
    .obras-container {
      flex-direction: column;
      gap: 25px;
    }
  
    .taller,
    .obra {
      max-width: 100%;
    }
  
    .taller img.taller-img,
    .obra img.main-img {
      max-width: 100%;
      height: auto;
    }
  
    /* Textos más legibles en móviles */
    #proximamente-es,
    #proximamente-en {
      font-size: 2rem;
      margin-bottom: 15px;
    }
  
    #fecha-es,
    #fecha-en,
    #lugar-es,
    #lugar-en {
      font-size: 1.2rem;
    }
  
    /* Botones reservas más grandes y centrados */
    .btn-reservas {
      width: 80%;
      font-size: 1.3rem;
      margin-left: auto;
      margin-right: auto;
      display: block;
    }
  }
  