/* 기본 스타일 초기화 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 네비게이션 바 */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #000000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
  transition: all 0.3s ease;
}

.nav-links li a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #2575fc;
}

/* 햄버거 메뉴 (반응형) */
.menu-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* 메인 콘텐츠 */
.layout {
  margin-top: 100px;
  flex: 1;
  padding: 20px;
}

/* flexbox 정렬 */
.flexbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  padding: 20px;
  flex-wrap: wrap;
}

.flexbox .item.image img {
  width: 400px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.flexbox .item.text {
  max-width: 500px;
}

.flexbox .item.text h2 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}

.flexbox .item.text p {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.6;
}

.feature-section {
  width: 100%;
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.feature-section h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 30px;
}

.feature-box {
  background-color: #ffffff; 
  padding: 40px 30px;
  border-radius: 20px;
  color: #222; 
  font-size: 1.1rem;
  line-height: 1.8;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-box p {
  margin-bottom: 20px;
}

.feature-box strong {
  font-weight: 700;
  color: #000;
}

/* 푸터 */
footer {
  text-align: center;
  padding: 1rem;
  background-color: #f0f4f8;
  color: #666;
  margin-top: auto;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 1.2rem;
    right: 2rem;
    z-index: 1001;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background: #fff;
    position: absolute;
    top: 60px;
    right: 2rem;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .navbar {
    flex-direction: row;
    align-items: center;
  }

  .flexbox {
    flex-direction: column;
    text-align: center;
  }

  .flexbox .item.image img {
    width: 100%;
    max-width: 300px;
  }
}
