/* 기본 스타일 */
:root {
  --primary-color: #0056b3;
  --secondary-color: #e83e8c;
  --dark-color: #333;
  --light-color: #f8f9fa;
  --success-color: #28a745;
  --info-color: #17a2b8;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
}

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

body {
  font-family: 'Noto Sans KR', sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: #f4f4f4;
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* 헤더 스타일 */
.header {
  background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
  color: #fff;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem 0;
}

.logo h1 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
}

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

/* 모바일 메뉴 아이콘 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* 히어로 섹션 */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}

.hero-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover {
  background-color: #004494;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #fff;
}

.btn-secondary:hover {
  background-color: #c5306b;
}

/* 서비스 카테고리 섹션 */
.categories {
  padding: 4rem 0;
  background-color: #fff;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2rem;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: var(--primary-color);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

/* 배너 그리드 */
.banner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.service-banner {
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.service-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.banner-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  text-align: center;
}

.banner-content h3 {
  font-size: 1.4rem;
  margin-bottom: 5px;
  font-weight: 700;
}

.banner-content p {
  margin-bottom: 15px;
  font-size: 0.9rem;
  opacity: 0.9;
}

.banner-link {
  text-decoration: none;
  display: block;
  color: white;
}

.banner-content .btn {
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 8px 20px;
  display: inline-block;
}

.banner-content .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-banner:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.card-img {
  height: 200px;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
}

.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.card-content p {
  color: #6c757d;
  margin-bottom: 15px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-top: 1px solid #eee;
}

.card-link {
  color: var(--primary-color);
  font-weight: 500;
  display: flex;
  align-items: center;
}

.card-link i {
  margin-left: 5px;
}

/* 추천 섹션 */
.featured {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 25px;
}

.featured-banner {
  height: 250px;
}

.featured-tag {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* 정보 섹션 */
.info-section {
  padding: 4rem 0;
  background-color: #fff;
}

.info-banner {
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  min-height: 500px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 40px;
}

.info-banner-content {
  padding: 60px;
  color: white;
  text-align: center;
}

.info-banner-content h3 {
  font-size: 2.3rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.info-banner-content .lead {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.info-topics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.info-topic {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  border-radius: 10px;
  padding: 15px 20px;
  display: flex;
  align-items: center;
  max-width: 350px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.info-topic:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.info-topic i {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-right: 15px;
  background-color: white;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.info-topic span {
  font-size: 0.95rem;
  line-height: 1.4;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.info-content {
  padding: 20px;
}

.info-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.info-content p {
  margin-bottom: 15px;
}

.info-list {
  margin-top: 20px;
}

.info-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.info-list li i {
  color: var(--primary-color);
  margin-right: 10px;
}

.info-image img {
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 문의하기 섹션 */
.contact {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.contact-card {
  background: #fff;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.contact-card h3 {
  margin-bottom: 15px;
}

.contact-card p {
  margin-bottom: 25px;
}

.social-links {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  margin: 0 10px;
  transition: all 0.3s;
}

.social-links a:hover {
  background-color: var(--dark-color);
  transform: translateY(-3px);
}

/* 푸터 */
.footer {
  background: var(--dark-color);
  color: #fff;
  padding: 3rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--primary-color);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #bbb;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact li {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--primary-color);
  margin-right: 10px;
  margin-top: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 반응형 디자인 */
@media (max-width: 991px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .banner-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .info-banner-content {
    padding: 40px 30px;
  }
  
  .info-banner-content h3 {
    font-size: 2rem;
  }
  
  .info-topic {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 60px);
    background: var(--dark-color);
    transition: left 0.3s ease;
    z-index: 100;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    padding: 20px;
  }
  
  .main-nav ul li {
    margin: 15px 0;
  }
  
  .hero-content h2 {
    font-size: 2rem;
  }
  
  .banner-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .service-banner {
    height: 180px;
  }
  
  .featured-banner {
    height: 200px;
  }
  
  .banner-content h3 {
    font-size: 1.2rem;
  }
  
  .banner-content p {
    font-size: 0.8rem;
  }
  
  .info-banner {
    min-height: auto;
    padding: 20px 0;
  }
  
  .info-banner-content {
    padding: 30px 20px;
  }
  
  .info-banner-content h3 {
    font-size: 1.7rem;
  }
  
  .info-banner-content .lead {
    font-size: 1rem;
  }
  
  .info-topics {
    flex-direction: column;
    gap: 15px;
  }
  
  .info-topic {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 1.7rem;
  }
  
  .banner-content h3 {
    font-size: 1.1rem;
  }
  
  .banner-content p {
    font-size: 0.75rem;
    margin-bottom: 10px;
  }
  
  .banner-content .btn {
    padding: 6px 15px;
    font-size: 0.8rem;
  }
  
  .info-banner-content h3 {
    font-size: 1.5rem;
  }
  
  .info-topic {
    padding: 12px 15px;
  }
  
  .info-topic i {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .info-topic span {
    font-size: 0.85rem;
  }
}