* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --max: 1400px;
  --header-h: 70px;
  --line: #cfcfcf;
  --area: #9e9e9e;
  --area-2: #6f6f6f;
  --ink: #222;
  --label: #fff;
}
html, body {
  height: 100%;
}
body {
  font-family: -apple-system, "Malgun Gothic", "맑은 고딕", sans-serif;
  background-color: #fff;
}
.area-label {
  color: var(--label);
  letter-spacing: 1px;
  font-size: 16px;
  opacity: .95;
}

/* ===================== HEADER (70px) ===================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: var(--header-h);
  /*background-color: rgba(255, 255, 255, 0.6);*/
  border-bottom:1px solid rgba(255,255,255,0.6);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
}
.header__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  width: 100px;
  height: 80px;
  margin-top: 15px;;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.gnb {
  flex: 1;
  display: flex;
  justify-content: center;
}
.gnb ul {
  list-style: none;
  display: flex;
  gap: 56px;
  padding: 14px 36px;
}
.gnb ul li:not(:last-child) {
  position: relative;
}
.gnb ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.6);
}
.gnb a {
  text-decoration: none;
  color: #fff;
  font-family: 'Times New Roman', Times, serif;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 1px;
}
.gnb a:hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.gnb a.active {
  text-decoration: underline;
  font-weight: 600;
}
.header__icon-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.header__board,
.header__user-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff;
  flex-shrink: 0;
  transition: opacity 0.2s;
}
.header__user-link {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.header__board:hover,
.header__user-link:hover {
  opacity: 0.7;
}
/* ================== MAIN-VISUAL (600px / inner 540px) ================== */
.main-visual {
  height: 780px;
  background: var(--area-2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.main-visual__inner {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}
.slide.active {
  opacity: 1;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 블라인드 효과  */
.main-visual__inner::after {
  content: "";
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  transition: top 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}
.main-visual__inner:hover::after {
  top: 0;
}

/* ================== CONTENTS 공통 ================== */
.contents {
  background-color: #1b211d;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contents--color {
  padding: 40px 0;
}
.contents--photo {
  padding: 40px 0;
}
.contents__inner {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
}

/* ---- color-contents 섹션: 위 swiper + 아래 text ---- */
.contents--color .contents__inner {
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.color-swiper-wrap {
  width: 55%;
  aspect-ratio: 3 / 2;
  position: relative;
  overflow: hidden;
}
.colorSwiper {
  width: 100%;
  height: 100%;
}
.colorSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.color-contents-text {
  width: 55%;
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: justify;
  line-height: 2.4;
}
.colorSwiper .swiper-pagination-bullet {
  background: #fff;
  opacity: .5;
}
.colorSwiper .swiper-pagination-bullet-active {
  opacity: 1;
}

/* ---- photo-shot 섹션: 위 contents(전체) + 아래 text ---- */
.contents--photo .contents__inner {
  flex-direction: column;
  gap: 30px;
  max-width: 1600px;
}
.photo-shot-contents {
  width: 100%;
  overflow: hidden;
  position: relative;
}
.photoShotSwiper {
  width: 100%;
  height: 100%;
}
.photoShotSwiper .swiper-slide {
  width: 40%;
  height: auto;
  aspect-ratio: 3 / 2;
  background: #000;
  overflow: hidden;
  transition: transform .4s, opacity .4s;
  opacity: .5;
}
.photoShotSwiper .swiper-slide-active {
  opacity: 1;
}
.photoShotSwiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-shot-contents-text {
  width: 100%;
  padding: 24px 15%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 2.4;
}
.photo-shot-contents-text .area-label {
  letter-spacing: 0.5px;
}


/* ===================== FOOTER ===================== */
.footer {
  background: #111;
  padding: 28px 40px;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__copy {
  font-size: 12px;
  color: #666;
  letter-spacing: 1px;
}
.footer__links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.footer__links a {
  font-size: 20px;
  color: #888;
  text-decoration: none;
  transition: color 0.3s;
}
.footer__links a:hover {
  color: #fff;
}

/* ===================== 회원가입 모달 ===================== */
.signup-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.signup-modal-overlay.is-open {
  display: flex;
}
.signup-modal {
  background: #222;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 36px 32px;
  width: 360px;
  max-width: calc(100vw - 40px);
  position: relative;
}
.signup-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.signup-modal__close:hover {
  color: #fff;
}
.signup-modal__title {
  font-size: 20px;
  font-weight: 700;
  color: #e0e0e0;
  margin-bottom: 24px;
  text-align: center;
}
.signup-modal__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.signup-modal__form input {
  height: 44px;
  padding: 0 14px;
  background: #2e2e2e;
  border: 1px solid #3a3a3a;
  border-radius: 4px;
  font-size: 14px;
  color: #e0e0e0;
  outline: none;
  transition: border-color 0.2s;
}
.signup-modal__form input::placeholder {
  color: #555;
}
.signup-modal__form input:focus {
  border-color: coral;
}
.signup-modal__submit {
  height: 44px;
  background: coral;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 4px;
  transition: opacity 0.2s;
}
.signup-modal__submit:hover {
  opacity: 0.85;
}
.signup-modal__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.signup-modal__message {
  font-size: 13px;
  color: #e53e3e;
  text-align: center;
  min-height: 18px;
}
.signup-modal__message.is-success {
  color: #38a169;
}

/* ===================== 반응형 ===================== */
@media (max-width: 980px) {
  .contents {
    padding: 40px 20px;
  }
  .contents__inner {
    flex-direction: column;
    align-items: center;
  }
  .color-swiper-wrap {
    width: 100%;
    height: 400px;
  }
  .photoShotSwiper .swiper-slide {
    width: 60%;
  }
  .main-visual {
    height: 400px;
  }
}
@media (max-width: 640px) {
  .header {
    height: auto;
  }
  .header__inner {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }
}
