:root {
  --violeta: #6d4aff;
  --violeta-suave: #8e6dff;
  --verde: #b6ff3b;
  --fondo-oscuro: #111;
  --texto-claro: #f5f5f5;
}

* {
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Gothic A1", sans-serif;
  background-color: #8b94e1;
  color: var(--texto-claro);
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Gothic A1", sans-serif;
  background-color: #8b94e1;
  color: var(--texto-claro);
}

.contenido {
  margin-top: 0;
  text-align: center;
  font-size: x-large;
}

.foto-tere {
  width: 60%;
  max-width: 500px;
  height: auto;
  border-radius: 5%;
  margin: 20px auto;
}

.foto-tere:hover{
  transform: scale(1.2);
  transition: all .5 s ease;
}

#boton-iniciar-secion {
  background-color: blue;
  color: white;
  align-items: end;
}

#tere {
  border-radius: 5%;
  border-style: solid;
}
#actual {
  text-decoration: underline;
  text-decoration-color: greenyellow;
}

.enlace-seccion {
  display: inline-block;
  padding: 14px 30px;
  margin: 40px 0 20px;
  font-size: 1.6rem;
  font-weight: 600;
  text-decoration: none;
  color: white;
  background: transparent;
  border: 2px solid white;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.enlace-seccion:hover {
  background: rgba(255, 255, 255, 0.15); /* leve efecto al pasar el mouse */
  transform: translateY(-3px);
}

#imagenes-cursos,
#imagenes-talleres,
#imagenes-sesiones-individuales,
#imagenes-formaciones {
  margin-bottom: 80px;
}

#imagenes-cursos,
#imagenes-talleres,
#imagenes-sesiones-individuales,
#imagenes-formaciones {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 250px));
  justify-content: center;
  width: 90%;
  margin: 5% auto;
  gap: 30px;
}

#imagenes-cursos img,
#imagenes-talleres img,
#imagenes-sesiones-individuales img,
#imagenes-formaciones img {
  width: 100%;
  height: 260px;

  object-fit: cover; /* NO recorta */

  border-radius: 20px;
}

#imagenes-cursos img:hover,
#imagenes-talleres img:hover,
#imagenes-sesiones-individuales img:hover,
#imagenes-formaciones img:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}
#foto-tere {
  border-radius: 5%;
}

.scroll-top-btn {
  background: linear-gradient(135deg, var(--violeta), var(--verde));
  color: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.scroll-top-btn:hover {
  color: greenyellow;
  background-color: blueviolet;
  transition: all 500ms ease-out;
}

.hidden {
  visibility: hidden;
  opacity: 0;
}

@media (max-width: 768px) {
  .contenido {
    font-size: 1rem;
  }

  .enlace-seccion {
    font-size: 20px;
    position: static;
  }

  .scroll-top-btn {
    width: 3rem;
    height: 3rem;
    right: 1rem;
  }
}

/* =========================
   CABECERA
========================= */

.cabecera {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 20px;

  background: rgba(20, 20, 20, 0.1);

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  z-index: 4000;
}

/* =========================
   MENU HAMBURGUESA
========================= */

.menu-toggle {
  position: fixed;
  top: 18px;
  right: 20px;
  width: 40px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 12000;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;

  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* animación a X */

.menu-toggle.active span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}
.menu-toggle span {
  transform-origin: center;
}
.menu-toggle {
  transition: transform 0.3s ease;
}

.menu-toggle.active {
  transform: rotate(90deg);
}

/* =========================
   NAVBAR DESLIZANTE
========================= */

/* NAVBAR */

.navbar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 320px;
  height: 100vh;

  background: rgba(10, 10, 25, 0.9);
  backdrop-filter: blur(15px);

  transition: right 0.4s ease;

  padding-top: 120px;

  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);

  z-index: 11000;
}
.navbar a.active {
  border-bottom: 2px solid #6d4aff;
  color: #6d4aff;
}
.navbar.active {
  right: 0;
}
/* Lista */

.navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.navbar li {
  margin: 15px 0;
}

.navbar a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  padding: 10px 20px;
  display: inline-block;
  transition: all 0.25s ease;
}

.navbar a:hover {
  color: #a08bf4;
  transform: translateX(5px);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: rgba(20, 20, 40, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.35s ease,
    backdrop-filter 0.35s ease;

  z-index: 9000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

html {
  scroll-behavior: smooth;
}
#logo-dharma {
  height: 60px;
}

.titulo-tarjeta {
  margin-top: 10px;

  font-size: 1.1rem;

  font-weight: 600;

  color: white;
}

.tarjeta {
  cursor: pointer;

  text-align: center;

  transition: transform 0.3s ease;
}

.tarjeta:hover {
  transform: translateY(-10px) scale(1.03);
}

.tarjeta img {
  width: 100%;
  height: 260px;

  object-fit: cover;

  border-radius: 20px;
}


.enlace-video {
  display: block;
  width: 260px;
  margin: 40px auto 60px;
  background-color: mediumblue;
  color: white;
  border: solid 1px;
  padding: 10px;
  text-decoration: none;
  text-align: center;
  border-radius: 1rem;
  position: relative;
  z-index: 10;
  cursor: pointer;
}
.enlace-video:hover {
  background-color: white;
  color: mediumblue;
  border-color: mediumblue;
  transition: all 500ms ease-in-out;
  cursor: pointer;
}

.boton-turnos {
  display: block;
  width: 90%;
  max-width: 320px;

  color: white;
  background-color: green;

  padding: 10px;
  border-radius: 25px;

  margin: 20px auto; /* centra horizontalmente */
  text-align: center;
}

.boton-turnos:hover {
  background-color: rgb(185, 240, 231);
  color: darkgreen;
  transition: all 500ms ease-in-out;
  cursor: pointer;
}

h2 {
  text-align: center;
}

html,
body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 80px;
}

main {
  flex: 1;
}

/*-----------contactanos--------------*/
.formulario {
  width: 90%;
  max-width: 500px;
  margin: 40px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.formulario legend {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.formulario input,
.formulario textarea {
  padding: 12px;
  border: none;
  border-bottom: 2px solid #ccc;

  font-size: 1rem;
  background: rgb(251, 247, 247);

  transition: all 0.3s;
}

.formulario input:focus,
.formulario textarea:focus {
  outline: none;
  border-bottom: 2px solid #bdbafc;
} /* boton enviar */

.boton-enviar {
  background: #4caf50;
  color: white;

  padding: 12px;
  border: none;
  border-radius: 25px;

  font-size: 1rem;
  cursor: pointer;

  transition: all 0.3s;
}

.boton-enviar:hover {
  background: #3c8e41;
  transform: scale(1.03);
}

/* loader */

.none {
  display: none;
}

.contact-form-loader {
  text-align: center;
}

.contact-form-response {
  background: #d4ffd4;
  color: #004400;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}
.animar {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.animar.visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-float {
  font-size: 32px;
  color: white;
  position: fixed !important;
  bottom: 25px !important;
  right: 25px !important;

  width: 60px;
  height: 60px;

  background: #25d366;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);

  z-index: 1000;

  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

.contenido .container-texto {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 16px;
}

.contenido .container-texto p {
  text-align: left;
  margin: 12px 0;
  line-height: 1.6;
}
.contenido .container-texto p:first-child {
  text-align: left;
}
.container-texto {
  width: 90%;
  max-width: 700px;
  margin: 0 auto;

  text-align: left;
  line-height: 1.6;

  padding: 10px;
}

.container-texto p {
  margin-bottom: 16px;
}
@media (max-width: 768px) {
  .container-texto {
    width: 92%;
    padding: 0 10px;
  }

  .container-texto p {
    font-size: 0.95rem;
  }
}

.container-texto {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(6px);
}
.separador {
  margin: 60px 0;
}

@media (max-width: 768px) {
  .separador {
    margin: 30px 0;
  }
}
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* por si en mobile baja prolijo */
}

footer ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer p {
  margin: 0;
  padding: 30px;
  font-size: small;
  font-weight: bold;
}
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap; /* por si en mobile baja prolijo */
}

footer ul {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer p {
  margin: 0;
}
footer img {
  height: 40px;
  width: 40px;
  border-radius: 25px;
}
footer img:hover {
  transform: scale(1.2);
  transition: all 0.5s ease;
}
@media (max-width: 600px) {
  footer {
    flex-direction: column;
    gap: 10px;
  }
}

.btn-sesion {
  margin-left: auto;
  margin-right: 60px;
  padding: 8px 20px;
  border: 2px solid white;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s;
  white-space: nowrap;
}

.btn-sesion:hover {
  background: white;
  color: #1a1a2e;
}