/* Import */
@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap");

@font-face {
  font-family: baguet;
  src: url(../fonts/baguet.ttf);
}
@font-face {
  font-family: shelley;
  src: url(../fonts/shlyalln.ttf);
}
@font-face {
  font-family: vibes;
  src: url(../fonts/GreatVibes-Regular.ttf);
}
@font-face {
  font-family: italiano;
  src: url(../fonts/Italianno-Regular.ttf);
}

/* General Global Settings */
* {
  margin: 0;
  padding: 0;
}

:root {
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(82, 60%, 28%);
  --title-color: hsl(0, 0%, 15%);
  --text-color: hsl(0, 0%, 35%);
  --body-color: hsl(0, 0%, 95%);
  --container-color: hsl(0, 0%, 100%);
  --primary: #ff0066;
}
/*========== Responsive typography ==========*/
@media screen and (min-width: 1120px) {
  :root {
    --h2-font-size: 1.5rem;
    --h4-font-size: 2rem;
    --small-font-size: 0.875rem;
  }
}


#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Asegura que esté al frente */
    transition: opacity 0.5s ease, visibility 0.5s;
}

.loader-content {
    text-align: center;
    color: white;
    font-family: sans-serif;
    width: 80%;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #444;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background-color: #007bff;
    transition: width 0.1s linear;
}

/* Clase para ocultar el preloader */
#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.imghac {
  position: absolute;
  top: 20%;
}




body {
  position: relative;
  background: #ffffff;
  font-family: "Roboto", sans-serif;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.baguet {
  font-family: "baguet";
}
.shelley {
  font-family: "shelley";
}
.vibes {
  font-family: "vibes";
}
.italiano {
  font-family: "italiano";
}

/* # Header */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 100px;
  background: transparent;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: 1s;
  z-index: 1300;
}
header.active {
  background: #ffffff;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.15);
}

header .menu .open {
  display: none;
}

.logo {
  font-family: "vibes", cursive;
  font-size: 40px;
  color: #000000;
  letter-spacing: 2px;
  font-weight: 400;
  text-decoration: none;
}
.drop {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
}

.menu {
  color: #000000;
  font-size: 2em;
  transition: 0.5s;
}

/* Menu on Mobile */
.menu .open {
  display: block;
}

.menu .close {
  display: none;
}

.menu.active .open {
  display: none;
}

.menu.active .close {
  display: block;
}

.nav {
  display: flex;
}

.nav li {
  font-family: "vibes";
  list-style: none;
  margin: 0 20px;
  font-size: 1.7em;
  text-transform: capitalize;
}

.nav li::first-letter {
  color: var(--primary);
}

.nav li a {
  color: #000000;
  text-decoration: none;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.5s;
  font-weight: 350;
  padding: 10px;
}

.nav li a:hover,
.nav li a.active {
  color: var(--primary);
}

.search {
  position: relative;
  width: 300px;
  height: 40px;
  transition: 0.5s;
}

.search input {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  color: #000000;
  background: transparent;
  border: none;
  border-bottom: 1px solid #000000;
  outline: none;
  padding: 0 10px 0 15px;
}

.search input::placeholder {
  color: #000000;
  text-transform: uppercase;
  font-weight: 350;
}

.search i {
  font-size: 1em;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  padding-left: 10px;
  color: #000000;
  cursor: pointer;
  border-left: 1px solid #000000;
}

/* # Mobile Navigator */
.nav-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: 0.5s;
  z-index: 1200;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
}

.nav-mobile.active {
  opacity: 1;
  visibility: visible;
}

.nav-mobile li {
  font-family: "italiano";
  position: relative;
  list-style: none;
  font-size: 2em;
}

.nav-mobile li::first-letter {
  color: var(--primary);
}

.nav-mobile li a {
  color: #111111;
  text-decoration: none;
  text-transform: capitalize;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.5s;
  font-weight: 300;
  padding: 10px;
}

.nav-mobile li a:hover {
  color: var(--primary);
}

/* # Banner */
.banner {
  position: relative;
  width: 100%;
  height: 100vh;
  padding: 0 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  transition: 0.5s;
}

.banner::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.5);
}

.banner h1::first-letter {
  color: var(--primary);
}

.banner ol {
  font-family: "vibes";
  font-size: 1.5em;
}

.banner ol li::marker {
  color: red;
  font-weight: bold;
  font-size: 1.2em;
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.bg-slide .content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: scale(0) translate(-50%, -50%);
  width: 60vw;
  z-index: 1100;
  transition: ease-in-out 3s;
  opacity: 0;
  visibility: hidden;
}

.bg-slide .content h1 {
  font-size: 8em;
}

.bg-slide .content p {
  font-family: "vibes", cursive;
  font-weight: 200;
  font-size: 1.5em;
  letter-spacing: 1px;
}

.bg-slide.active .content {
  transform: scale(1) translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
}

.circle {
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translate(0, 0) rotateZ(0);
  opacity: 0;
  visibility: hidden;
  transition: 3s;
}

.circle.bg {
  background: transparent;
  width: 140vw;
  height: 140vw;
  border-radius: 0;
}

.circle.large {
  width: 70vw;
  height: 70vw;
}

.circle.small {
  width: 35vw;
  height: 35vw;
}

.circle img {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.circle.bg img {
  border-radius: 0;
}

.circle.large img {
  transform: scale(2);
}

.circle.small img {
  transform: scale(4);
}

.bg-slide.active .circle.bg {
  transform: translate(0, 0) rotateZ(-360deg);
  opacity: 1;
  visibility: visible;
}

.bg-slide.active .circle.large {
  transform: translate(0, 0) rotateZ(720deg);
  opacity: 1;
  visibility: visible;
}

.bg-slide.active .circle.small {
  transform: translate(0, 0) rotateZ(-720deg);
  opacity: 1;
  visibility: visible;
}

.slide-loader {
  position: absolute;
  z-index: 1100;
  bottom: 50px;
  right: 100px;
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}

.slide-loader li {
  list-style: none;
  display: flex;
  align-items: end;
}

.slide-loader li a {
  text-decoration: none;
  color: #111111;
  font-size: 2em;
  font-weight: 800;
  transition: 0.5s;
  line-height: 1em;
  cursor: pointer;
  padding: 0;
}

.slide-loader li a.active,
.slide-loader li a:hover {
  font-size: 4em;
}

.slide-loader::before {
  position: absolute;
  content: "";
  top: 50%;
  left: -70%;
  width: 80px;
  height: 2px;
  background: var(--primary);
}

.share {
  position: absolute;
  bottom: 10%;
  left: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  z-index: 1200;
}

.share::before {
  position: absolute;
  content: "";
  left: 50%;
  transform: translateX(-50%);
  top: -50%;
  height: 100px;
  width: 2px;
  background: var(--primary);
}

.share p {
  writing-mode: vertical-rl;
  font-family: shelley;
  font-weight: 300;
  font-size: 2em;
  letter-spacing: 1px;
  color: #111111;
}
.share p::first-letter {
  color: var(--primary);
}

.share a {
  text-decoration: none;
  color: #111111;
}

.share a i {
  font-size: 1em;
}
.share a i:hover {
  color: var(--primary);
  font-size: 1.5em;
}

.share .mini {
  font-size: 0.5em;
}

.lead {
  position: absolute;
  bottom: 0;
  z-index: 1000;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.move_down {
  position: absolute;
  z-index: 1100;
  color: #111111;
  animation: flink 1s linear infinite;
}

.move_down i {
  font-size: 2em;
}
@keyframes flink {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

.lead svg {
  font-family: "vibes", cursive;
  position: absolute;
  z-index: 1100;
  fill: currentColor;
  height: auto;
  max-width: 20vmin;
  transform-origin: center;
  width: 66%;
  animation: spin 10s linear infinite;
}

@keyframes spin {
  from {
    transform: rotateZ(0);
  }
  to {
    transform: rotateZ(360deg);
  }
}

/* # Section General */
section {
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: 100vh;
  bottom: 0;
  background: #ffffff;
  transition: ease-in-out 1s;
  transform-origin: bottom;
  z-index: 1100;
  opacity: 0;
}

section::-webkit-scrollbar {
  display: none;
}

section.section-show {
  padding: 150px 100px 100px;
  top: 0;
  height: auto;
  min-height: 100vh;
  overflow-y: visible;
  opacity: 1;
}

section h1 {
  font-family: "vibes", cursive;
  font-weight: 400;
  font-size: 4em;
  letter-spacing: 1px;
  margin-bottom: 150px;
  text-align: center;
}

section h4 {
  font-family: "shelley", cursive;
  font-weight: 300;
  font-size: 2.5em;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

section p {
  font-weight: 300;
  color: #111111;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

/* # About Section */
.about h4::first-letter {
  color: var(--primary);
  font-size: 1.5em;
}
.letra-destacada {
  color: var(--primary); /* Cambia el color */
  font-size: 1.8em;
  text-align: center;
  line-height: 1; /* 1.6 veces el tamaño de la fuente (recomendado) */
}

.about::before {
  position: absolute;
  content: "";
  left: 50%;
  transform: translateX(-50%);
  top: 250px;
  height: 80px;
  width: 2px;
  background: var(--primary);
}

.about .img-box {
  position: relative;
}

.about .img-box img {
  max-width: 450px;
}

.about .img-box .corner-img {
  position: absolute;
  width: 15vw;
  right: 10px;
  bottom: -50px;
}

.section-bg-img {
  width: 30%;
  position: absolute;
  bottom: -70px;
  right: 200px;
  opacity: 0.1;
  z-index: 100;
  pointer-events: none;
}

.section-btn {
  font-family: "italiano";
  position: relative;
  text-decoration: none;
  color: #111111;
  text-transform: capitalize;
  font-weight: 300;
  letter-spacing: 1px;
  transition: 0.3s;
}

.section-btn:hover {
  color: var(--primary);
}

.section-btn::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: -10px;
  width: 85%;
  height: 1px;
  background: #111111;
  transition: 0.3s;
}

.section-btn:hover::before {
  left: 20%;
  background: var(--primary);
}

/* # Services Section */
/* linea */
.services::before {
  position: absolute;
  content: "";
  left: 50%;
  transform: translateX(-50%);
  top: 250px;
  height: 80px;
  width: 2px;
  background: var(--primary);
}

.services h4::first-letter {
  color: var(--primary);
  font-size: 2em;
}

/* # Portfolio Section */
.portfolio h1 {
  margin-bottom: 50px;
}

.portfolio #portfolio-filters {
  list-style: none;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
}

.portfolio #portfolio-filters li {
  position: relative;
  cursor: pointer;
  display: inline-block;
  margin: 10px 5px;
  font-size: 0.85em;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: #111111;
  transition: 0.3s;
  padding: 8px 20px;
  text-align: center;
}

.portfolio #portfolio-filters li::before {
  position: absolute;
  content: "";
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
  height: 2px;
  width: 50%;
  background: var(--primary);
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
  transform-origin: center;
}

.portfolio #portfolio-filters li:hover::before,
.portfolio #portfolio-filters li.filter-active::before {
  opacity: 1;
  visibility: visible;
}

.portfolio .portfolio-item {
  position: relative;
  margin-bottom: 30px;
}

.portfolio .portfolio-item .portfolio-img {
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-img img {
  transition: all 0.6s;
}

.portfolio .portfolio-item .portfolio-info {
  position: absolute;
  opacity: 0;
  left: 12px;
  right: 12px;
  bottom: 0;
  z-index: 3;
  transition: all 0.3s;
  background: var(--primary);
  padding: 12px 15px;
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 30px;
  color: #ffffff;
  font-weight: 500;
  margin-bottom: 0;
}

.portfolio .portfolio-item .portfolio-info p {
  color: #f9fcfe;
  font-size: 15px;
  margin-bottom: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 40px;
  font-size: 25px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  transition: 0.3s;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: #111111;
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 10px;
}

.portfolio .portfolio-item:hover .portfolio-img img {
  transform: scale(1.15);
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
}

/* # Contact */
.contact h1 {
  margin-bottom: 50px;
}
.contact .info {
  width: 100%;
  background: #ffffff;
}

.contact .info i {
  font-size: 1.3em;
  padding: 8px;
  color: var(--primary);
  float: left;
  width: 45px;
  height: 45px;
  background: #f4e3ea;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: 0.3s;
  margin-right: 20px;
}

.contact .info i:hover {
  font-size: 1.3em;
  padding: 8px;
  color:  #f4e3ea;
  float: left;
  width: 45px;
  height: 45px;
  background: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: 0.3s;
  margin-right: 20px;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 1.6em;
  font-weight: 400;
  margin-bottom: 6px;
  color: #111111;
}

.contact .info p {
  padding: 0 0 0 60px;
  font-size: 0.9em;
  font-weight: 300;
  margin-bottom: 0;
  color: #111111;
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact form {
  width: 100%;
  background: #ffffff;
}

.contact form .form-group {
  padding-bottom: 8px;
}

.contact form input,
.contact form textarea {
  border-radius: 0;
  box-shadow: none !important;
  outline: none;
  font-size: 15px;
}
.contact form select,
.contact form textarea {
  border-radius: 0;
  box-shadow: none !important;
  outline: none;
  font-size: 15px;
}

.contact form input:focus,
.contact form textarea:focus {
  border-color: var(--primary);
  outline: none;
}
.contact form select:focus,
.contact form textarea:focus {
  border-color: var(--primary);
  outline: none;
}

.contact form input[type="date"]:before {
  content: attr(placeholder);
  color: #000000;
  margin-right: 0.5em;
}
.contact form input[type="date"]:focus:before,
input[type="date"]:valid:before {
  content: "";
}

.contact form input {
  height: 45px;
}
.contact form select {
  height: 45px;
}

.contact form textarea {
  padding: 10px 12px;
}

.contact form button[type="submit"] {
  background: var(--primary);
  border: 1px solid var(--primary);
  padding: 10px 25px;
  color: #ffffff;
  transition: 0.3s;
  margin-top: 20px;
}

.contact form button[type="submit"]:hover {
  background: #ffffff;
  color: var(--primary);
}
/* Select */
/* Opt-in to full customization */
select,
::picker(select) {
  appearance: base-select;
}

/* Customizing the picker (dropdown list) */
::picker(select) {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 5px;
}

/* Customizing the icon */
select::picker-icon {
  color: #007bff;
}

/* # Responsive Design */

@media (max-width: 1240px) {
  header {
    padding: 30px;
  }
  header .menu .open {
    display: var(--primary);
  }
  .nav {
    display: none !important;
  }
  .logo img {
    width: 70%;
  }
  .share p {
    font-size: 2em;
  }

  .search {
    display: none;
  }
  .banner {
    padding: 120px 30px;
  }
  .banner ol {
    font-size: 1em;
  }
  .bg-slide .content {
    width: 80vw;
  }
  .bg-slide .content h1 {
    font-size: 3em;
  }
  .bg-slide .content p {
    font-size: 0.8em;
  }
  .circle.bg {
    width: 140vw;
    height: 140vw;
  }
  .circle.large {
    width: 70vw;
    height: 70vw;
  }
  .circle.small {
    width: 35vw;
    height: 35vw;
  }
  .bg-slide.active .circle.bg {
    transform: translate(0, 0) rotateZ(0);
    opacity: 1;
    visibility: visible;
  }
  .bg-slide.active .circle.large {
    transform: translate(0, 0) rotateZ(360deg);
    opacity: 1;
    visibility: visible;
  }
  .bg-slide.active .circle.small {
    transform: translate(0, 0) rotateZ(-720deg);
    opacity: 1;
    visibility: visible;
  }
  .lead {
    bottom: 30px;
    width: 150px;
    height: 150px;
  }
  .move_down i {
    font-size: 2em;
  }
  .slide-loader {
    bottom: 18%;
    right: 3%;
  }
  .slide-loader::before {
    visibility: hidden;
  }
  .share {
    left: 5px;
    bottom: auto;
  }
  .share::before {
    top: -40%;
    height: 100px;
  }
  section.section-show {
    padding: 150px 30px 100px;
  }
  section h1 {
    font-family: "vibes", cursive;
    font-weight: 200;
    font-size: 2.5em;
    letter-spacing: 1px;
    text-align: center;
  }
  .about::before {
    top: 200px;
    height: 80px;
  }
  .about .img-box img {
    max-width: 80vw;
  }
  .about .img-box .corner-img {
    width: 25vw;
    right: -20px;
  }
  .about h4 {
    margin-top: 50px;
    font-size: 2em;
    text-align: center;
  }
  .section-bg-img {
    width: 50%;
    bottom: -500px;
    right: 0px;
  }
}

.img-c {
  display: block;
  max-width: 100%;
  height: auto;
}

.container-card {
  display: grid;
  place-items: center;
  margin-inline: 1.5rem;
  padding-block: 5rem;
  margin-top: -80px;
}

.card__container {
  display: grid;
  row-gap: 3.5rem;
}

.card__container article span {
  color: var(--primary);
}

.card__article {
  position: relative;
  overflow: hidden;
}

.card__img {
  width: 328px;
  border-radius: 1.5rem;
}

.card__data {
  width: 280px;
  background-color: var(--container-color);
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 24px hsla(0, 0%, 0%, 0.15);
  border-radius: 1rem;
  position: absolute;
  bottom: -9rem;
  left: 0;
  right: 0;
  margin-inline: auto;
  opacity: 0;
  transition: opacity 1s 1s;
}

.card__description {
  display: block;
  font-size: var(--small-font-size);
  margin-bottom: 0.25rem;
}

.card__title {
  font-size: var(--h2-font-size);
  font-weight: 500;
  color: var(--title-color);
  margin-bottom: 0.75rem;
}

.card__button {
  text-decoration: none;
  font-size: var(--small-font-size);
  font-weight: 500;
  color: var(--first-color);
}

.card__button:hover {
  text-decoration: underline;
}

/* Naming animations in hover */
.card__article:hover .card__data {
  animation: show-data 1s forwards;
  opacity: 1;
  transition: opacity 0.3s;
}

.card__article:hover {
  animation: remove-overflow 2s forwards;
}

.card__article:not(:hover) {
  animation: show-overflow 2s forwards;
}

.card__article:not(:hover) .card__data {
  animation: remove-data 1s forwards;
}

/* Card animation */
@keyframes show-data {
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(-7rem);
  }
}

@keyframes remove-overflow {
  to {
    overflow: initial;
  }
}

@keyframes remove-data {
  0% {
    transform: translateY(-7rem);
  }
  50% {
    transform: translateY(-10rem);
  }
  100% {
    transform: translateY(0.5rem);
  }
}

@keyframes show-overflow {
  0% {
    overflow: initial;
    pointer-events: none;
  }
  50% {
    overflow: hidden;
  }
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .container {
    margin-inline: 1rem;
  }

  .card__data {
    width: 250px;
    padding: 1rem;
  }
}

/* For medium devices */
@media screen and (min-width: 768px) {
  .card__container {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
  }
}

/* For large devices */
@media screen and (min-width: 1120px) {
  .container {
    height: 100vh;
  }

  .card__container {
    grid-template-columns: repeat(3, 1fr);
  }
  .card__img {
    width: 348px;
  }
  .card__data {
    width: 316px;
    padding-inline: 2.5rem;
  }
}
