/* ================================
   FUENTES Y COLORES GLOBALES
================================= */
:root {
  --primary-color: #007BFF;
  --secondary-color: #6C757D;
  --success-color: #28A745;
  --danger-color: #DC3545;
  --warning-color: #FFC107;
  --info-color: #17A2B8;
  --light-color: #F8F9FA;
  --dark-color: #343A40;
}

body {
  background-color: #f9f9f9;
  font-family: "Quicksand", sans-serif;
  color: #3c3c3c;
  margin: 0;
  padding: 0;
}

/* ================================
 TIPOGRAFÍA GENERAL
================================= */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  color: #222;
  margin: 0 0 1rem;
}

p {
  margin: 0 0 1rem;
}

/* ================================
 LINKS
================================= */
a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  background-color: var(--danger-color);
  color: #ffffff;
  text-decoration: underline;
}

/* ================================
   NAV BAR 1: Integrantes del equipo
================================= */
#menu1 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #15003d;
}

#menu1 ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #15003d;
  display: flex;
}

#menu1 ul li {
  float: left;
}

#menu1 li a {
  font-family: "Quicksand", sans-serif;
  font-weight: 400;
  font-size: 14px;
  display: block;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 14px 60px 16px;
  text-decoration: none;
}

#menu1 li a:hover {
  background-color: var(--danger-color);
  color: #ffffff;
}

#menu1 .active {
  background-color: var(--danger-color);
  color: #ffffff;
}

/* ================================
   NAV BAR 2: Plan, Mapa, App, Grupo, Cátedra
================================= */
#menu2 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #cbb5fc;
  margin-bottom: 10px;
}

#menu2 ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #cbb5fc;
  display: flex;
}

#menu2 ul li {
  float: left;
}

#menu2 li a {
  display: block;
  color: rgb(42, 42, 42);
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

#menu2 li a:hover {
  background-color: var(--danger-color);
  color: #ffffff;
}

#menu2 .active {
  background-color: var(--danger-color);
  color: #ffffff;
}

/* Media Query for Responsive Navigation */
@media (max-width: 768px) {
  /* Menu 1: Integrantes del equipo */
  #menu1 ul {
    display: none;  /* Initially hide the menu */
    flex-direction: column;
    width: 100%;
  }

  #menu1 ul li {

    text-align: left;
    padding: 12px;
  }

  /* Menu 2: Plan, Mapa, App, Grupo, Cátedra */
  #menu2 ul {
    display: none;  /* Initially hide the menu */
    flex-direction: column;
    width: 100%;
  }

  #menu2 ul li {
    text-align: left;
    padding: 12px;
  }

  /* Show button for both menus */
  .menu-toggle {
    display: block;
    background-color: transparent;
    border: none;
    font-size: 30px;
    color: #333;
    margin-right: 10px;
  }

  /* Show the menu when toggled */
  #menu1 ul.show,
  #menu2 ul.show {
    display: flex;
  }
}

/* ================================
 HOME SECTION
================================= */
.home {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #b5b5b5;
  padding: 40px;
}

.home-img {
  width: 20%;
}

.home-img img {
  width: 200px;
  border-radius: 8px;
  margin: 40px;
}

.home-text h2 {
  font-weight: 200;
  font-size: 20px;
}

.home-text h3 {
  font-weight: 100;
  font-size: 16px;
}

/* ================================
 COLLAPSIBLE SECTION
================================= */
.collapsible {
  background-color: #17A2B8;
  color: #ffffff;
  cursor: pointer;
  padding: 10px;
  width: 100%;
  border: none;
  text-align: center;
  outline: none;
  font-size: 16px;
}

.collapsible:after {
  content: '\2193'; /* sign */
  font-size: 13px;
  float: center;
  margin-left: 5px;
}

.collapsible.active:after {
  content: "\2212"; /* Minus sign */
}

.content {
  padding: 0 15px;
  display: none;
  overflow: hidden;
  background-color: #f9f9f9;
}

/* ================================
   TABLA HISTORIA ACADÉMICA
================================= */
table.historia {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: "Quicksand", sans-serif;
  font-size: 16px;
  text-align: left;
  align-items: center;
}

table.historia thead {
  background-color: #cbb5fc;
  color: #333;
}

table.historia th,
table.historia td {
  border: 1px solid #ddd;
  padding: 10px;
}

table.historia tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

@media (max-width: 600px) {
  table.historia {
      font-size: 14px;
  }

  table.historia th,
  table.historia td {
      padding: 8px;
  }
}


/* ================================
 LISTAS COMUNES
================================= */
.listado {
  list-style-type: none;
  padding: 0;
  margin: 0px 0 ;
}

.listado li {
  margin: 10px 0;
}

/* ================================
   ÍNDICE CLASES
================================= */
#indice-clases {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.clases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.clase {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clase:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}

.clase h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.clase p {
  font-size: 0.9rem;
  color: #555;
  margin-bottom: 1rem;
}

.clase .button {
  background-color: #cbb5fc;
  color: #000;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.7rem 1.5rem;
  border-radius: 2rem;
  display: inline-block;
  transition: all 0.3s ease;
}

.clase .button:hover {
  background-color: #4b0082;
  color: #fff;
}

/* ================================
   GALERÍA DE PROCESO
================================= */
.galeria-proceso {
  max-width: 1000px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.galeria-proceso h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #222;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.galeria-grid img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.galeria-grid img:hover {
  transform: scale(1.03);
}


/* ================================
   LINEA INFORMATIVA
================================= */
.info-linea {
  font-family: "Quicksand", sans-serif;
  font-size: 14px;
  text-align: center;
  color: #555;
  margin: 40px auto 20px;
  width: 90%;
  line-height: 1.6;
}

/* ================================
   FOOTER
================================= */
footer {
  background-color: #cbb5fc;
  padding: 20px 0;
  text-align: center;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo {
  flex: 1;
}

.footer-logo img {
  max-width: 150px;  /* Ajusta el tamaño del logotipo */
  height: auto;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  flex: 2;
  width: 60%;
}

.footer-section {
  flex: 1;
}

.footer-section ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer-section ul li {
  display: block;
  margin-bottom: 10px;
}

.footer-section ul li a {
  text-decoration: none;
  color: rgb(42, 42, 42);
}

.footer-section ul li a:hover {
  color: var(--danger-color);
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
  }

  .footer-section {
    margin-bottom: 20px;
  }

  .footer-logo img {
    max-width: 120px; /* Ajusta el tamaño del logotipo en dispositivos móviles */
  }
}



/* ================================
   RESPONSIVE DESIGN
================================= */

/* Tablets (pantallas menores a 991px) */
@media (max-width: 991px) {
  .home {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .home-img {
    width: 100%;
    float: none;
  }

  .home-img img {
    width: 150px;
    margin: 20px auto;
  }

  nav ul li {
    float: none;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  nav li a {
    padding: 10px;
    width: 100%;
  }
}

/* Celulares (pantallas menores a 600px) */
@media (max-width: 600px) {
  .home-img img {
    width: 120px;
  }

  .home-text h1 {
    font-size: 20px;
  }

  .home-text h2 {
    font-size: 16px;
  }

  .home-text h3 {
    font-size: 14px;
  }

  .collapsible {
    font-size: 14px;
  }

  .listado li {
    font-size: 14px;
  }
}

/* ================================
   MENÚ HAMBURGUESA (MOBILE)
================================= */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: #222;
  cursor: pointer;
  margin: 10px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #cbb5fc;
    padding: 0;
  }

  .nav-list.show {
    display: flex;
  }

  .nav-list li {
    float: none;
    text-align: center;
    width: 100%;
  }

  .nav-list li a {
    padding: 12px;
    border-top: 1px solid #fff;
  }
}


/* ================================
CLASE 1
================================= */

/* Sección Apunte Menú Hamburguesa */
.apunte-section {
  padding: 60px 20px;
  background: #f9f9f9;
  font-family: 'Arial', sans-serif;
}

.apunte-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.apunte-title {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.apunte-desc {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 40px;
}

.apunte-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.apunte-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  flex: 1 1 250px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.apunte-card:hover {
  transform: translateY(-5px);
}

.apunte-card h3 {
  color: #0077ff;
  margin-bottom: 10px;
}

.apunte-card p {
  color: #555;
}

.apunte-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #0077ff;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.apunte-btn:hover {
  background: #005fcc;
}

/* Responsive */
@media (max-width: 600px) {
  .apunte-title {
    font-size: 1.5rem;
  }

  .apunte-cards {
    flex-direction: column;
  }
}

.clases-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.btn-nav {
  text-decoration: none;
  padding: 12px 24px;
  background: #0077ff;
  color: white;
  border-radius: 8px;
  font-size: 16px;
  transition: background 0.3s ease;
}

.btn-nav:hover {
  background: #005dcc;
}

@media (max-width: 600px) {
  .btn-nav {
    padding: 10px 18px;
    font-size: 14px;
  }
}

