/* =====================
   RESET
===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #000;
  overflow-x: hidden;
}

/* =====================
   HERO animation: waterMove 20s ease-in-out infinite alternate;
===================== */
.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  background-image: url("https://cdn.jsdelivr.net/gh/analiaalarcon/imagenes-santafecoronda/header/lamaslinda00.jpg");
  background-size: cover;
  background-position: center;
  
}


@keyframes waterMove {
  from { background-position: center top; }
  to   { background-position: center bottom; }
}

/* oscurece imagen 
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  z-index: 1;
}
/*
@media (max-width: 768px) {
  .hero {
    animation: waterMoveMobile 16s ease-in-out infinite alternate;
  }
}*/

@keyframes waterMoveMobile {
  from {
    background-position: center center;
    transform: scale(1);
  }
  to {
    background-position: center 55%;
    transform: scale(1.04);
  }
}
/* =====================
   TOP BAR
===================== */
.hero-top {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  padding: 20px 24px;
  row-gap: 14px;
}


/* =====================
   GRUPO LOGOS HERO
===================== */
.hero-logos {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-logos a {
  display: block;
}

.hero-logos img {
 height: 86px;      /* TAMAÑO CONTROLADO */
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.8));
  transition: transform .3s ease;
}

.hero-logos img:hover {
  transform: translateY(-6px) scale(1.05);
}
@media (max-width: 768px) {

  .hero-top {
    padding: 16px 20px;
  }

  .hero-logos {
    gap: 14px;
    transform: scale(0.9);
    transform-origin: left center;
  }

  .hero-logos img {
    height: 50px;
  }
}

@media (max-width: 480px) {

  .hero-top {
    padding: 14px 16px; /* menos aire arriba */
  }

  .hero-logos {
    gap: 10px;
    transform: scale(0.82);     /* 👈 CLAVE */
    transform-origin: left center;
  }

  .hero-logos img {
    height: 42px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.5));
  }
}


/* =====================
   IDIOMAS
===================== */
.languages {
  grid-column: 3;
  grid-row: 2;
  justify-self: end;
}


.languages img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.6);
  transition: transform .3s ease;
}

.languages img:hover {
  transform: scale(1.1);
}

/* =====================
   MENÚ HAMBURGUESA (TU MODELO)
===================== */
.menu-hamburguesa {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
}


.hamburguesa-btn {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 50%;
  padding: 10px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .25s ease, background .25s ease;
}


.hamburguesa-btn:hover {
  transform: scale(1.08);
  background: rgba(0, 0, 0, 0.4);
}

.wave {
  fill: none;
  stroke: #ff7a00;
  stroke-width: 5;
  stroke-linecap: round;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.6));
  transition: transform .45s cubic-bezier(.4,0,.2,1), 
              opacity .25s ease;
}

/* =====================
   PANEL MENÚ
===================== */
.menu-panel {
  position: absolute;
  top: 96px;
  right: 24px;
  min-width: 240px;
  background: #0077b6;
  backdrop-filter: blur(18px);
  border-radius: 22px;
  padding: 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all .35s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,.45);
  z-index: 10;
}

.menu-panel.open {
  display: flex;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-open .hamburguesa-btn {
  background: rgba(255, 122, 0, 0.2);
}

.menu-open .wave1 {
  transform: translateY(20px) rotate(45deg);
}

.menu-open .wave2 {
  opacity: 0;
}

.menu-open .wave3 {
  transform: translateY(-20px) rotate(-45deg);
}


.menu-panel a {
  color: #ffffff;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 1px;
  font-weight: 500;
  position: relative;
}

.menu-panel a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #ff7a00;
  transition: width .3s ease;
}

.menu-panel a:hover::after {
  width: 100%;
}
@media (max-width: 480px) {

  .hamburguesa-btn {
    padding: 7px;
    transform: scale(0.9);
  }

  .hamburguesa-btn svg {
    width: 34px;
    height: 24px;
  }

  .wave {
    stroke-width: 4;
  }
}
@media (max-width: 480px) {

  .menu-panel {
    top: 86px;
    right: 16px;
    min-width: 200px;
    padding: 20px 22px;
    border-radius: 18px;
  }

  .menu-panel a {
    font-size: 15px;
    letter-spacing: 0.8px;
  }
}
@media (max-width: 480px) {
  .menu-panel {
    transform: translateY(-6px);
  }
}
.menu-panel a {
  padding-bottom: 6px;
}


/* =====================
   REDES
===================== */
.socials {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 5;
}

.socials a {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: white;
  border: 1px solid rgba(255,255,255,.55);
  color: #0077b6;
  text-decoration: none;
  transition: all .35s ease;
}

.socials a:hover {
  background: white;
  color: #ff7a00;
  transform: translateY(-3px);
}


/* =====================
   EDICIONES
===================== */

.editions {
  position: static;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center; 
  justify-content: center;
  gap: 36px;
}


.editions img {
  width: 110px;
  height: 110px;
  display: block; 
  object-fit: contain;
  border-radius: 50%;
  transition: all 0.35s ease;
}


.editions img:hover {
  transform: translateY(-8px) scale(1.05);
}


@media (max-width: 768px) {
  .editions {
    gap: 18px;
  }

  .editions img {
    width: 72px;
    height: 72px;
  }
}

/* =====================
   FOOTER
===================== */
.hero-footer {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  font-size: 12px;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,.85);
  z-index: 5;
}

/* =====================
   MOBILE
===================== */
@media (max-width: 768px) {

  /* HERO TOP: todo en una línea */
 .hero-top {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  padding: 20px 24px;
  row-gap: 14px;
}
.hero-logos {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 28px;
}
.hero-logos img {
  height: 78px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,.8));
  transition: transform .35s ease;
}

.hero-logos img:hover {
  transform: translateY(-6px) scale(1.04);
}


  /* LOGO */
  .hero-logo img {
    height: 70px;
  }

  /* EDICIONES: misma fila, centradas */
  .editions {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    gap: 18px;
    margin-top: 0;
  }

  .editions img {
    width: 72px;
    height: 72px;
  }

  /* MENÚ */
  .menu-hamburguesa {
    grid-column: 3;
    grid-row: 1;
  }

  /* IDIOMAS: alineados con menú y redes */
  .languages {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    margin-top: 4px;
  }

  .languages img {
    width: 24px;
    height: 24px;
  }

  /* REDES */
  .socials {
    right: 12px;
  }

  /* FOOTER */
  .hero-footer {
    font-size: 10px;
    bottom: 10px;
  }
}



.main-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: justify;
    max-width: 900px;
    margin: auto;
  }
  .main-section h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #004080;
    text-align: center;
  }
  .main-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #555;
  }
  .main-section img {
    max-width: 70%;
    max-height: 70%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
  }
.area-container {
  margin: 40px auto;
  max-width: 1000px;
}
.area-title {
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}
.area-container {
  margin: 40px auto;
  max-width: 1000px;
  padding: 0 20px;
  overflow: hidden;
}
.area-title {
  font-size: 1.8em;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: center;
  align-items: center;
  padding: 40px 0;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .area-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .area-grid {
    grid-template-columns: 1fr; 
    padding: 20px; 
  }
}
.member-destacado {
  text-align: center;
  margin-bottom: 30px;
}
.member {
  text-align: center;
  width: 100%; 
  

}
.member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 0px solid #555;
}
.member h3 {
  font-size: 1.2em;
  margin: 10px 0 5px;
}
.member p {
  font-size: 0.9em;
  margin: 0;
  color: #555;
}
.form-wrapper {
  display: flex;
  justify-content: center; 
  align-items: center;    
  height: 100vh;         
  width: 100%;            
  background-color: inherit;
}
.contact-form-container {
  background: #fffefe;
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: 0px 4px 10px rgba(255, 255, 255, 0);
  width: 100%;
  max-width: 600px; 
  text-align: center;
}
h2 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}
.form-group {
  margin-bottom: 10px;
  text-align: left;
}
label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 5px;
}
input, textarea {
  width: 100%;
  padding: 8px 10px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
textarea {
  resize: none;
}
button {
  background-color: #007BFF;
  color: #fff;
  border: none;
  padding: 8px 15px; 
  font-size: 14px; 
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}
button:hover {
  background-color: #0056b3;
}
.g-recaptcha {
  margin: 10px 0;
}
.comision-directiva-container {
  font-family: Arial, sans-serif;
  margin: 20px;
  padding: 20px;
  color: #333;
}
.comision-directiva-container h1,
.comision-directiva-container h2 {
  color: #003366;
  text-align: left;
  margin-top: 30px;
}
.comision-directiva-container h3 {
  margin-top: 20px;
  color: #00529B;
  text-align: left;
  padding: 5px 0;
}
.comision-directiva-container p {
  font-size: 16px;
  line-height: 1.6;
}
.comision-directiva-container ul {
  list-style-type: none;
  padding: 0;
}
.comision-directiva-container li {
  padding: 5px 0;
}
.comision-directiva-container .section-title {
  font-weight: bold;
  font-size: 18px;
  margin-top: 30px;
  text-align: left;
}
.comision-directiva-container .contact-info {
  margin-top: 20px;
}

.message {
  text-align: center;
}
.message h1 {
  font-size: 1.5rem;
  color: #085391;
}
.message p {
  font-size: 1rem;
  margin-top: 10px;
}  
main {
    margin-top: 100px; 
    transition: none; 
    padding-top: 100px; 
    width: 100%;
    padding: 40px;
    margin: 0 auto;
    background-color: #f7f9fc; 
    color: #333; 
    font-family: 'Roboto', sans-serif;
  }
.ediciones-section {
  font-family: 'Arial', sans-serif;
  padding: 20px;
  background-color: #f9f9f9;
}
.section-title {
  text-align: center;
  font-size: 2rem;
  
  color: #333;
}
.toggle-ediciones-btn {
  display: block;
  margin: 0 auto 20px auto;
  padding: 10px 20px;
  font-size: 1.2rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.toggle-ediciones-btn:hover {
  background-color: #0056b3;
}
.option-card {
  background: #ffffff;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 100%;
  margin-bottom: 20px;
}
.marathon-menu {
  list-style: none;
  padding: 0;
}
.dropdown-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  text-align: left;
  width: 100%;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 10px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}
.dropdown-btn:hover {
  background-color: #0056b3;
}
.dropdown-content {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  background: #f4f4f4;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-top: 5px;
  transition: max-height 0.5s ease, padding 0.5s ease;
}
.dropdown-content.open {
  max-height: 500px; 
  padding: 10px;
}
.contact-form {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}
.contact-form h2 {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}
.form-group {
  margin-bottom: 15px;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}
.form-group textarea {
  resize: none;
  height: 100px;
}
.form-group button {
  width: 100%;
  padding: 10px;
  background-color: #007BFF;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
}
.form-group button:hover {
  background-color: #0056b3;
}
.tooltip {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .tooltip {
  opacity: 1;
}
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
body.ediciones {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}
.ediciones-container {
  max-width: 100%;
  margin: 20px auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.ediciones-header h1 {
  text-align: center;
  color: #0056b3;
}
.ediciones-dropdown {
  text-align: center;
  margin-bottom: 20px;
}
.ediciones-dropdown select {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.edicion {
  width: 100%; 
  max-width: 100%; 
  overflow-x: hidden; 
  margin: 0;
  padding: 0 10px; 
  box-sizing: border-box;
}
@media (max-width: 768px) {
  .edicion {
    width: 100%; 
    max-width: 100%; 
    margin: 0; 
    padding: 0 10px; 
    box-sizing: border-box; 
  }
}

.edicion h2 {
  color: #0056b3;
  margin-bottom: 10px;
}

.edicion-detalles {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 14px;
}
.edicion-detalles p {
  margin: 5px 0;
  width: 48%;
}
.edicion-ganador {
  text-align: center;
  margin-bottom: 20px;
}
.edicion-ganador img {
  max-width: 150px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.edicion-ganador p {
  margin-top: 10px;
  font-size: 14px;
  color: #555;
}
h3 {
  margin: 15px 0; 
}

.table-container { 
  width: 100%;
  overflow-x: auto;
  margin-bottom: 20px; 
}

.edicion-table {
  width: 100%; 
  border-collapse: collapse; 
  table-layout: auto !important; 
}

.edicion-table th,
.edicion-table td {
  text-align: left;
  padding: 8px; 
  border: 1px solid #ddd; 
  width: auto !important; 
}


.edicion-table .puesto {
  width: auto !important; 
  text-align: center;
}


@media (max-width: 768px) {
  .edicion-table {
    font-size: 12px; 
  }

  .edicion-table th,
  .edicion-table td {
    padding: 6px; 
  }
}

body.libro-body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f9;
  color: #333;
  line-height: 1.6;
}
.libro-container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.libro-header {
  text-align: center;
  margin-bottom: 20px;
}

.libro-header h1 {
  font-size: 2rem;
  margin-top: 15px;
}
.libro-content {
  font-size: 1rem;
  text-align: justify;
}

