/* HERO */

.hero {

  padding: 80px 60px;

}

.hero-content {

  max-width: 1200px;

  margin: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 60px;

}

.hero-text {

  flex: 1;

  background: #1e1e25;

  padding: 40px;

  border-radius: 40px;

}

.hero-text h1 {

  font-size: 48px;

  margin-top: 0;

}

.hero-text p {

  font-size: 22px;

  line-height: 1.7;

}

.hero-image img {

  width: 350px;

  border-radius: 20px;

  display: block;

}

/* PROJECTS */

.projects-section {

  padding: 140px 0;

  position: relative;

  overflow: hidden;

  background:
    radial-gradient(
      circle at center,
      rgba(70,70,110,0.18),
      transparent 70%
    );
}

.projects-header {

  max-width: 1400px;

  margin: auto;

  margin-bottom: 40px;

  padding: 0 140px;
}

.projects-header h2 {

  font-size: 52px;

  margin-bottom: 10px;
}

.projects-header p {

  font-size: 16px;

  color: #9f9fb5;
}

/* SLIDER AREA */

.slider-area {

  position: relative;

  width: 100%;

  max-width: 1500px;

  margin: auto;

  display: flex;

  align-items: center;

  justify-content: center;
}

/* BUTTONS */

.slider-buttons {

  position: absolute;

  inset: 0;

  pointer-events: none;

  z-index: 20;
}

.slider-buttons button {

  position: absolute;

  top: 50%;

  transform: translateY(-50%);

  width: 64px;
  height: 64px;

  border-radius: 50%;

  border: 1px solid rgba(214,176,176,0.7);

  background: rgba(18,18,28,0.72);

  backdrop-filter: blur(12px);

  color: white;

  font-size: 34px;

  font-weight: 300;

  cursor: pointer;

  pointer-events: auto;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border 0.2s ease;
}

.slider-buttons button:hover {

  transform:
    translateY(-50%)
    scale(1.08);

  background: rgba(255,255,255,0.08);
}

#prevBtn {

  left: 10px;
}

#nextBtn {

  right: 10px;
}
/* SLIDER */

.slider-wrapper {

  width: 100%;

  overflow: hidden;

  padding: 90px 0;

  position: relative;

  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      white 10%,
      white 90%,
      transparent 100%
    );

  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      white 10%,
      white 90%,
      transparent 100%
    );
}

.slider-track {

  display: flex;

  align-items: center;

  gap: 0px;

  transition: transform 0.75s ease;

  padding-left: 22%;
}

/* DOTS */

.slider-dots {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 14px;

  margin-top: 20px;
}

.slider-dot {

  width: 14px;
  height: 14px;

  border-radius: 50%;

  border: 2px solid #d6b0b0;

  background: transparent;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    opacity 0.25s ease;

  opacity: 0.5;
}

.slider-dot:hover {

  transform: scale(1.15);

  opacity: 1;
}

.slider-dot.active {

  background: #d6b0b0;

  opacity: 1;

  transform: scale(1.2);
}

.project-card {

  flex: 0 0 72%;

  height: 500px;

  margin: 0 -260px;

  background:
    linear-gradient(
      145deg,
      rgba(35,35,52,0.98),
      rgba(18,18,32,0.98)
    );

  border: 1px solid rgba(255,255,255,0.05);

  border-radius: 30px;

  overflow: hidden;

  display: flex;

  text-decoration: none;

  color: inherit;

  opacity: 0;

  transform: scale(0.72);

  transition:
    transform 0.7s ease,
    opacity 0.7s ease,
    filter 0.7s ease,
    box-shadow 0.7s ease;

  position: relative;

  z-index: 1;

  filter: blur(2px);

  pointer-events: none;
}

.project-card.active {

  opacity: 1;

  transform: scale(1);

  z-index: 50;

  filter: blur(0px);

  pointer-events: auto;
}

.project-card.prev,
.project-card.next {

  opacity: 0.22;

  transform: scale(0.8);

  z-index: 5;

  pointer-events: none;
}

.project-card:hover {

  transform: translateY(-5px);

}

.project-card img {

  width: 43%;

  object-fit: cover;

  background: #111;

  flex-shrink: 0;
}

.project-info {

  flex: 1;

  padding: 70px 60px;

  display: flex;

  flex-direction: column;

  justify-content: center;
}

.project-info h3 {

  font-size: 64px;

  line-height: 0.95;

  margin-bottom: 36px;

  margin-top: 0;
}

.project-info p {

  font-size: 22px;

  line-height: 2;

  color: #c7c7d4;

  max-width: 430px;
}

.view-project-btn {

  margin-top: 42px;

  width: 240px;

  height: 64px;

  border: 1px solid rgba(214,176,176,0.7);

  border-radius: 12px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 20px;

  color: #e7d2d2;

  transition:
    background 0.25s ease,
    border 0.25s ease,
    transform 0.25s ease;
}

.view-project-btn:hover {

  background: rgba(255,255,255,0.05);

  border-color: #d6b0b0;

  transform: translateY(-2px);
}
/* RESPONSIVE */

@media (max-width: 1000px) {

  .hero-content {

    flex-direction: column;

  }

  .project-card {

    width: 90%;

    height: auto;

    flex-direction: column;

  }

  .project-card img {

    width: 100%;

    height: 250px;

  }

  .project-info {

    padding: 30px;

  }

  .project-info h3 {

    font-size: 36px;

  }

  .project-info p {

    font-size: 20px;

  }

}