@charset "UTF-8";

.clearfix::after {
  content: "";
  clear: both;
  display: block;
}

/******************** 메인 슬라이드 시작 ********************/

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;600;700&family=Noto+Serif+KR:wght@300;400;600;700&display=swap");

/* 히어로 섹션 - 우주 배경 */
.hero {
  position: relative;
  min-height: 100vh;
  background: url(../img/main.jpg) center;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
}

.hero-title {
  font-size: 3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-family: "Noto Serif KR", serif;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  opacity: 0.9;
  font-weight: 300;
}

.hero-description {
  font-size: 1rem;
  margin-bottom: 3rem;
  opacity: 0.8;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  min-width: 140px;
}

.hero-btn.primary {
  background: linear-gradient(135deg, #8b4a9c, #6b2c7d);
  color: white;
  box-shadow: 0 4px 15px rgba(139, 74, 156, 0.3);
}

.hero-btn.secondary {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* 서비스 섹션 */
.services {
  background: linear-gradient(135deg, #f8f8f8, #e8e8e8);
  color: #333;
  padding: 5rem 2rem;
  position: relative;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services-header {
  margin-bottom: 3rem;
}

.services-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #d4af37;
}

.services-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: "Noto Serif KR", serif;
}

.services-subtitle {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  display: inline-block;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.services-description {
  color: #666;
  font-size: 1rem;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
  border-radius: 15px 15px 0 0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-image {
  width: 100%;
  height: 200px;
  background: #f0f0f0;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #999;
  z-index: 2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-card:nth-child(1) .service-image {
  background-image: url("../img/sec2_2.jpg");
}

.service-card:nth-child(2) .service-image {
  background-image: url("../img/sec2_3.jpg");
}

.service-card:nth-child(3) .service-image {
  background-image: url("../img/sec2_1.jpg");
}


.service-image:not([style*="background-image"])::after {
  opacity: 1;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.service-description {
  color: #666;
  line-height: 1.6;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
}

/* 소개 섹션 */
.about {
  background: radial-gradient(
      ellipse at center,
      rgba(76, 0, 130, 0.116) 0%,
      rgba(0, 0, 0, 0.8) 70%
    ),
    linear-gradient(135deg, #0a0a23 0%, #1a1a3a 50%, #2a1a4a 100%);
  background-size: cover;
  padding: 5rem 2rem;
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

/* 소개 섹션 별 컨테이너 */
.about-stars {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

/* 소개 섹션 은하수 효과 */
.about-galaxy {
  position: absolute;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    ellipse 600px 150px at 50% 50%,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.01) 30%,
    transparent 70%
  );
  transform: rotate(-15deg);
  animation: aboutGalaxyRotate 80s linear infinite;
  top: -50%;
  left: -50%;
}

@keyframes aboutGalaxyRotate {
  0% {
    transform: rotate(-15deg);
  }
  100% {
    transform: rotate(345deg);
  }
}

.about .services-header{
  text-align: center;
  color: #fff !important;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 5;
}

.about-content h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #d4af37;
  font-family: "Noto Serif KR", serif;
}

.about-subtitle {
  font-size: 2.1rem;
  color: #d4af37;
  margin-bottom: 2rem;
  font-weight: 600;
}

.about-text {
  color: #ccc;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 19px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #d4af37;
  margin-bottom: 0.5rem;
  font-family: "Noto Serif KR", serif;
}

.stat-label {
  color: #ccc;
  font-size: 0.9rem;
}

/* 별 트윙클 효과 */
.twinkling-star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle 2s infinite alternate;
}

@keyframes twinkle {
  0% {
    opacity: 0.3;
    transform: scale(1);
    box-shadow: 0 0 3px rgba(255, 255, 255, 0.3);
  }
  100% {
    opacity: 1;
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  }
}

/* 스크롤 애니메이션 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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

/* 반응형 디자인 */
@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* 고객센터 섹션 */
.contact {
  background: url(../img/sec4_bg.jpg);
  background-size: cover;
  padding: 4rem 2rem;
  text-align: center;
  color: white;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
}

.contact-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: #d4af37;
}

.contact-description {
  color: #ccc;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.contact-phone {
  background: linear-gradient(135deg, #d4af37, #b8941f);
  color: #1a1a1a;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.contact-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.contact-info {
  color: #ccc;
  font-size: 0.9rem;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .moon-phases {
    gap: 0.5rem;
  }


  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .services-title {
    font-size: 1.7rem;
  }

  .about-subtitle {
    font-size: 1.5rem;
  }

  .about-text {
    font-size: 17px;
  }
}

/* 스크롤 애니메이션 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

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