﻿/* ==========================================================================
       1. Reset & Global Styles
       ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Pretendard", -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", "Segoe UI", sans-serif;
  color: #333333;
  background-color: #ffffff;
  line-height: 1.6;
  word-break: keep-all;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Container Utility */
.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Common Section Header */
.section-header {
  margin-bottom: 36px;
}

.section-header__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.section-header__icon {
  width: 140px;
  height: 140px;
  position: absolute;
  margin-left: -80px;
  margin-top: -20px;
  opacity: 0.1;
}

.section-header__title-box {
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.section-header__title {
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.section-header__subtitle-en {
  font-size: 11px;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.section-header__desc {
  font-size: 22px;
  font-weight: 700;
  text-align: center;
  letter-spacing: -0.5px;
}

/* Common Table Styling (Desktop / Tablet Default) */
.data-table-wrapper {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 16px;
}

.data-table th {
  padding: 8px 20px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.05);
  font-size: 14px;
  white-space: nowrap;
}

.data-table td {
  padding: 20px 20px;
  color: rgba(0, 0, 0, 1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-weight: 400;
}

.data-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.04);
}

.data-table .col-name {
  font-weight: 500;
  letter-spacing: -0.2px;
}

.data-table tr th:last-child,
.data-table tr td:last-child {
  text-align: right;
}

/* Common Callout Banner (Contact Box) */
.contact-banner {
  /*display: inline-flex;*/
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.1);
  padding: 13px 26px;
}

.contact-banner__label {
  background-color: rgba(255, 255, 255, 1);
  color: #755341;
  font-size: 22px;
  font-weight: 400;
  padding: 2px 6px;
  display: inline-block;
  margin-right: 10px;
}

.contact-banner__tel {
  color: #ffffff;
  font-size: 38px;
  font-weight: 600;
  padding: 02px;
  letter-spacing: 1px;
  line-height: 1.1;
  display: block;
  vertical-align: bottom;
}

#top section {
  padding: 120px 0 140px 0;
}

/* ==========================================================================
       2. Section 01: Hero / Header Section
       ========================================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden; /* 슬라이더가 밖으로 삐져나가지 않도록 추가 */
  background-color: #111111; /* fallback */
  color: #ffffff;
  padding: 30px 40px;
}

.hero-section__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.hero-section__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-section__logo img {
  width: 310px;
  height: 51px;
  filter: drop-shadow(4px 4px 14px rgba(255, 255, 255, 0.5));
}

.hero-section__content {
  text-align: center;
  margin: auto 0;
  padding: 0 0 10em 0;
}

.hero-section__title {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.05em;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.hero-section__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  position: relative;
}

.hero-section__scroll-guide {
  position: absolute;
  /* translateX(-50%)는 소수점 픽셀에 놓여 글자가 뭉개지므로 margin으로 가운데 정렬 */
  left: 0;
  right: 0;
  width: max-content;
  margin: 0 auto;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.hero-section__scroll-pill {
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.hero-section__scroll-dot {
  width: 4px;
  height: 8px;
  background: #ffffff;
  border-radius: 2px;
  animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(8px);
    opacity: 0.4;
  }
}

.mainBg_CI {
  margin: 0 auto 0.2em auto;
  width:280px;
}
/* ==========================================================================
       3. Section 02: 부고현황 (Obituary Status)
       ========================================================================== */
.obituary-section {
  position: relative;
  background-color: #f2ede9;
  color: #ffffff;
  padding: 90px 0 100px;
  overflow: hidden;
  background-image: url('../images/obituaryBg.png');
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 1200px;
  pointer-events: auto;
}

.obituary-section .data-table-wrapper {
  max-width: 1000px;
  margin: auto;
  min-height: 30em;
}

.obituary-section .data-table td {
  padding: 10px 20px;
}

.obituary-section .section-header__title {
  color: #000000;
}

.obituary-section .section-header__subtitle-en {
  color: #8c939f;
}

.obituary-section .section-header__desc {
  color: #956d39;
}

.obituary-status {
  max-width: 1000px;
  margin: 0 auto 16px;
  text-align: center;
  color: #5c5348;
  font-size: 15px;
}

.obituary-status.is-error {
  color: #8a3b2b;
}

.obituary-section .data-table td {
  font-weight: 400;
}

.obituary-section .data-table .col-name {
  font-weight: 500;
}

.section-header__desc + .section-header__desc {
  font-size: 18px;
}
/* ==========================================================================
       4. Section 03: 빈소정보 (Funeral Parlor Info)
       ========================================================================== */
.parlor-section {
  position: relative;
  color: #ffffff;
  padding: 90px 0 80px;
  background-color: #282847;
  background-image: url('../images/parlorBg.png');
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 1200px;
  pointer-events: none;
}

.parlor-section .section-header__title {
  color: #ffffff;
}

.parlor-section .section-header__subtitle-en {
  color: #8b92a5;
}

.parlor-section .section-header__desc {
  color: #ffffff;
}

.parlor-section__contact {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.parlor-section .contact-banner {
  border-color: rgba(255, 255, 255, 0.4);
  display: inline-flex;
}


/* ==========================================================================
       5. Section 04: 찾아오시는 길 (Location & Directions)
       ========================================================================== */
.location-section {
  background-color: #ffffff;
  color: #2b2b2b;
  padding: 90px 0 100px;
}

.location-section .section-header__title {
  color: #111111;
}

.location-section .section-header__subtitle-en {
  color: #888888;
}

.location-section__map-box {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  margin-bottom: 40px;
  /*box-shadow: 0 4px 20px rgba(0,0,0,0.04);*/
  background-color: #ececec;
  margin-top: 3.2em;
}

.location-section__map-box {
  background-image: url('../images/map.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  height: 100vh;
  max-height: 840px;
}

.location-section__map-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
}

.location-section__header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1em;
  padding-bottom: 24px;
  border-bottom: 1px solid #cdcdcd;
  margin-bottom: 2em;
}

.location-section__badge {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  color: #111111;
  padding: 6px 18px;
  border: 1.5px solid #222222;
  border-radius: 25px;
}

.location-section__address-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.location-section__address {
  font-size: 16px;
  color: #333333;
  font-weight: 500;
}

.location-section__map-btns {
  display: flex;
  gap: 8px;
}

.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid #d5d5d5;
  background-color: #ffffff;
  color: #333333;
  transition: background-color 0.2s;
}

.map-btn:hover {
  background-color: #f3f3f3;
}

.map-btn--naver span {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #03C75A;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 16px;
  text-align: center;
  border-radius: 2px;
}

.location-section__transport-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.transport-item__title {
  font-size: 18px;
  font-weight: 700;
  color: #b8621b;
  margin-bottom: 0.4em;
}

.transport-item__desc {
  font-size: 16px;
  color: #333333;
  line-height: 1.5em;
}

/* ==========================================================================
       6. Section 05: Footer
       ========================================================================== */
.footer {
  background-color: #e5e5e5;
  color: #555555;
  padding: 36px 0;
  border-top: 1px solid #d0d0d0;
}

.footer .container {
  max-width: 1600px;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.footer__logo-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__logo-group img {
  width: 250px;
  opacity: 0.5;
}

.footer__meta {
  font-size: 16px;
  color: #555555;
  display: flex;
  gap: 0.2em;
  flex-wrap: wrap;
}

.footer__meta span:first-child {
  margin-right: 1em;
}

.footer__meta strong {
  font-weight: 600;
}

.footer__contact-banner {
  border: 1px solid #999999;
  background-color: transparent;
  display: inline-flex;
  padding: 10px 10px;
}

.footer__contact-banner .contact-banner__label {
  background-color: #666666;
  color: #ffffff;
  padding: 6px 14px;
  font-size: 16px;
  margin-right: 10px;
}

.footer__contact-banner .contact-banner__tel {
  color: #444444;
  font-size: 24px;
  padding: 4px 8px;
}

/* ==========================================================================
       7. Floating 'Top' Button (Left Bottom Fixed)
       ========================================================================== */
.floating-top-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.6);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 9999;
  transition: all 0.1s ease;
  text-decoration: none;
}

.floating-top-btn:hover {
  background-color: black;
}

.floating-top-btn:active {
  background-color: White;
  color: black;
}

.floating-top-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: -2px;
}

.floating-top-btn span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
}




/* ==========================================================================
   8. Obituary Detail Modal (부고 상세 팝업)
   ========================================================================== */
.obituary-section .data-table tbody tr {
  cursor: pointer;
  transition: background-color 0.1s ease;
}

.obituary-section .data-table tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Modal Overlay (#000000 0.8 투명도) */
.modal-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 16px;
  box-sizing: border-box;
  overflow: hidden;
  overscroll-behavior: contain;
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

/* Modal Container Box */
.obituary-modal {
  position: relative;
  background-color: #ffffff;
  width: 100%;
  max-width: 480px;
  border-radius: 4px;
  padding: 20px 28px 28px 28px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  box-sizing: border-box;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-overlay.is-active .obituary-modal {
  transform: translateY(0) scale(1);
}

/* Header */
.obituary-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8em;
}

.obituary-modal__title {
  font-size: 22px;
  font-weight: 700;
  color: #111111;
  letter-spacing: -0.5px;
}

.obituary-modal__close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #111111;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.obituary-modal__close-btn:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.obituary-modal__close-btn svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Inner Light Gray Box */
.obituary-modal__box {
  background-color: #f6f6f6;
  padding: 20px 22px;
  font-size: 16px;
}

.obituary-modal__row {
  display: flex;
  border-bottom: 1px solid #e7e7e7;
  padding: 12px 0;
  line-height: 1.5;
}

.obituary-modal__row:first-child {
  padding-top: 2px;
}

.obituary-modal__row:last-child {
  border-bottom: none;
  padding-bottom: 2px;
}

.obituary-modal__label {
  width: 74px;
  flex-shrink: 0;
  font-weight: 600;
  color: #888888;
  letter-spacing: -0.3px;
}

.obituary-modal__value {
  flex: 1;
  color: #111111;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* Family Relations Grid (아들, 며느리, 딸 등 정렬) */
.obituary-modal__mourner-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.obituary-modal__mourner-item {
  display: flex;
  align-items: flex-start;
  font-size: 16px;
  line-height: 1.45;
}

.obituary-modal__mourner-role {
  width: 52px;
  flex-shrink: 0;
  color: #666666;
  font-weight: 600;
}

.obituary-modal__mourner-names {
  flex: 1;
  color: #111111;
  font-weight: 700;
  word-break: keep-all;
}

/* Footer Action (확인 버튼) */
.obituary-modal__action {
  display: flex;
  justify-content: center;
  margin-top: 1.2em;
}

.obituary-modal__confirm-btn {
  background-color: #5b4229;
  color: #ffffff;
  border: none;
  border-radius: 28px;
  padding: 11px 48px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: -0.2px;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.obituary-modal__confirm-btn:hover {
  background-color: #38291a;
}


/* ==========================================================================
       9. Responsive Media Queries: Mobile Card Layout (max-width: 3000px)
       ========================================================================== */
@media screen and (min-width: 2000px) {
  .hero-section__title {
    font-size: 52px;
  }
}


/* ==========================================================================
       10. Responsive Media Queries: Tablet (max-width: 768px)
       ========================================================================== */
@media screen and (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hero-section {
    padding: 24px 20px;
    min-height: 85vh;
  }

  .hero-section__title {
    font-size: 30px;
  }

  .hero-section__bottom {
    flex-direction: column-reverse;
    align-items: center;
    gap: 20px;
  }

  .hero-section__scroll-guide {
    position: static;
    transform: none;
  }

  .contact-banner {
    width: 100%;
    max-width: 360px;
    justify-content: space-between;
    display: inline-flex;
  }

  .contact-banner__tel {
    font-size: 22px;
    padding: 6px 16px;
  }

  .contact-banner__label {
    font-size: 16px;
    padding: 6px 16px;
  }

  .section-header__desc {
    font-size: 17px;
  }

  .section-header__title {
    font-size: 24px;
  }

  .obituary-section,
  .parlor-section,
  .location-section {
    padding: 70px 0;
  }

  .location-section__header-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .location-section__address-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__contact-banner {
    width: 100%;
    max-width: 340px;
  }

  #top section {
    padding: 80px 0 90px 0;
  }

  .hero-section__logo img {
    width: 270px;
    height: 45px;
  }

  .footer__meta {
    font-size: 14px;
  }

  .section-header__desc + .section-header__desc {
    font-size: 16px;
  }

  .mainBg_CI {
    width: 200px;
  }
}

/* ==========================================================================
       11. Responsive Media Queries: Mobile Card Layout (max-width: 480px / 420px)
          - 가로 스크롤 없이 1개 Row의 컬럼들을 세로형 카드(Stacked Row)로 자동 전환
       ========================================================================== */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-section {
    padding: 20px 16px;
    min-height: 90vh;
  }

  .hero-section__title {
    font-size: 23px;
    line-height: 1.4;
  }

  .section-header__desc {
    font-size: 15px;
  }

  .section-header__title {
    font-size: 21px;
  }

  /* Data Table -> Card Transform */
  .data-table-wrapper {
    background: transparent;
    border-top: none;
  }

  .data-table,
  .data-table thead,
  .data-table tbody,
  .data-table th,
  .data-table td,
  .data-table tr {
    display: block;
    width: 100%;
  }

  /* 테이블 헤더(th) 숨김 */
  .data-table thead {
    display: none;
  }

  /* 1개의 행(tr)을 하나의 독립된 카드로 변환 */
  .data-table tbody tr {
    background: rgba(255, 255, 255, .4);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 6px;
    margin-bottom: 14px;
    padding: 12px 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }

  .data-table tbody tr:last-child {
    margin-bottom: 0;
  }

  /* 1개 Row 안의 각 컬럼(td)을 개별 행으로 표현 */
  .data-table td {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
    font-size: 14px;
    text-align: right;
    white-space: normal;
  }

  .data-table td:last-child {
    border-bottom: none;
    padding-bottom: 2px;
  }

  .obituary-section .data-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 1);
  }
  /* data-label 속성을 활용한 라벨 표시 */
  .data-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: rgba(0, 0, 0, 0.55);
    text-align: left;
    padding-right: 12px;
    flex-shrink: 0;
    font-size: 13px;
  }

  /* 고인명 / VIP호실 강조 */
  .data-table .col-name {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
  }

  .data-table td.col-name::before {
    color: #de8721;
    font-weight: 700;
  }

  .floating-top-btn {
    left: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }

  .contact-banner {
    padding: 8px 16px;
    max-width: 300px;
    margin: auto;
  }

  .contact-banner__tel {
    font-size: 20px;
    padding: 6px 10px;
  }

  .contact-banner__label {
    font-size: 15px;
    padding: 4px 10px;
  }

  .footer__contact-banner {
    max-width: 340px;
  }

  #top section {
    padding: 60px 0 60px 0;
  }

  .data-table td {
    padding: 7px 0px !important;
  }

  .hero-section__logo img {
    width: 230px;
    height: 36px;
  }

  .footer__meta {
    font-size: 13px;
  }

  .location-section__badge {
    font-size: 15px;
  }

  .location-section__address {
    font-size: 14px;
  }

  .transport-item__title {
    font-size: 15px;
  }

  .transport-item__desc {
    font-size: 14px;
  }

  .hero-section {
    background-position: left -500px bottom;
  }

  .map-btn {
    font-size: 14px;
  }

  .obituary-section {
    background-size: 850px;
    background-position: right -5em bottom -5em;
  }

  .location-section__map-box {
    background-size: 1100px;
    height: 400px;
    background-position: 70% 55%;
  }

  .section-header__desc + .section-header__desc {
    font-size: 14px;
  }

  .obituary-modal {
    padding: 24px 18px 20px;
    max-width: 100%;
  }

  .obituary-modal__title {
    font-size: 19px;
  }

  .obituary-modal__box {
    padding: 16px 14px;
    font-size: 15px;
  }

  .obituary-modal__label {
    width: 70px;
    /*font-size: 13.5px;*/
  }

  .obituary-modal__value {
    /*font-size: 14px;*/
  }

  .obituary-modal__mourner-role {
    width: 46px;
    /*font-size: 13.5px;*/
  }

  .obituary-modal__mourner-names {
    /*font-size: 13.5px;*/
  }

  .obituary-modal__confirm-btn {
    width: 100%;
    padding: 12px 0;
  }

  .mainBg_CI {
    width: 160px;
  }
  .hero-section__content {
    padding: 0 0 3em 0;
  }
}


/* ==========================================================================
   Hero Section Background Slider (크로스페이드 자동 롤링)
   ========================================================================== */
/* 내부 텍스트 및 버튼들을 슬라이더 위로 띄움 */
.hero-section__nav,
.hero-section__content,
.hero-section__bottom {
  position: relative;
  z-index: 2;
}

/* 슬라이더 전체 영역 */
.hero-section__bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* 텍스트 가독성을 위한 어두운 딤드 오버레이 레이어 */
.hero-section__bg-slider::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.45));*/
  z-index: 2;
}

/* 개별 배경 이미지 레이어 */
.hero-section__bg-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.0);
  transition: opacity 1.5s ease-in-out, transform 6s ease-out;
  z-index: 1;
}

/* 활성화된 배경: 부드러운 페이드인 + 미세 줌인 */
.hero-section__bg-item.is-active {
  opacity: 1;
  transform: scale(1.04);
}


