* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: default;
}

body {
  font-family: "Playfair Display", "Georgia", serif;
  background-color: #0a0a0a;
  color: #f5f5f5;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

main{
  height: 100dvh;
}

/* Hero Section */
.hero-section {
  overflow: hidden;
  position: relative;
  height: 100dvh;
}

.photo {
  background: linear-gradient(135deg,
      rgba(10, 10, 10, 0.7),
      rgba(212, 175, 55, 0.1)),
    url("../media/index.webp");
  height: 100dvh;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: filter 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  filter: blur(0px);
}

.photo.blurred {
  filter: blur(8px) brightness(0.3);
}

.photo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center,
      transparent 0%,
      rgba(10, 10, 10, 0.3) 70%);
  transition: background 0.6s cubic-bezier(0.4, 0, 0.2, 1);

}

.photo.blurred::before {
  background: radial-gradient(circle at center,
      rgba(10, 10, 10, 0.6) 0%,
      rgba(10, 10, 10, 0.8) 70%);
}

.hero-content {
  text-align: center;
  color: #f5f5f5;
  z-index: 2;
  padding: 60px 40px;
  max-width: 800px;
  position: relative;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 10, 10, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: -1;
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 300;
  margin-bottom: 30px;
  letter-spacing: 2px;
  line-height: 1.2;
  animation: fadeInUp 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: rgba(245, 245, 245, 0.9);
  font-weight: 300;
  letter-spacing: 1px;
  animation: fadeInUp 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s both;
}

.hero-content button {
  padding: 18px 45px;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #0a0a0a;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1.5s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.hero-content button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: left 0.6s;
}

.hero-content button:hover::before {
  left: 100%;
}

.hero-content button:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Reviews Section */
.reviews-section {
  padding: 120px 40px;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  position: relative;
  overflow: hidden;
}

.reviews-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="%23d4af37" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 300;
  margin-bottom: 80px;
  text-align: center;
  color: #d4af37;
  letter-spacing: 2px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  min-height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.slider {
  position: relative;
  width: 100%;
  height: 90dvh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.item {
  position: absolute;
  width: 320px;
  height: 450px;
  background: linear-gradient(145deg,
      rgba(245, 245, 245, 0.08),
      rgba(212, 175, 55, 0.02));
  backdrop-filter: blur(25px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 25px;
  padding: 50px 35px;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0.4;
  transform: scale(0.8) rotateY(45deg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#next,
#prev {
  display: none;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  user-select: none;
}

#next {
  display: none;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}

.item:nth-child(1) {
  left: 50%;
  transform: translateX(-50%) scale(0.8) rotateY(-15deg);
  z-index: 3;
}

.item:nth-child(2) {
  left: 25%;
  transform: translateX(-50%) scale(0.7) rotateY(-45deg);
  z-index: 1;
}

.item:nth-child(3) {
  left: 75%;
  transform: translateX(-50%) scale(0.7) rotateY(45deg);
  z-index: 1;
}

.item:nth-child(4) {
  left: 10%;
  transform: translateX(-50%) scale(0.6) rotateY(-60deg);
  z-index: 0;
  opacity: 0.2;
}

.item:nth-child(5) {
  left: 90%;
  transform: translateX(-50%) scale(0.6) rotateY(60deg);
  z-index: 0;
  opacity: 0.2;
}

.item.active {
  opacity: 1;
  transform: translateX(-50%) scale(1) rotateY(0deg);
  background: linear-gradient(145deg,
      rgba(245, 245, 245, 0.12),
      rgba(212, 175, 55, 0.05));
  border-color: rgba(212, 175, 55, 0.4);
  z-index: 5;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 50px rgba(212, 175, 55, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      transparent,
      rgba(212, 175, 55, 0.05),
      transparent);
  border-radius: 25px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.item:hover::before {
  opacity: 1;
}

.item h3 {
  color: #d4af37;
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.item p {
  color: #f5f5f5;
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  font-style: italic;
  font-weight: 300;
}

.item small {
  color: #d4af37;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 1px;
}

#next,
#prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(145deg,
      rgba(212, 175, 55, 0.15),
      rgba(212, 175, 55, 0.05));
  backdrop-filter: blur(20px);
  border: 2px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  width: 5vw;
  height: 5vw;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: 300;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

#prev {
  left: 5%;
}

#next {
  right: 5%;
}

#next:hover,
#prev:hover {
  background: linear-gradient(145deg,
      rgba(212, 175, 55, 0.25),
      rgba(212, 175, 55, 0.1));
  border-color: rgba(212, 175, 55, 0.5);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Scroll animations */
.scroll-fade {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-slide-left {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.scroll-slide-right {
  opacity: 0;
  transform: translateX(100px);
  transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.5rem;
  }

  .item {
    width: 300px;
    height: 400px;
    padding: 35px 25px;
  }

  #prev {
    left: 2%;
  }

  #next {
    right: 2%;
  }

  .photo {
    background-attachment: scroll;
  }

  .reviews-section {
    padding: 80px 20px;
  }
}

@media (max-width: 480px) {
  .item {
    width: 280px;
    height: 380px;
    padding: 30px 20px;
  }

  #prev {
    left: 1%;
  }

  #next {
    right: 1%;
  }

  #next,
  #prev {
    background: rgba(255, 255, 255, 0);
    border: none;
    background-color: rgba(255, 255, 255, 0);
    width: 2vw;
    height: 2vw;
    font-size: 1.5rem;
  }
}
