/* ====== HEADER ====== */

.header-area {
  background-image: url('../Resources/Graphs/header.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top center;
  padding-top: 10px;
  padding-bottom: 40px;
}

.header-overlay {
  position: relative;
  z-index: 2;
}

.menu-container {
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(4px);
  border-radius: 8px;
}

/* MENÚ */

.navbar {
  margin-top: 400px;
  background: transparent;
  background-color: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  margin-left: 0 !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  font-size: 1.05rem;
  margin-left: 1rem;
  background: transparent;

}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #999999 !important;
  /* gris Bootstrap */
  color: #fff !important;
  /* texto blanco */
}

/* ====== SECTION TITULO PAGINA ====== */
.hero {
  padding-top: 110px;
  text-align: center;
  background: #ffffff;
  padding-bottom: 40px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  color: #0a3d62;
}

.hero p {
  font-size: 1.25rem;
  color: #444;
}

.img-max-1024,
.img-max-600,
.img-max-228 {
  max-width: 100%;
  height: auto;
}

.img-max-1024 {
  max-width: 1024px;
}

.img-max-600 {
  max-width: 600px;
}

.img-max-228 {
  max-width: 228px;
}

.separator {
  border-bottom: 1px solid #ddd; /* color y grosor */
  padding-bottom: 0.4rem;       /* espacio entre texto y línea */
  margin-bottom: 1rem;          /* espacio después de la línea */
}

ul.mi-lista {
  list-style-type: disc;
  /* disc | circle | square | none */
  padding-left: 1.25rem;
  /* espacio izquierdo para la sangría */
  margin: 2rem;
  font-size: 1.25rem;
}

ol.mi-lista {
  padding-left: 1.25rem;
  /* espacio izquierdo para la sangría */
  margin: 2rem;
  font-size: 1.25rem;
}

/* ====== CAROUSEL ====== */


/* Altura por defecto (desktop) */
.slick-carousel img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
  background: #ffffff;
}

.slick-slide {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.slick-slide > div {
  width: 100%;
  display: flex;
  justify-content: center;
}

slide-horizontal img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 12px;
}

slide-horizontal-contain img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  border-radius: 12px;
}

/* Tablet */
@media (max-width: 992px) {
  .slide-horizontal img {
    height: 300px;
  }
}

/* Smartphones */
@media (max-width: 576px) {
  .slide-horizontal img {
    height: 200px;
    /* Más bajo para pantallas chicas */
    border-radius: 8px;
    background: #ffffff
  }
}

.slide-vertical img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80vh;        /* 🔑 controla verticales muy largas */
  object-fit: contain; 
}

@media (max-width: 576px) {
  .slide-vertical img {
    max-height: 65vh;
  }
}

/* Carousel Instructivo: imágenes con proporción original */
.carousel-instructivo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #ffffff;
}

.carousel-instructivo .slick-slide {
  background: #ffffff;
  padding: 10px;
}

/* Flechas personalizadas para el carousel */

.custom-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all .2s ease;
}

.custom-arrow i {
  font-size: 28px;
  color: #6b6b6b;
}

.custom-arrow:hover {
  background: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

/* Ubicación */
.slick-prev {
  left: -55px;
}

.slick-next {
  right: -55px;
}

/* Móviles */
@media (max-width: 576px) {
  .slick-prev {
    left: -10px;
  }

  .slick-next {
    right: -10px;
  }

  .custom-arrow {
    width: 38px;
    height: 38px;
  }

  .custom-arrow i {
    font-size: 22px;
  }
}

/* ====== FOOTER ====== */

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background-color: #e6e6e6;
  color: #111;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;

}

/* ====== TABLA PADRÓN ====== */
.padron-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

#tablaPadron {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background-color: #ffffff;
}

#tablaPadron th,
#tablaPadron td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  text-align: left;
}

#tablaPadron thead {
  background-color: #6c757d;
  color: white;
}

#tablaPadron thead tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

#tablaPadron tbody tr:nth-child(odd) {
  background-color: #f8f9fa;
}

#tablaPadron tbody tr:hover {
  background-color: #e9ecef;
}

@media (max-width: 576px) {
  #tablaPadron th,
  #tablaPadron td {
    padding: 0.7rem 0.6rem;
  }

  #tablaPadron {
    min-width: 100%;
  }
}

.vcard {
  background: transparent;
  /* fondo transparente para integrar con footer */
  border-radius: 6px;
  min-height: 140px;
}

.vcard-title {
  font-size: 1.05rem;
  letter-spacing: 0.2px;
  color: #0b3a4a;
  /* tono institucional (ajustalo) */
  font-weight: 700;
}

.vcard-body {
  color: #1f2937;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Iconos: tamaño y color coherente */
.vcard-icon svg {
  width: 34px;
  height: 34px;
  color: #0b3a4a;
  /* mismo tono del título */
  display: block;
}

/* Links en footer */
.site-footer a {
  color: #0b3a4a;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Responsive tweaks: más espacio vertical en mobile */
@media (max-width: 767.98px) {
  .vcard {
    min-height: auto;
    padding-bottom: 0.75rem;
  }

  .vcard-title {
    font-size: 1rem;
  }
}

/* Si querés un pequeño sutil divider entre vcards en desktop */
@media (min-width: 992px) {
  .vcard {
    padding: 1.25rem;
  }
}


/* ====== ESTILOS ICONOS SVG DE DESCARGA ====== */

/* El link NO debe tomar color de enlace */
a.download-icon {
  color: inherit !important;
  /* Evita el azul del enlace */
  text-decoration: none !important;
  /* Evita subrayado */
}

/* SVG conserva su color real sin modificaciones */
a.download-icon svg {
  stroke: currentColor !important;
  fill: currentColor !important;
}

/* Incluso en hover, el color NO cambia */
a.download-icon:hover {
  color: inherit !important;
}

/* Botón flotante Volver Arriba */
#backToTopBtn {
  position: fixed;
  bottom: 30px;
  right: 25px;
  background-color: #868e96;
  /* gris Bootstrap (secondary) */
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
  z-index: 999;
}

/* Mostrar cuando hace scroll */
#backToTopBtn.show {
  opacity: 1;
  visibility: visible;
}



/* ====== TABLA MATRICULADOS ====== */

.padron-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Segoe UI', sans-serif;
}

.padron-title {
    margin-bottom: 20px;
    font-weight: 600;
    color: #333;
}

/* 🔍 Buscador */
.padron-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.padron-search input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border 0.2s;
}

.padron-search input:focus {
    border-color: #888;
}

.padron-search button {
    padding: 10px 18px;
    border: none;
    background-color: #2c3e50;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.padron-search button:hover {
    background-color: #1a252f;
}

/* 📊 Tabla */
.padron-table-wrapper {
    overflow-x: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

#tablaPadron {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

#tablaPadron thead {
    background-color: #2c3e50;  
}

#tablaPadron th {
    text-align: left;
    padding: 12px;
    font-weight: 600;
    color: white ;
    font-size: 14px;
}

#tablaPadron td {
    padding: 12px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #333;
}

#tablaPadron tbody tr {
    transition: background 0.15s;
}

#tablaPadron tbody tr:hover {
    background-color: #f5f7fa;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .padron-search {
        flex-direction: column;
    }

    .padron-search button {
        width: 100%;
    }
}

/* Estilo del botón submit en formularios (como padrón) */
#formCertificados button[type="submit"] {
    padding: 10px 18px;
    border: none;
    background-color: #2c3e50;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

#formCertificados button[type="submit"]:hover {
    background-color: #1a252f;
}

/* ====== FIN STYLES.CSS ====== */