* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: pretendard, sans-serif;
  font-weight: 100;
  background-color: #fff;
  color: #000;
}
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  z-index: 2000;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: flex;
  justify-content: space-between; /* ✅ 핵심: 양쪽 끝으로 정렬 */
  align-items: center;
}

.back-button {
  position: fixed;
  bottom: 600px;
  right: 10px;
  z-index: 9999;
  padding: 12px 27.5px;
  background-color: #222;
  color: white;
  border: none;
  border-radius: 28px;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  opacity: 0; /* 기본 숨김 */
  pointer-events: none;
  transition: background-color 0.3s ease, opacity 0.4s ease;
}


    .back-button.show {
      opacity: 1;
      pointer-events: auto;
    }
.back-button:hover {
  background-color: #d01a6f;
}

.post-nav {
  position: fixed;
  bottom: 500px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* 보여질 때 */
.post-nav.show {
  opacity: 1;
  pointer-events: auto;
}

.nav-btn {
  padding: 12px 20px;
  background-color: #000;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.nav-btn:hover {
  background-color: #d01a6f;
}





button.hamburger {
  all: unset; /* 기본 버튼 스타일 제거 */
  width: 28px;
  height: 30px;
  position: relative;
  cursor: pointer;
  z-index: 1001;
}

button.hamburger span {
  position: absolute;
  width: 100%;
  height: 4px;
  background-color: black;
  left: 0;
  transition: 0.3s ease;
  border-radius: 2px;
}
button.hamburger span:nth-child(1) { top: 0; }
button.hamburger span:nth-child(2) { top: 10px; }
button.hamburger span:nth-child(3) { top: 20px; }

.menu-open button.hamburger span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
  background: white;
}
.menu-open button.hamburger span:nth-child(2) {
  opacity: 0;
}
.menu-open button.hamburger span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
  background: white;
}

.menu-open header {
  background-color: rgba(0, 0, 0, 0.01);
}


.hero {
  text-align: center; padding: 3.5rem 1rem 1rem;
}
.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.4rem;
}
.hero p {
  font-size: 1.2rem;
  color: #000;
  line-height: 150%;
  margin-bottom: 6rem;
}




.overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 500vh;
  width: 100vw;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.menu-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100vh;
  background-color: #000;
  color: white;
  padding: 100px 40px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.menu-panel a {
  display: block;
  margin: 10px 0;
  text-decoration: none;
  font-size: 1.8rem;
  color: white;
}

 .menu-panel a:hover {
      color: #d01a6f;
    }

.menu-open .menu-panel {
  right: 0;
}

.menu-open .overlay {
  opacity: 1;
  pointer-events: auto;
}



.info-section {
  background-color: #0b6c6b;
  color: white;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.95rem;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.info-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.info-group .label {
  font-weight: 300;
  margin-bottom: 6px;
  color: #fff;
  font-size: 0.95rem;
  opacity: 0.5;
}

.info-group .value {
  font-weight: 400;
  font-size: 1rem;
  color: #fff;
}


.hero-image {
  margin-top: 125px; 
  position: relative;
  width: 100%;
  padding-top: 30%;
  overflow: hidden;
}

.hero-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-wrapper {
  background-color: #f5f5f5;
  padding: 7rem 0;
}

.gallery {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 0 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
 .gallery img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}


#topBtn {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 1001;
  background-color: #222;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#topBtn:hover {
  opacity: 1;
  transform: scale(1.1);
}

#topBtn.hide {
  opacity: 0;
  pointer-events: none;
}

#topBtn svg {
  width: 24px;
  height: 24px;
}





footer {
  text-align: center; background-color: #000;
  font-size: 1rem; padding: 4rem; color: #fff;
}
footer a {
  color: white; text-decoration: none;
}
    @media (max-width: 480px) {
      .menu-panel {
        width: 80%;
      }
}
    @media (max-width: 768px) {
      .gallery {
        padding: 20px 10px;
      }
    }

@media (max-width: 1000px) {
  .hero-image {
    padding-top: unset;
    height: 400px; /* 원하는 세로 높이 (필요시 조정 가능) */
  }

  .hero-image img {
    width: auto;
    height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    object-position: center;
  }
}




.contact-info span {
  color: #888;         /* 원하는 색상으로 변경 가능 */
  font-size: 1rem;     /* 원하는 크기로 변경 가능 */
}

.contact-info a {
  color: inherit;      /* 상속받게 하여 색상을 같게 함 */
  font-size: inherit;  /* 크기도 같게 함 */
  text-decoration: none;  /* 필요 시 밑줄 제거 */
}

.menu-open .logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}

@media (max-width: 768px) {
  .menu-open .menu-panel {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    text-align: center;
  }

  .menu-panel a {
    color: white;
    font-size: 1.8rem;
    margin: 1.2rem 0;
    text-align: center;
  }

  .menu-open .logo img {
    filter: brightness(0) invert(1);
  }

  .menu-open button.hamburger span {
    background-color: white;
  }
}

.menu-open .logo img {
  filter: brightness(0) invert(1);
  transition: filter 0.3s ease;
}
