* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background-color: #000000;
}

/* 네비게이션 바 크기 조정 */
#navbar {
  height: 90px; /* 1.5배 */
  background-color: #333333; /* 진한 회색 */
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

#navbar .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.logo {
  font-size: 36px; /* 1.5배 */
  color: #FFD700; /* 골드색 */
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); /* 빛나는 효과 */
  animation: glow 1.5s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px #FFD700, 0 0 10px #FFD700;
  }
  to {
    text-shadow: 0 0 10px #FFD700, 0 0 20px #FFD700;
  }
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 24px; /* 1.5배 */
}

/* 섹션 스타일링 */
main {
  margin-top: 90px; /* 네비게이션 바 높이만큼 여백 */
  background-color: #000000;
}

.section {
  width: 100%;
  display: flex;
  justify-content: center;
  background-color: #000000;
}

/* 섹션 높이 조정 */
.section {
  height: calc(100vh - 90px); /* 4분할을 위한 높이 설정 */
}

#section5 {
  height: 400px; /* 섹션 5 높이 고정 */
}

.section .content {
  width: 100%;
  max-width: 1200px;
  padding: 60px 40px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
}

/* 짝수 섹션 배경색 */
.section:nth-child(even) .content {
  background-color: #f5f5f5;
}

/* 이미지 레이아웃 */
.content.img-left,
.content.img-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

/* 이미지 크기 */
.section img {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
}

/* 섹션 5 문의하기 버튼 스타일 */
.contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.contact-buttons img {
  width: 80px;
  height: 80px;
}

/* 기존 스타일은 유지하고 섹션 5 관련 스타일만 추가/수정 */

#section5 .contact-buttons {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 30px;
}

#section5 .contact-buttons img {
    width: 300px;  /* 가로 길이 증가 */
    height: 200px; /* 세로 길이 조정 */
    object-fit: contain; /* 이미지가 짤리지 않도록 설정 */
    transition: transform 0.3s ease;
}

#section5 .content {
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#section5 p {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* 스크롤 프로그레스 바 */
#scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  background-color: #FFD700; /* 노란색 진행률 바 */
  width: 0;
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
  .section .content {
    margin: 0 20px;
  }

  .section img {
    width: 300px;
  }
}

@media (max-width: 768px) {
  .content.img-left,
  .content.img-right {
    flex-direction: column;
  }

  .nav-links {
    display: none;
  }
}

.section p {
  font-size: 24px;
  line-height: 1.6;
  margin: 20px 0;
}

html {
    scroll-behavior: smooth; /* 부드러운 스크롤 효과 */
}
