* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", Helvetica, Arial, sans-serif;
  color: #444;
  max-width: 100%;
  background-color: #fff;
  overflow-x: hidden;
}
a {
  cursor: pointer;
}
.logo img {
  height: 40px; /* 필요에 따라 조정 */
  vertical-align: middle;
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  transition: background 0.3s ease;
}
.navbar.transparent {
  background: transparent;
  border-bottom: 0.7px solid rgba(255, 255, 255, 0.5);
}
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.6);
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links li {
  list-style: none;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
}
.hamburger {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #fff;
}
/*--------------------푸터--------------------*/
.site-footer {
  background-color: #2C3E50;
  color: #FAF3E0;
  padding: 60px 20px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-container {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.footer-logo img {
  max-height: 50px;
  margin-bottom: 20px;
}

/* 네비게이션 메뉴
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-nav a {
  color: #FAF3E0;
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover {
  text-decoration: underline;
}*/

/* 블로그 아이콘 */
.footer-icons a {
  text-decoration: none;
}

.footer-icons img {
  height: 30px;
  margin: 0 5px;
  filter: brightness(95%);
  transition: transform 0.2s ease;
}
.footer-icons img:hover {
  transform: scale(1.1);
}

.footer-map-btn img {
  width: 30px;
  border-radius: 50%;
}

/* 면책공고 */
.footer-disclaimer {
  font-size: 13px;
  margin: 20px auto 10px;
  max-width: 100%;
  color: #cccccc;
}

/* 카피라이트 */
.footer-copy {
  margin-top: 10px;
  font-size: 12px;
  color: #999999;
}
.mobile-br {
display: none;
}

/* Responsive */
@media (max-width: 768px) {
  html, body {
  max-width: 100%;
  overflow-x: hidden;
}

  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 중요 */
    padding: 10px 20px;
  }
  .navbar.transparent {
    background: transparent;
  }
  .navbar.scrolled {
    background: rgba(0, 0, 0, 0.65);
  }
  .logo {
    display: flex;
    align-items: center;
    height: 40px; /* 로고 높이 제한 */
  }

  .logo img {
    height: 100%;
    object-fit: contain;
    display: block;
    margin-top: 5px;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.75);
    position: absolute;
    top: 70px;
    right: 20px;
    padding: 20px;
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
    align-self: center;
    color: #fff;
  }
  .site-footer {
    margin-bottom: 60px;
  }
  .footer-logo img {
    max-height: 40px;
  }

  .footer-icons img {
    height: 28px;
  }

  .footer-disclaimer {
    font-size: 12px;
    padding: 0 10px;
  }

  .footer-copy {
    font-size: 11px;
  }
 /*--------------------하단 CTA 버튼들--------------------*/
   .bottom-fixed-bar {
     position: fixed;
     bottom: 0;
     left: 0;
     width: 100%;
     height: 60px;
     background-color: #2C3E50;
     box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
     display: flex;
     justify-content: space-around;
     align-items: center;
     z-index: 999;
   }

   .bottom-fixed-bar a {
     display: flex;
     align-items: center;
     justify-content: center;
     flex: 1;
     font-size: 15px;
     font-weight: 600;
     color: #FAF3E0;
     text-decoration: none;
     height: 100%;
     border-right: 1px solid rgba(255, 255, 255, 0.1);
     border-top: 1px solid rgba(255, 255, 255, 0.1);
     white-space: nowrap;
   }

   .bottom-fixed-bar a:active {
     background-color: rgba(255, 255, 255, 0.1); /* 눌린 느낌 */
     transform: scale(0.98); /* 살짝 줄어들게 */
   }

   .bottom-fixed-bar a:last-child {
     border-right: none;
   }
/*
   .bottom-fixed-bar a:nth-child(1) {
     animation: softPulse 12s infinite;
     animation-delay: 0s;
   }

   .bottom-fixed-bar a:nth-child(2) {
     animation: softPulse 12s infinite;
     animation-delay: 4s;
   }

   .bottom-fixed-bar a:nth-child(3) {
     animation: softPulse 12s infinite;
     animation-delay: 8s;
   }*/
}
/*
@keyframes softPulse {
 0%, 16.6% {
   font-size: 15px;
   text-shadow: none;
 }
 25% {
   font-size: 18px;
   text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
 }
 33.3%, 100% {
   font-size: 15px;
   text-shadow: none;
 }
}*/

@media (min-width: 769px) {
 .bottom-fixed-bar {
   display: none;
 }
}


/* -------------------이상 공통 메뉴--------------------*/

.header-bg {
  background-image: url('../images/phbg.png');
  background-size: cover;
  background-position: center;
  width: 100%;
  min-height: 300px;
  max-height: 400px; /* ✅ 최대 높이 제한 */
  height: 30vh;       /* 화면 높이에 따라 반응형 설정 */
}
.intro-text {
  padding-top: 150px;
  color: white;
  text-align: center;
  z-index: 100;
  animation: slideInLeft 1.2s ease-out;
}

.slide-from-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 1s forwards;
  animation-delay: 0.3s;
  will-change: transform, opacity;
}

.intro-text h2 {
  font-size: 32px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

.intro-text p {
  font-size: 14px;
  margin-bottom: 10px;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
}

.core-values-section {
  padding: 80px 20px 0;
  background-color: #fff;
  max-width: 1200px;
  margin: 0 auto;
}

.core-values-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 60px;
  margin-bottom: 60px;
}

.core-values-image {
  flex: 1 1 45%;
}

.core-values-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.core-values-text {
  flex: 1 1 45%;
}

.core-values-text h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #2C3E50;
  padding-left: 10px;
  border-left: 5px solid #CBAE8E;
}

.core-values-text p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: #333;
}

.core-values-text .accent {
  font-weight: 700;
  color: #CBAE8E;
}

/* 애니메이션 */
.slide-from-left,
.slide-from-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s ease;
}
.slide-from-left {
  transform: translateX(-60px);
}

.slide-from-left.visible,
.slide-from-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/*--------------둥둥----------------*/
.floating-icons {
  position: fixed;
  top: 70%;
  right: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  z-index: 999;
}

.floating-icons a {
  display: block;
  width: 60px;
  height: 60px;
  background-color: #f7f7f7;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.floating-icons a:hover {
  transform: scale(1.1);
}

.floating-icons a:not(:first-child) {
  margin-top: 15px;
}

.floating-icons img {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  opacity: 85%;
}
.floating-icons a:first-child img {
  width: 35px;
  height: 35px;
  border-radius: 0%;
  transform: translateY(7%);
}
.pc-only {
  display: block;
}
.mo-only {
  display: none !important;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  }
  .mobile-br {
    display: inline;
  }
  .pc-only {
    display: none !important;
  }
  .mo-only {
    display: block !important;
  }
  .header-bg {
    background-image: url('../images/phbg.png');
    background-size: cover;
    background-position: center;
    width: 100%;      /* 화면 높이에 따라 반응형 설정 */
    min-height: 230px;
  }

  .intro-text {
    padding-top: 100px; /* ✅ 너무 위로 밀리지 않게 조정 */
    text-align: center;
    color: white;
    z-index: 100;
  }

  .core-values-row {
    flex-direction: column-reverse !important;
  }
  .core-values-row.reverse {
    flex-direction: column !important;
  }
  .core-values-image {
    flex: 100%;
  }

  .core-values-image img {
    width: 90vw;
    height: 250px;
    object-fit: cover;
  }

}
