/* Estilo profesional actualizado para web de conciertos de música clásica */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #1e1e1e;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

#cabecera {
  background-color: #1e1e1e;
  padding: 1px 0;
  text-align: center;
  color: #e5d3b3;
  min-height: 15px;
}

#cabecera h1 {
  font-size: 32px;
  margin: 2px 0;
}

#cabecera h1 img {
  width: 42px;
  height: 84px;
  float: left;
  margin-right: 5px;
}

/* Media query para dispositivos móviles */
@media screen and (max-width: 768px) {
  #cabecera {
    padding: 0;
    min-height: 12px;
  }

  #cabecera h1 {
    font-size: 8px;
    margin: 0;
    line-height: 1;
    padding: 0;
  }
  
  #cabecera h1 img {
    width: 12px;
    height: 24px;
    margin-right: 2px;
  }
}

/* Media query para dispositivos muy pequeños */
@media screen and (max-width: 480px) {
  #cabecera h1 {
    font-size: 7px;
  }
  
  #cabecera h1 img {
    width: 10px;
    height: 20px;
  }
}

#inicio {
  background-color: #f4f1ec;
  padding: 100px 20px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

#programacion {
  background-color: #faf9f6;
  padding: 80px 20px;
  text-align: center;
}

#footer {
  background-color: #1e1e1e;
  color: #e5d3b3;
  padding: 40px 20px;
  text-align: center;
}

h1, h2, h3 {
  font-family: 'Georgia', serif;
  line-height: 1.4em;
  letter-spacing: 0.02em;
  margin: 10px 0;
}

h1 {
  color: #2f2f2f;
  font-size: 32px;
  font-weight: 600;
}

h2 {
  color: #3d3d3d;
  font-size: 24px;
  font-weight: 500;
}

h3 {
  color: #5e5e5e;
  font-size: 18px;
  font-weight: 400;
}

.topnav {
  background-color: #1e1e1e;
  overflow: hidden;
}

.topnav a {
  float: left;
  display: block;
  color: #e5d3b3;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 16px;
  font-family: 'Georgia', serif;
}

.active {
  background-color: #2f2f2f;
  color: #fff;
}

.topnav .icon {
  display: none;
}

.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  font-size: 16px;
  border: none;
  outline: none;
  color: #e5d3b3;
  padding: 14px 16px;
  background-color: inherit;
  font-family: 'Georgia', serif;
  margin: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #2f2f2f;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.4);
  z-index: 1;
}

.dropdown-content a {
  float: none;
  color: #e5d3b3;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  font-family: 'Georgia', serif;
}

.topnav a:hover, .dropdown:hover .dropbtn {
  background-color: #444;
  color: #fff;
}

.dropdown-content a:hover {
  background-color: #ddd;
  color: #000;
}

.dropdown:hover .dropdown-content {
  display: block;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child), .dropdown .dropbtn {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .topnav.responsive .dropdown {float: none;}
  .topnav.responsive .dropdown-content {position: relative;}
  .topnav.responsive .dropdown .dropbtn {
    display: block;
    width: 100%;
    text-align: left;
  }
}

