* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  height: 100%;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", Helvetica, Arial, sans-serif;
  color: #444;
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
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 a {
  color: #fff;
  text-shadow: 0 0 3px rgba(0, 0, 0, 1);
}
.navbar.transparent {
  background: transparent;
}
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.65);
}
.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;
}
.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;
  }
  /*--------------------하단 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;
  }
}


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


.intro-section {
  background-image: url('../images/profilebg.png');
  background-size: cover;
  background-position: center;
  padding: 40px 20px 0 20px;
  flex: 1;
}

.intro-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  min-height: 100vh;
  margin: 0 auto;
}

.intro-photo {
  background-image: url('../images/jumi-profilepc.png');
  background-size: contain;         /* 비율 유지하면서 최대한 채움 */
  background-repeat: no-repeat;
  background-position: center;
  width: 100%;                      /* flex 안에서 자동 조절 */
  height: 100vh;                    /* 데스크탑 기준 높이 */
  flex: 1 1 400px;
  max-width: 600px;
  padding: 20px;
  box-sizing: border-box;
}

.intro-text {
  flex: 1 1 400px;
  max-width: 600px;
  padding: 20px;
  box-sizing: border-box;
}

.intro-text h2 {
  font-size: 24px;
  color: #A48C7D;
  margin-bottom: 8px;
}

.intro-text h1 {
  font-size: 50px;
  color: #E0CBA8;
  margin-bottom: 40px;
  letter-spacing: 0.45em;
}

.slide-from-right p {
  font-size: 18px;
  color: #CFC6BA;
}

/*--------------------푸터--------------------*/
.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;
}

/* 애니메이션 효과 */
.slide-from-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 1s forwards;
  animation-delay: 0.3s;
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-from-right {
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 1s forwards;
  animation-delay: 0.6s;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-from-down {
  opacity: 0;
  transform: translateY(50px);
  animation: slideInRight 1s forwards;
  animation-delay: 0.6s;
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bio {
  margin-top: 20px;
  line-height: 1.8;
  font-size: 1.1rem;
}

/*--------------둥둥----------------*/
.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 screen and (max-width: 768px) {
  html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}
  .pc-only {
    display: none !important;
  }
  .mo-only {
    display: block !important;
  }
  .mobile-br {
    display: inline;
  }

  .intro-section {
    padding: 70px 5px 0; /* 메뉴바 높이 고려해서 조정 */
    margin-bottom: 0;
    background-image: url('../images/profilebgmo.png');
  }
  .intro-grid {
    flex-direction: column;
    min-height: auto;
    padding: 0 20px 40px;
    width: 100%;
    overflow-x: hidden;
  }
  .intro-photo {
    text-align: center;
    background-image: url('../images/jumi-profile.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    max-width: 400px; /* 최대 크기만 제한 */
    height: 550px;
    margin: 0 auto;   /* 중앙 정렬 */
    margin-top: 30px;
    margin-bottom: 20px;
  }
/*  .intro-photo img {
    width: 100%;
    height: auto;
    max-width: 100%;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 20px;
  }
*/
  .intro-section-mo {
    padding: 0;
    margin: 0;
    background-image: url('../images/profilebgmo.png');
    background-size: cover;
    background-position: center;
  }
  .intro-grid-mo {
    justify-content: center; /* 가로 가운데 */
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
  }

  .intro-photo-mo {
    background-image: url('../images/profilemobile.png'); /* 모바일용 따로 준비한 이미지 */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 80vh;
    margin: 0;
  }

  .intro-text {
    padding: 50px 30px;
    margin: 0 auto;
  }

  .intro-text h1 {
    font-size: 36px;
  }

  .intro-text h2 {
    font-size: 20px;
  }

  .slide-from-right p {
    font-size: 16px;
  }
  .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;
  }
}
