@import "../fonts.css";
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

@layer base {

  html,
  body {
    overflow-x: hidden;
    font-family: "EB Garamond", serif !important;

    --rows: 22;
  }

  body {
    @apply bg-background text-text antialiased selection:bg-primary selection:text-white;
    scroll-behavior: smooth;
  }
}

@layer utilities {
  .glass-panel {
    @apply bg-white/80 backdrop-blur-md border border-border shadow-sm;
  }

  .glass-card {
    @apply bg-white border border-border rounded-xl shadow-sm transition-all duration-300;
  }

  .glass-card:hover {
    @apply border-primary/40 shadow-md -translate-y-1;
  }

  .text-gradient {
    @apply bg-clip-text text-transparent bg-gradient-to-r from-primary via-orange-500 to-secondary;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 100ms;
}

.reveal-delay-2 {
  transition-delay: 200ms;
}

.reveal-delay-3 {
  transition-delay: 300ms;
}

:root {
  --bg-body: #f7f7f7;
  --bg-nav: rgba(217, 217, 217, 0.315);

      --size: clamp(10rem, 1rem + 40vmin, 30rem);
    --gap: calc(var(--size) / 14);
    --duration: 60s;
    --scroll-start: 0;
    --scroll-end: calc(-100% - var(--gap));
}


header {
  position: fixed;
  top: 15px;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  transition: all 0.5s ease-in-out;
}

.navBar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  max-width: min(1200px, 100%);
  width: 100%;
  height: 100%;
  margin: 0 auto;
  border-radius: 10px;
  background-color: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: all 0.5s ease-in-out;
}

.hero-section {
  overflow: hidden;
  min-height: 100vh;
  background:
    radial-gradient(ellipse 100% 35% at 50% 100%, rgba(0, 0, 0, 0.25) 0%, transparent 65%),
    linear-gradient(to bottom, transparent, #000000 20%, #FF7A00 80%, transparent);
  background-attachment: fixed;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.hero-section p {
  font-family: "EB Garamond", serif !important;
}

#text {
  font-family: "EB Garamond", serif;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  font-size: clamp(4.5rem, 12vw, 10rem);
  font-weight: 100;
  cursor: pointer;
  line-height: 1.1;
  text-align: center;
}

#text span {
  display: inline-block;
  filter: blur(3px);
  transition: filter 0.25s ease;
}

#text span.active {
  filter: blur(0);
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -20;
  background: radial-gradient(circle at 50% 18%, rgba(255, 122, 0, 0.08), transparent 20%),
    radial-gradient(circle at 22% 24%, rgb(0, 0, 0), transparent 18%),
    radial-gradient(circle at 88% 18%, rgba(255, 149, 51, 0.06), transparent 16%),
    linear-gradient(180deg, #000000 0%, #848383 55%, #ffffff 100%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .hero-section {
    background-attachment: scroll;
    min-height: 85vh;
    padding-top: 4rem;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
  }

  .baner {
    margin-top: 60px;
  }

  #text {
    font-size: clamp(3rem, 11vw, 7.5rem);
  }

  .hero-section p {
    font-size: 1rem;
    max-width: 95%;
    margin: 0 auto;
  }

  .navBar {
    padding: 0.85rem 1rem;
  }
}

@media (max-width: 640px) {
  header {
    top: 8px;
  }

  .navBar {
    flex-wrap: wrap;
    gap: 0.75rem;
    border-radius: 16px;
    width: calc(100% - 1.5rem);
    padding: 0.8rem 0.85rem;
  }

  .hero-section {
    min-height: 80vh;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
  }

  .baner {
    margin-top: 40px;
  }

  #text {
    font-size: clamp(2.5rem, 16vw, 6rem);
  }

  .hero-section .flex {
    flex-direction: column;
  }

  .glass-card {
    padding: 1.5rem;
  }
}

@keyframes pulse-slow {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.6;
  }

  100% {
    opacity: 1;
  }
}

.animate-pulse-slow {
  animation: pulse-slow 6s ease-in-out infinite;
}

/* Header scrolled styles */
header.scrolled .navBar {
  background-color: #ffffff;
  color: #111827;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.04);
}


.navBarAll {
  background-color: #ffffff;
  color: #111827;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.04);
}

.navBarAll a {
  color: #111827 !important;

}

/* Default navBar transparent when at top */
header:not(.scrolled) .navBar {
  background-color: transparent;
  color: #ffffff;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: none;
}

header.scrolled .navBar a {
  color: #111827;
}

header:not(.scrolled) .navBar a {
  color: #ffffff;
}

.nav-links a,
.nav-links-menu a {
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  line-height: 16px;
  font-weight: 300;
  padding: 10px;
  margin: 4px 0;
  transition: all .3s;
  overflow: hidden;
  z-index: 1;
}

.nav-links a:hover,
.nav-links a.active {
  color: #FF7A00 !important;
}


.Empresa-marquee {
  height: 440px;
  width: 90%;
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  margin: 100px auto;
  gap: 60px;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;

}


.social-icons {
  padding: 10px 0;

  a {
    font-size: 1.8rem;
    margin-right: 10px;
    color: var(--white);
  }
}

.footer-logos {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
  border-bottom: 1px solid var(--bg-body);
}

.marquee-F {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  mask-image: linear-gradient(var(--mask-direction, to right),
      hsl(0 0% 0% / 0),
      hsl(0 0% 0% / 1) 20%,
      hsl(0 0% 0% / 1) 80%,
      hsl(0 0% 0% / 0));
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
  animation: scroll-x var(--duration) linear infinite;

}

@media (prefers-reduced-motion: reduce) {
  .marquee__group {
    animation-play-state: paused;
  }
}

.marquee--vertical {
  --mask-direction: to bottom;
}

.marquee--vertical,
.marquee--vertical .marquee__group {
  flex-direction: column;
}

.marquee--vertical .marquee__group {
  animation-name: scroll-y;
}

.marquee--reverse .marquee__group {
  animation-direction: reverse;
  animation-delay: -3s;
}

.icon-empresa img {
  object-fit: contain;
}

.marquee .icon-empresa {
  display: block;
  place-items: center;
  width: 180px;
  height: 100px;
  padding: 10px;
  border: none
}

.marquee--vertical .icon-empresa {
  aspect-ratio: 1;
  width: calc(var(--size) / 1.5);
  padding: calc(var(--size) / 6);
}


.wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin: auto;
  max-width: 100vw;
}

.footer-logos img {
  height: 42px;
  width: 100px;
  object-fit: contain;
}

.footer-bottom {
  text-align: center;
  font-size: 1rem;
  font-weight: 200;
  margin-top: 10px;
  padding: 20px 0;
  color: var(--white);

  p {
    text-align: center;
  }

}


@keyframes fade {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes scroll-x {
  from {
    transform: translateX(var(--scroll-start));
  }

  to {
    transform: translateX(var(--scroll-end));
  }
}