@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700;800;900&family=Open+Sans:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  min-height: 100vh;
}

@media (min-width: 769px) {
  html, body {
    height: 100vh;
    overflow: hidden;
  }
}

body {
  font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  background-color: #ffffff;
  color: #2d3748;
  display: flex;
  flex-direction: column;
}

/* ======= HEADER ======= */
.header { width: 100%; flex-shrink: 0; line-height: 0; } 
.header img { width: 100%; height: 22vh; display: block; object-fit: fill; }
/* ======= MAIN CONTENT (HOME) ======= */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2vh 20px;
  min-height: 0;
  overflow: hidden;
}

/* ======= IMAGE BUTTONS ======= */
.nav-top {
  margin-bottom: 1.5vh;
}

.nav-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 900px;
  margin-bottom: 2vh;
}

.nav-buttons a,
.nav-top a {
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.nav-buttons a:hover,
.nav-top a:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.3);
}

.btn-img {
  height: clamp(45px, 7vh, 75px);
  width: auto;
  display: block;
  border-radius: 12px;
}

/* ======= INSTAGRAM ======= */
.instagram-section {
  text-align: center;
}

.instagram-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: clamp(14px, 1.5vw, 18px);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #1a7a6d;
  margin-bottom: 6px;
}

.btn-img-ig {
  height: clamp(35px, 5vh, 50px);
  width: auto;
  display: block;
  margin: 0 auto;
  transition: transform 0.2s ease;
}

.btn-img-ig:hover {
  transform: translateY(-3px);
}

/* ======= FOOTER ======= */
.footer {
  width: 100%;
  position: relative;
  flex-shrink: 0;
  line-height: 0;
}

.footer-wave {
  width: 100%;
  height: 22vh;
  display: block;
  object-fit: fill;
}

.footer-overlay {
  position: absolute;
  bottom: 1vh;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.organiza-label {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(10px, 1.2vw, 14px);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.logos-row {
  display: flex;
  align-items: center;
  gap: 18px;
}

.organizer-logo {
  height: clamp(25px, 4vh, 50px);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ============================================================
   INNER PAGES (como-llegar, etc.)
   ============================================================ */
.page-content {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 3vh 4vw;
}

.page-layout {
  display: flex;
  gap: 3vw;
  max-width: 1100px;
  margin: 0 auto;
}

/* Sidebar */
.sidebar {
  flex-shrink: 0;
  width: 200px;
}

.back-arrow {
  display: inline-block;
  margin-bottom: 1.5vh;
}

.back-arrow-img {
  height: 35px;
  width: auto;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 3px solid #e87d3e;
  padding-left: 12px;
}

.sidebar-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  color: #1a7a6d;
  padding: 4px 0;
  transition: color 0.2s;
}

.sidebar-link:hover {
  color: #e87d3e;
}

.sidebar-link.active {
  color: #e87d3e;
}

/* Page main content */
.page-main {
  flex: 1;
  min-width: 0;
}

.page-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(20px, 2.5vw, 32px);
  color: #1a7a6d;
  margin-bottom: 1.5vh;
}

.location-icon {
  font-size: clamp(14px, 1.4vw, 18px);
  color: #e87d3e;
  margin-bottom: 4px;
}

.location-address {
  font-size: clamp(16px, 1.8vw, 24px);
  color: #2d3748;
  margin-bottom: 2vh;
}

.map-container {
  margin-bottom: 2vh;
  border-radius: 12px;
  overflow: hidden;
}

.map-container iframe {
  display: block;
}

.transport-info {
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.7;
  color: #2d3748;
}

.transport-info em {
  font-weight: 700;
  color: #2d3748;
}

/* ======= INFO GENERAL ======= */
.info-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 2vw, 24px);
  color: #e87d3e;
  margin-top: 2vh;
  margin-bottom: 0.5vh;
}

.info-text {
  font-size: clamp(13px, 1.3vw, 16px);
  line-height: 1.7;
  color: #2d3748;
  margin-bottom: 1vh;
}

.info-highlight {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: clamp(18px, 2.5vw, 30px);
  color: #e87d3e;
  margin-top: 3vh;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ======= STANDS MAP ======= */
.stands-map {
  margin-top: 1vh;
}

.stands-map-img {
  width: 100%;
  max-width: 750px;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .header img {
    height: 18vh;
  }

  .footer-wave {
    height: 18vh;
  }

  .page-layout {
    flex-direction: column;
    gap: 2vh;
  }

  .sidebar {
    width: 100%;
  }

  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    border-left: none;
    padding-left: 0;
    border-bottom: 2px solid #e87d3e;
    padding-bottom: 8px;
  }

  .sidebar-link {
    font-size: 10px;
  }

  /* === BOTONES APILADOS EN CELULAR === */
   .main-content {
    overflow: visible;
    justify-content: flex-start;
    padding: 2vh 15px;
  }

  .nav-buttons {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    max-width: 240px;
  }

  .nav-top {
    width: 100%;
    max-width: 240px;
    display: flex;
    justify-content: center;
    margin-bottom: 1vh;
  }

  .nav-buttons a,
  .nav-top a {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .btn-img {
    height: auto;
    width: 100%;
    max-width: 220px;
  }


  .footer-overlay {
    gap: 10px;
  }

  .logos-row {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .header img {
    height: 15vh;
  }

  .footer-wave {
    height: 15vh;
  }

  .main-content {
    padding: 1.5vh 10px;
  }

  .nav-buttons,
  .nav-top {
    max-width: 200px;
  }

  .btn-img {
    max-width: 180px;
  }
  .footer-overlay {
    flex-direction: column;
    gap: 4px;
  }

  .logos-row {
    gap: 10px;
  }

  .page-content {
    padding: 2vh 3vw;
  }
}
