html {
  scroll-behavior: smooth;
}

/* Hero animation en css*/

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* gallery animation en css
  */

  .gallery-row {
  overflow: hidden;
  position: relative;
}

.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: galleryScroll 40s linear infinite;
}

.gallery-row.reverse .gallery-track {
  animation: galleryScrollReverse 40s linear infinite;
}

.gallery-row:hover .gallery-track {
  animation-play-state: paused;
}

.gallery-track img {
  width: 260px;
  height: 340px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.4s ease;
}

.gallery-track img:hover {
  transform: scale(1.05);
}

.fade-left,
.fade-right {
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.fade-left {
  left: 0;
  background: linear-gradient(to right, #09090b, transparent);
}

.fade-right {
  right: 0;
  background: linear-gradient(to left, #09090b, transparent);
}

@keyframes galleryScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes galleryScrollReverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}


/* ================= REVIEWS SLIDER ================= */

.review-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: scrollReviews 55s linear infinite;
}

.review-track:hover {
  animation-play-state: paused;
}

/* review cards */
.review-card {
  width: 320px;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  transition: transform 0.35s ease, border-color 0.35s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  border-color: rgba(251, 191, 36, 0.35);
}

/* stars */
.stars {
  color: #fbbf24;
  letter-spacing: 2px;
  font-size: 18px;
}

/* text */
.review-card p {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.author {
  margin-top: 22px;
}

.name {
  display: block;
  font-weight: 600;
  color: white;
}

.role {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

/* ================= REVIEW FADES ================= */

.review-fade-left,
.review-fade-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 48px;
  z-index: 10;
  pointer-events: none;
}

.review-fade-left {
  left: 0;
  background: linear-gradient(
    to right,
    #09090b 0%,
    rgba(9, 9, 11, 0.92) 35%,
    rgba(9, 9, 11, 0) 100%
  );
}

.review-fade-right {
  right: 0;
  background: linear-gradient(
    to left,
    #09090b 0%,
    rgba(9, 9, 11, 0.92) 35%,
    rgba(9, 9, 11, 0) 100%
  );
}

/* ================= ANIMATION ================= */

@keyframes scrollReviews {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
@media (max-width: 768px) {
  .review-fade-left,
  .review-fade-right {
    width: 32px;
  }

  .review-card {
    width: 280px;
  }
}

/* ================= ANIMATION logo ================= */

.logo-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  animation: logoFloat 3.5s ease-in-out infinite;
}

.logo-shimmer {
  display: block;
  position: relative;
}

.logo-wrap::after {
  content: "";
  position: absolute;
  top: -20%;
  left: -120%;
  width: 60%;
  height: 140%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,0.00) 35%,
    rgba(255,255,255,0.22) 50%,
    rgba(255,255,255,0.00) 65%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: logoSweep 4.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes logoSweep {
  0%, 70%, 100% {
    left: -120%;
  }
  85% {
    left: 130%;
  }
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3px);
  }
}