/* ===== RESET =============================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== BODY =============================================== */
body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  background-image: url("../Imagenes/Fondo.jpg");
  background-repeat: repeat;
  padding-top: 220px;
}

/* ===== TIPOGRAFÍA =============================================== */
h1, h2 {
  font-family: 'Bebas Neue', sans-serif;
}

h1 {
  font-size: 34px;
  margin-bottom: 10px;
  color: #73191A;
  font-weight: bold;
}

h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

p {
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto 10px;
}

/* ===== HEADER =============================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  background: rgba(115, 25, 26, 0.95);
  backdrop-filter: blur(6px);
  text-align: center;
  padding: 6px 0;

  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  transition: all 0.35s ease;
}

header.shrink {
  padding: 2px 0;
  background: rgba(115, 25, 26, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

header.shrink .banner {
  max-height: 55px;
}

/* ===== HEADER TOP =============================================== */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px;
}

/* ===== BANNER =============================================== */
.banner {
  height: 150px;
  width: auto;
  display: block;
  margin: auto;
}

/* ===== NAV =============================================== */
.nav {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 10px auto;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.75);
  padding: 8px;
}

.nav a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.nav a:hover {
  background: rgba(255,255,255,0.15);
}

/* ===== HERO =============================================== */
.hero {
  max-width: 1100px;
  margin: 30px auto;
  padding: 40px 20px;
  border-radius: 18px;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

.hero h2 {
  color: #73191A;
}

.hero p {
  font-size: 18px;
  color: #73090B;
}

/* ===== LAYOUT =============================================== */
.container {
  display: grid;
  grid-template-columns: 2.6fr 0.85fr;
  gap: 22px;
  max-width: 1200px;
  margin: auto;
  padding: 15px;
}

/* ===== CARD =============================================== */
.card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeInUp 0.6s ease;
  margin-bottom: 20px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.card img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

/* ===== SIDEBAR =============================================== */
.sidebar {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.sidebar .card {
  text-align: center;
}

.sidebar img {
  max-width: 200px;
  margin: 8px auto;
  display: block;
}

/* ===== BUTTONS =============================================== */
.button {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  background: linear-gradient(135deg, #73191A, #a3292b);
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-2px) scale(1.07) rotate(-1deg);
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
}

.button.secondary {
  background: #444;
}

.button.secondary:hover {
  background: #222;
}


.button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent
  );
  transition: all 0.5s ease;
}

.button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -40px;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  transform: translateX(-50%);
  opacity: 0;
}


.button:hover::before {
  left: 120%;
}


.button:hover::after {
  animation: bubbleUp 0.6s ease-out forwards;
}
@keyframes bubbleUp {
  0% {
    bottom: -30px;
    opacity: 0;
    transform: translateX(-50%) scale(0.6);
  }
  50% {
    opacity: 0.6;
  }
  100% {
    bottom: 120%;
    opacity: 0;
    transform: translateX(-50%) scale(1.4);
  }
}

/* ===== COUNTDOWN =============================================== */
#countdown {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.time-box {
  background: linear-gradient(145deg, #73191A, #4a1011);
  color: white;
  padding: 14px;
  border-radius: 14px;
  min-width: 90px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  animation: pulse 2s infinite;
}

.time-box span {
  display: block;
  font-size: 30px;
  font-weight: bold;
}

.time-box small {
  font-size: 12px;
  opacity: 0.85;
}

/* ===== GALERÍA =============================================== */
.gallery-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 30px;
  color: #73191A;
}

.gallery-years {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.year-card {
  text-align: center;
  padding: 18px;
}

.year-card h2 {
  margin: 10px 0;
}

.year-card img {
  border-radius: 14px;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.year-card img:hover {
  transform: scale(1.03);
}

.album-links {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.year-card.upcoming {
  opacity: 0.7;
}

.coming-soon {
  margin-top: 10px;
  font-style: italic;
  color: #666;
}

/* ===== EMBEDS RESPONSIVE =============================================== */
.map-responsive,
.embed-responsive {
  position: relative;
  width: 100%;
  height: 0;
  overflow: hidden;
}

.map-responsive {
  padding-bottom: 56.25%;
  border-radius: 12px;
}

.embed-responsive {
  padding-bottom: 152px;
}

.map-responsive iframe,
.embed-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== UTILIDADES =============================================== */
.highlight {
  font-weight: bold;
  color: #73191A;
}

.muted {
  color: #777;
  font-size: 14px;
}

.big {
  font-size: 20px;
}

.small {
  font-size: 13px;
}

/* ===== IMÁGENES =============================================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== FOOTER =============================================== */
footer {
  background: black;
  color: white;
  text-align: center;
  padding: 25px 15px;
  margin-top: 30px;
}

footer img {
  width: 130px;
  max-width: 100%;
  height: auto;
}


footer a {
  color: #f0c040;
  text-decoration: none;
}

/* ===== ANIMACIONES =============================================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ===== RESPONSIVE ================================================ */
@media (max-width: 768px) {

  body {
    padding-top: 120px;
  }

  .container {
    grid-template-columns: 1fr;
  }

  .banner {
    max-height: 55px;
  }

  .header-top {
    padding: 4px 10px;
  }

  .hamburger {
    font-size: 26px;
  }

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 12px;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    color: white;
    padding: 6px 10px;
    background: rgba(0,0,0,0.25);
    border-radius: 8px;
  }

  .menu {
    display: none;
    flex-direction: column;
    background: rgba(0,0,0,0.95);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 10px 0;
  }

  .menu a {
    padding: 10px;
    width: 100%;
    text-align: center;
  }

  .menu.show {
    display: flex;
  }

  #countdown {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .time-box {
    min-width: 60px;
    padding: 6px 8px;
    border-radius: 10px;
  }

  .time-box span {
    font-size: 20px;
  }

  .time-box small {
    font-size: 10px;
  }
}

@media (max-width: 600px) {
  .gallery-title {
    font-size: 24px;
  }
}



/* ===== PATROCINADORES =============================================== */

.categoria{
text-align:center;
margin-top:50px;
margin-bottom:20px;
font-family:'Montserrat',sans-serif;
}


/* PATROCINADORES PRINCIPALES */

.sponsors-principales{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:40px;
justify-items:center;
margin-bottom:40px;
}

.sponsors-principales img{
max-width:380px;
max-height:190px;
object-fit:contain;
}




/* PATROCINADORES NORMALES */

.sponsors-normales{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:35px;
justify-items:center;
margin-bottom:40px;
}

.sponsors-normales img{
max-width:240px;
max-height:130px;
object-fit:contain;
}


/* COLABORADORES */

.sponsors-colaboradores{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(110px,1fr));
gap:25px;
justify-items:center;
}

.sponsors-colaboradores img{
max-width:170px;
max-height:95px;
object-fit:contain;
}

/* HOVER para que salte cuando pasas el ratón */ 
.sponsors-principales a:hover,
.sponsors-normales a:hover,
.sponsors-colaboradores a:hover{

transform:scale(1.05);
box-shadow:0 5px 15px rgba(0,0,0,0.15);

}