@import url('colors.css');

.container1,
.container2,
.container3,
.container4 {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-label {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;

  background: rgba(217, 119, 6, 0.16);
  color: var(--color-secondary);

  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 2.4px;
}

/* HERO */

.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 170px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--color-white);
  text-align: center;

  background:
    linear-gradient(
      135deg,
      rgba(2, 6, 23, 0.78),
      rgba(15, 23, 42, 0.84)
    ),
    url('../images/banner.png') center center / cover no-repeat;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(245, 158, 11, 0.18), transparent 35%),
    linear-gradient(to bottom, transparent 68%, rgba(2, 6, 23, 0.45));
  pointer-events: none;
}

.hero-section .container1 {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero-section h1 {
  margin: 26px 0;
  color: var(--color-white);
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.hero-section h1 span {
  color: var(--color-secondary);
}

.hero-text {
  margin-bottom: 42px;
  font-size: 1.45rem;
  line-height: 1.8;
  color: #E2E8F0;
}

/* ABOUT */

.about-card {
  width: 100%;
  max-width: 1120px;
  margin-top: 42px;
  padding: 58px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;

  text-align: left;

  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 34px;

  box-shadow:
    0 25px 50px rgba(15, 23, 42, 0.08),
    0 60px 120px rgba(15, 23, 42, 0.14);
}

.text-container {
  flex: 1;
}

.text-container h3 {
  font-size: 2rem;
  color: var(--color-primary);
}

.text-container p {
  margin-bottom: 16px;
  font-size: 1.06rem;
}

.point-box {
  width: 260px;
  height: 260px;
  flex-shrink: 0;

  border-radius: 50%;
  background:
    radial-gradient(circle at top, rgba(245, 158, 11, 0.38), transparent 45%),
    linear-gradient(145deg, #020617, #0F172A);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: var(--color-white);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
}

.point-box strong {
  font-size: 4.3rem;
  line-height: 1;
  color: var(--color-secondary);
}

.point-box span {
  margin-top: 8px;
  font-weight: 900;
  letter-spacing: 2px;
}

.point-box small {
  margin-top: 5px;
  color: #CBD5E1;
}

/* SERVICE / PROCESS */

.service-container,
.process-container {
  width: 100%;
  max-width: 1180px;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;

  gap: 24px;
  margin-top: 42px;
}

/* REVIEW */

.review-slider {
  width: 100%;
  max-width: 1180px;
  margin-top: 42px;

  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 18px;
}

.review-container {
  width: 100%;

  display: flex;
  flex-wrap: nowrap;

  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.review-container::-webkit-scrollbar {
  display: none;
}

.review-nav {
  width: 48px;
  height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 50%;

  background: linear-gradient(135deg, #FBBF24 0%, #D97706 100%);
  color: #111827;
  cursor: pointer;

  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;

  box-shadow:
    0 14px 30px rgba(217, 119, 6, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.review-nav:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow:
    0 20px 42px rgba(217, 119, 6, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.review-nav:disabled {
  opacity: 0.38;
  cursor: default;
}

/* CARD COMMON */

.service-box,
.process-box,
.review-box {
  position: relative;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 34px;

  box-shadow:
    0 20px 40px rgba(15, 23, 42, 0.08),
    0 40px 80px rgba(15, 23, 42, 0.14);

  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.service-box:hover,
.process-box:hover,
.review-box:hover {
  transform: translateY(-12px);

  box-shadow:
    0 30px 60px rgba(15, 23, 42, 0.15),
    0 60px 120px rgba(15, 23, 42, 0.22);
}

.service-box::before,
.process-box::before,
.review-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-gold-light));
}

.service-box::after,
.process-box::after,
.review-box::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -50px;

  width: 70%;
  height: 60px;

  transform: translateX(-50%);

  background: rgba(15, 23, 42, 0.18);
  filter: blur(40px);

  opacity: 0;
  transition: 0.35s;
}

.service-box:hover::after,
.process-box:hover::after,
.review-box:hover::after {
  opacity: 0.8;
}

/* SERVICE */

.service-box {
  width: 350px;
  padding: 38px;
  text-align: left;
}

.service-num {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--color-secondary);
  font-size: 2.2rem;
  font-weight: 900;
}

.service-box h3,
.review-box h3 {
  color: var(--color-primary);
}

/* PROCESS */

.process-box {
  width: 315px;
  padding: 38px 30px;
  text-align: center;
}

.process-box strong {
  display: block;
  margin-bottom: 18px;
  color: var(--color-secondary);
  font-size: 2.8rem;
  line-height: 1;
}

/* REVIEW */

.review-box {
  width: min(760px, 78vw);
  flex: 0 0 min(760px, 78vw);
  padding: 42px;
  text-align: left;
  border: 0;
  scroll-snap-align: center;
  box-shadow: none;
}

.review-box:hover {
  transform: none;
  box-shadow: none;
}

.review-box::after {
  display: none;
}

.review-box h3 {
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.review-box p {
  margin-bottom: 16px;
  line-height: 1.9;
}

.review-box p:last-child {
  margin-bottom: 0;
}

/* CONTACT */

.contact-section {
  color: var(--color-white);
  background:
    radial-gradient(circle at top left, rgba(245, 158, 11, 0.24), transparent 34%),
    radial-gradient(circle at bottom right, rgba(59, 130, 246, 0.16), transparent 32%),
    linear-gradient(135deg, #020617, #0F172A);
}

.contact-section h2 {
  color: var(--color-white);
}

.contact-section p {
  color: #CBD5E1;
}

.contact-button-box {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 34px;
}

.kakao-btn {
  background: #FEE500;
  color: #111827;
  box-shadow: 0 12px 30px rgba(254, 229, 0, 0.26);
}

.kakao-btn:hover {
  background: #FDD835;
}

/* SECTION INNER ANIMATION */

.service-box,
.process-box,
.review-box,
.about-card,
.point-box {
  opacity: 0;
  transform: translateY(28px);
}

section.show .service-box,
section.show .process-box,
section.show .review-box,
section.show .about-card,
section.show .point-box {
  opacity: 1;
  transform: translateY(0);
}

section.show .service-box:nth-child(1),
section.show .process-box:nth-child(1),
section.show .review-box:nth-child(1) {
  transition-delay: 0.08s;
}

section.show .service-box:nth-child(2),
section.show .process-box:nth-child(2),
section.show .review-box:nth-child(2) {
  transition-delay: 0.16s;
}

section.show .service-box:nth-child(3),
section.show .process-box:nth-child(3),
section.show .review-box:nth-child(3) {
  transition-delay: 0.24s;
}

section.show .review-box:nth-child(4) {
  transition-delay: 0.32s;
}

section.show .review-box:nth-child(5) {
  transition-delay: 0.4s;
}

/* MOBILE */

@media (max-width: 768px) {
  .hero-section {
    min-height: 700px;
    padding: 80px 16px 50px;
    background-position: center bottom;
  }

  .hero-section .container1 {
    width: 100%;
    max-width: 100%;
  }

  .hero-section h1 {
    margin: 22px 0;
    font-size: 3.3rem;
    line-height: 1.05;
  }

  .hero-text {
    margin-bottom: 34px;
    font-size: 1.1rem;
    line-height: 1.75;
  }

  .section-label {
    padding: 7px 14px;
    font-size: 0.72rem;
    letter-spacing: 2px;
  }

  .about-card {
    flex-direction: column;
    margin-top: 28px;
    padding: 30px 22px;
    text-align: center;
    gap: 34px;
  }

  .text-container h3 {
    font-size: 1.55rem;
  }

  .text-container p {
    font-size: 0.98rem;
  }

  .point-box {
    width: 180px;
    height: 180px;
  }

  .point-box strong {
    font-size: 3rem;
  }

  .service-container,
  .process-container,
  .review-slider {
    gap: 18px;
    margin-top: 30px;
  }

  .review-slider {
    grid-template-columns: 38px minmax(0, 1fr) 38px;
  }

  .review-nav {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .service-box,
  .process-box {
    width: 100%;
    max-width: 100%;
    padding: 28px 22px;
    border-radius: 28px;
  }

  .review-box {
    width: 100%;
    max-width: 100%;
    flex-basis: 100%;
    padding: 28px 20px;
    border-radius: 24px;
  }

  .process-box {
    text-align: center;
  }

  .review-box {
    text-align: left;
  }

  .review-box h3 {
    font-size: 1.28rem;
    margin-bottom: 16px;
  }

  .review-box p {
    font-size: 0.96rem;
    line-height: 1.85;
    margin-bottom: 14px;
  }
}
