/* You can add global styles to this file, and also import other style files */
/*
    1. Posicionamiento
    2. Modelo caja (box model)
    3.Tipografia
    4. Visuales
    5. Otros
 */

:root {
  /* Paleta orgánica / institucional */
  --verde-darkest: #2c3e2d;
  --verde-dark: #3e5e3e;
  --verde-light: #6a926a;
  --verde-lighter: #d4e6d4;
  --verde-white: #eef5ef;

  /* Acentos cálidos */
  --accent: #b5844a;
  --accent-light: #d4a96a;
  --accent-hover: #9a6f3a;

  /* Neutrales */
  --white: #ffffff;
  --black: #1a1a1a;
  --text-primary: #2c3e2d;
  --text-secondary: #5a6e5b;
  --text-muted: #8a9a8b;
  --bg-warm: #faf8f5;

  /* Legacy (para componentes que aún los usan) */
  --yellow-dark: gold;
  --yellow-light: goldenRod;
  --blueFacebook: rgb(66 103 178);
  --bluePrimary-Bootstrap: #0275d8;
  --blueInfo-Bootstrap: #5bc0de;

  /* Glass tokens (suavizados) */
  --glass-dark: rgba(44, 62, 45, 0.55);
  --glass-light: rgba(255, 255, 255, 0.18);
  --glass-light-mid: rgba(255, 255, 255, 0.28);
  --glass-border: rgba(255, 255, 255, 0.22);
  --glass-border-g: rgba(212, 230, 212, 0.40);
  --glass-shadow: 0 8px 32px rgba(44, 62, 45, 0.10);
  --glass-shadow-sm: 0 2px 12px rgba(44, 62, 45, 0.06);
  --ui-transition: all 0.3s ease;

  /* Tipografía */
  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

/* definimos esto por defecto en cada proyecto al principio */
* {
  box-sizing: border-box;
  margin: 0px;
  padding: 0px;
}

html {
  font-size: 62.5%;
  font-family: var(--font-body);
  min-width: 320px;
  color: var(--text-primary);
}

html,
body {
  min-height: 100%;
  background: linear-gradient(135deg, #7c917c 0%, #526652 50%, #364736 100%) !important;
  background-attachment: fixed !important;
}

/* fin---definimos esto por defecto en cada proyecto al principio */


/* ========================================================================================= */
/* ========================================================================================= */
/* ====HEADER SECTION START================================================================= */
/* ========================================================================================= */
/* ========================================================================================= */

.width80 {
  width: 80%;
}

textarea.width100 {
  width: 100%;
}

.encabezado {
  /* background: rebeccapurple; */
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 320px;
  text-align: center;
  width: 100%;
  /* es la dimension mas pequena en celulares */
  /* hasta aqui los elementos css de curso "movile first" */
  /*overflow: hidden;   para distribuir los elementos hijo en espacios iguales dentro del area asignada al padre */
}



.wrapper {
  display: flex;
  align-self: center;
  background: var(--verde-darkest);
  border-radius: 0;
  justify-content: center;
  width: 100%;
}

.encabezado--cintillo {
  position: relative;
  display: flex;
  padding: 0.2rem 0;
  align-items: center;
  width: 80%;
  overflow: visible;
}

/* 1 */
.cintilloRotando {
  white-space: nowrap;
  width: 50%;
  overflow: hidden;
  font-size: 1.3rem;
  line-height: 1;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.75);
  transform: translateY(20%);
}

/* 2 */
.socialMedia {
  width: 25%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  overflow: visible;
}

.fb-link {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  text-decoration: none;
}

.fb-badge {
  display: block;
  width: 150px;
  height: 55px;
  background-image: url('../facebookF-01.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  filter: drop-shadow(0 6px 14px rgba(24, 119, 242, 0.50));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
  cursor: pointer;
}

.fb-badge:hover {
  transform: translateY(-38%) scale(1.08);
  filter: drop-shadow(0 10px 22px rgba(24, 119, 242, 0.80));
}

/* 3 */
.loginButton {
  display: flex;
  width: 25%;
  align-items: center;
  justify-content: center;
}

.loginButton>button {
  max-width: 100%;
  min-width: 60px;
  min-height: 30px;
  padding: 0px 25px
}

.encabezado--cintillo h1>span {
  display: inline-block;
  /* sino colocas inline-block no agarra la animacion */
  animation: texto 15s linear infinite;
  /*  animation: 25s ease-out infinite banner;*/
  padding-left: 100%;
  /* para que comience en 100% y la animacion termine en -100% */
}

@keyframes texto {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(-100%, 0);
  }
}

/* ── Navbar contenedor ───────────────────────────── */
.navBar {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-self: center;
  align-items: center;
  gap: 1.8rem;
  padding: 2rem 0 0 0;
  background: transparent;
  box-shadow: none;
  margin-top: 0;
  margin-bottom: 0;
}

/* ── Logo Lottie — visible y centrado ───────────── */
.navbar--proLogo,
.navBar--proLogo {
  width: 100%;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  display: block;
}

.navbar--proLogo dotlottie-player,
.navBar--proLogo dotlottie-player {
  display: block;
  width: 300px;
  height: 150px;
  max-width: 100%;
  margin: 0 auto;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
}

.login--logo {
  display: block;
  width: 300px;
  height: 150px;
  max-width: 100%;
  margin: 0 auto;
}

/* ── Menú pill (fixed — always visible) ──────────── */
.navBar--proMenu {
  position: sticky;
  top: 1rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 2.5rem auto;
  background: rgba(38, 54, 39, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 100px;
  padding: 6px 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35), 0 2px 8px rgba(0, 0, 0, 0.20);
}

/* Espacio superior al navegar por scroll a cada sección */
#noticias,
#contacto {
  scroll-margin-top: 5rem;
}

#inicio {
  scroll-margin-top: 10rem;
}

#nosotros {
  scroll-margin-top: 3.5rem;
}

/* Espacio visible arriba del contenido de cada sección */
#noticias,
#nosotros,
#contacto {
  padding-top: 0;
}

.navbar--items {
  position: relative;
  overflow: visible;
  display: flex;
}

.navbar--items ul {
  display: flex;
  list-style: none;
  background: transparent;
  border-radius: 0;
  padding: 2px 4px;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 6px;
  margin: 0;
}

.navbar--items ul li {
  background: transparent;
  border: none;
  border-radius: 100px;
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

/* ── Links ───────────────────────────────────────── */
.navbar--items ul li a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  min-width: max-content;
  text-decoration: none;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 600;
  padding: 10px 20px;
  white-space: nowrap;
  letter-spacing: 0.3px;
  border-radius: 100px;
  transition: all 0.22s ease;
}

.navbar--items ul li a:hover {
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

/* ── Item activo — pill --yellow-light ───────────── */
.navbar--items ul li a.active {
  font-weight: 700 !important;
  color: var(--verde-darkest) !important;
  background-color: var(--yellow-light) !important;
  border-radius: 100px !important;
  letter-spacing: 0.3px;
  border-bottom: none !important;
  box-shadow: 0 2px 12px rgba(218, 165, 32, 0.40);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 765px) {
  .navBar {
    flex-direction: column;
    width: 90%;
    border-radius: 24px;
    padding: 10px;
    gap: 8px;
  }

  .navBar--proLogo {
    width: 56px;
    height: 56px;
    min-width: 56px;
  }

  .navbar--items ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
  }

  .navbar--items ul li a {
    font-size: 1.2rem;
    padding: 8px 14px;
  }

  .textCintillo {
    display: none;
  }
}


/* ========================================================================================= */
/* ========================================================================================= */
/* HEADER SECTION END======================================================================= */
/* ========================================================================================= */
/* ========================================================================================= */

/* ========================================================================================= */
/* ========================================================================================= */
/* BODY SECTION START======================================================================= */
/* ========================================================================================= */
/* ========================================================================================= */

.principal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}


.wrapper2 {
  position: relative;
  width: 80%;
  background: var(--verde-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.5%;
}

.basicWidth {
  max-width: 1536px;
  width: 80%;
}

.cuerpo {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 1536px;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  background: var(--verde-lighter);
  border-radius: 15px;
  padding: 15px 0px;
  left: 50%;
  transform: translateX(-50%);
  aspect-ratio: 7/3;

}

/* .imagen-carousel {
    flex-basis: 50%;
    background: papayawhip;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    overflow: hidden;
  } */

.seccionDescripcion {
  width: 40%;
  border-radius: 15px;
  display: flex;
  justify-content: space-between;
  background: var(--verde-white);
  padding: 10px 25px;

  text-align: center;
  flex-direction: column;
  overflow: hidden;
  align-items: center;
  gap: 10px;

}

.title {
  /* historia */
  position: relative;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 1rem;
}

.subTitle {
  font-size: 3rem;
  color: black;
  margin-bottom: 2rem;
  padding: 1rem;
}

.paragraph {
  font-size: 1.8rem;
  margin: 1rem;
  text-indent: 2rem;
  color: rgba(255, 255, 255, 0.72);
  width: 80%;
  line-height: 3rem;

  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;

  /* text-overflow: ellipsis;
      white-space: nowrap;
      overflow: hidden;  */
}

/*   white-space: normal;
  white-space: nowrap;
  white-space: pre;
  white-space: pre-wrap;
  white-space: pre-line;
  white-space: break-spaces; */

.imagen-carousel {
  width: 40%;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  background: var(--verde-white);
  padding: 15px 25px;
  align-items: flex-end;
  /* overflow: hidden; */
}

.imagen-carousel>img {
  position: relative;
  border-radius: 15px;
  width: 100%;
}

@media (max-width: 765px) {
  .cuerpo {
    width: 100%;
    gap: 1rem;
  }

  .seccionDescripcion {
    flex-basis: 100%;
    text-align: center;
  }

  .imagen-carousel {
    flex-basis: 100%;
  }

}





/* ========================================================================================= */
/* ========================================================================================= */
/* BODY SECTION ENDS======================================================================== */
/* ========================================================================================= */
/* ========================================================================================= */

/* ========================================================================================= */
/* ========================================================================================= */
/* PROYECT SECTION START==================================================================== */
/* ========================================================================================= */
/* ========================================================================================= */

.projects__container {
  width: 80%;
  position: relative;
  max-width: 1536px;
  background: var(--verde-lighter);
  border-radius: 15px;
  margin: 0 auto;
  top: 20px;
}

.project__container {
  /* position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
  display: flex;
  width: 100%;
  position: relative;
  margin: 0 auto;
  max-width: 1536px;
  gap: 5px;
  background: var(--verde-white);
  border-radius: 15px;
  justify-content: center;
  padding: 15px 50px;
  flex-wrap: wrap;
}

.project {
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  width: 18%;
  min-width: 200px;
}

/* project__image__container {
  display: flex;
  flex-flow:column wrap;
} */


.project__image {
  width: 200px;
  flex-grow: 1;
  border-radius: 15px;
  object-fit: cover;
  aspect-ratio: 1;
  overflow: hidden;
  /* //keep the aespect ratio 1/1 of the imge */
  /* align-items: flex-start;
  justify-content: space-between; */
}

/* content: url("../../assets/thumbnail1.jpg"); */

.project__buttons {
  top: 35%;
}

.project__card {
  padding-top: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.project__card>h4 {
  position: relative;
  font-weight: 700;
  font-size: 1.2rem;
  color: black;
  white-space: nowrap;


  /*  display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden; */
}

.project__article {

  font-size: 1.1rem;
  margin: 1rem;
  color: rgba(255, 255, 255, 0.72);
  width: 80%;
  line-height: 1.2rem;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;

  /* text-overflow: ellipsis;
          white-space: nowrap;
          overflow: hidden;  */
}

/* ========================================================================================= */
/* ========================================================================================= */
/* PROYECT SECTION END==================================================================== */
/* ========================================================================================= */
/* ========================================================================================= */

/* ========================================================================================= */
/* GLOBAL CLASSES DEFINITIONS=============================================================== */
/* ========================================================================================= */


.moreInfo__button {
  padding: 1rem 2rem;
  position: relative;
  background-color: var(--accent);
  color: var(--white);
  cursor: pointer;
  border: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.4rem;
  border-radius: 8px;
  letter-spacing: 0.3px;
  transition: var(--ui-transition);
}

.moreInfo__button:hover {
  background-color: var(--accent-hover);
}

/* ========================================================================================= */
/* GLOBAL CLASSES ENDS====================================================================== */
/* ========================================================================================= */

/* ========================================================================================= */
/* FOOTER CLASS STARTS====================================================================== */
/* ========================================================================================= */









/* ========================================================================================= */
/* FOOTER CLASS ENDS======================================================================== */
/* ========================================================================================= */

/* ========================================================================================= */
/* LOGIN CLASS STARTS====================================================================== */
/* ========================================================================================= */

.wrapper2--login {
  display: flex;
  background: white;
  width: 50%;
  align-items: center;
  flex-direction: column;
  border-radius: 15px;
  margin: 10px;
}

.form-control {
  width: 200px;
  font-size: 1.5rem;
}

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

.background-proyecto-modal {
  background-color: rgba(0, 0, 0, 0.4);
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  position: absolute;
}

.oculto {
  display: none;
}

.control-label {
  font-size: 1.5rem;
}

small {
  color: red;
}

/* ========================================================================================= */
/* FOOTER CLASS ENDS======================================================================== */
/* ========================================================================================= */


.boxShadow2 {
  box-shadow: var(--glass-shadow);
}

.margin1rem {
  margin: 1rem;
}

.margin2rem {
  margin: 0.5rem, 0.5rem, 8rem;
}

.verdeWhite {
  background-color: var(--verde-white);
}

/* ========================================================================================= */
/* inicio Botones de rutas 'Upload y nuevoArticulo'======================================== */
/* ========================================================================================= */



/* ========================================================================================= */
/* fin Botones de rutas 'Upload y nuevoArticulo'========================================== */
/* ========================================================================================= */
