:root {
  --max-width: 430px;
  --bg-color: #eee;
  --text-color: #333;
  --font-family: 'Pretendard', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: var(--bg-color);
  font-family: var(--font-family);
  color: var(--text-color);
  overflow: hidden;
  transform: none;
  transform-origin: center center;
}


.landscape-lock {
  position: fixed; /* 절대값보다 더 확실하게 화면 전체 고정 */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: white;
  z-index: 9999;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  font-size: 1.2rem;
  transform: rotate(90deg) translate(-50vw -50vh);
  transform-origin: center center;
}

body.lock-scroll .wrapper {
  overflow: hidden;
}

body.intro-ended .top-bar-title {
  opacity: 1;
}

body.intro-ended .toggle-bottom-button {
  display: block;
  opacity: 1;
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 100vh;
  overflow: auto;
  position: relative;

  /* 기존 스타일 유지하면서 아래 추가 */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.wrapper::-webkit-scrollbar {
  display: none;
}

.intro-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* 또는 space-between */
  align-items: center;
  width: 100%;
  max-width: var(--max-width); /* 혹은 적절한 고정 너비 */
  height: 100vh;
  background-image: url('./assets/intro/intro.jpg');
  /* 실제 경로에 맞게 수정 */
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: 1;
  /* ✅ 배경이 보이도록 위로 올림 */
  flex-shrink: 0;
  padding-bottom: 40px;
}

.intro-content {
  position: relative;
  /* 배경 이미지 기준 부모 */
  width: 100%;
  height: 100%;
}

.intro-title-section {
  position: fixed;
  bottom: 80px;
  /* 화면 하단 기준 여백 */
  left: 0;
  right: 0;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  transform: translateY(100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 335px;
  max-width: 90%;
  text-align: center;
  z-index: 9;
}

/* 예시 타이틀 스타일 */
.intro-title-main {
  align-self: stretch;
  color: #FFF;
  text-align: center;
  font-family: "Pretendard Variable", sans-serif;
  font-size: 80px;
  font-style: normal;
  font-weight: 800;
  line-height: 90%;
  /* 또는 72px */
  letter-spacing: -4.8px;
  margin: 0;
  /* h1 기본 여백 제거 */
}

.intro-title-sub {
  align-self: stretch;
  color: #F5F3E6;
  text-align: center;
  font-family: "Pretendard Variable", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.48px;
  margin: 0;
}

body.drawer-open .intro-title-section {
  display: none;
}

.top-section {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
  pointer-events: none;
  /* 내용 없으면 클릭 막지 않도록 */
  max-width: var(--max-width);
  margin: 0 auto;
}

.top-menu-expanded {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: center;
  justify-content: flex-end;
  transition: all 0.4s ease;
  z-index: 9;
  opacity: 1;
  transform: translateY(0);
}

body:not(.drawer-open) .top-menu-expanded {
  opacity: 0;
  transform: translateY(-200%);
}

.top-bar-section {
  width: 100%;
  height: 50px;
  background: #FFF;
  flex-shrink: 0;
  pointer-events: auto;
  /* 클릭 가능한 영역이라면 */
  padding: 15px;
}

.top-bar-section-expanded {
  width: 100%;
  height: 50px;
  background: #eee;
  pointer-events: auto;
}


.top-bar-title {
  color: #000;
  text-align: center;
  font-family: "Pretendard Variable", sans-serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.48px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

body.drawer-open .top-bar-title {
  opacity: 1;
}

body.drawer-open .top-menu-expanded {
  opacity: 1;
  transform: translateY(0);
}

.icon-button {
  width: 50px;
  height: 50px;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.link-icon {
  position: absolute;
  top: 40px;
  right: 80px;
  /* 35px (카카오) + 50px gap */
  z-index: 11;
}

.kakao-icon {
  position: absolute;
  top: 40px;
  right: 20px;
  z-index: 11;
}

.top-heart-graphic,
.top-heart-graphic-expanded {
  width: 100%;
  flex-shrink: 0;
  line-height: 0;
  overflow: hidden;
}

.top-heart-graphic svg,
.top-heart-graphic-expanded svg {
  width: 100%;
  height: auto;
  display: block;
}

.top-heart-graphic-expanded svg path {
  fill: #eee;
}

.bottom-section {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  flex-shrink: 0;
  z-index: 30;
  pointer-events: none;
  /* 내부 요소에만 pointer 적용 */
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
}

.bottom-bar-section {
  position: relative;
  /* 내부 버튼의 절대 위치 기준 */
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

.bottom-heart-graphic {
  width: 100%;
  line-height: 0;
  /* overflow: hidden; */
  margin-bottom: -2px;
  /* 위 영역과 2px 겹침 */
}

.bottom-heart-graphic svg,
.bottom-heart-graphic-expanded svg {
  width: 100%;
  height: auto;
  display: block;
}

.bottom-menu-expanded-wrapper {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  width: 100%;
  max-width: var(--max-width);
  /* height: 100vh; */
  /* 명시적으로 높이 지정 */
  margin: 0 auto;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  z-index: 5;
}

/* Bottom 메뉴 확장 섹션 */
.bottom-menu-expanded {
  left: 0;
  right: 0;
  bottom: 0;
  max-width: var(--max-width);
  width: 100%;
  height: 150px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  z-index: 10;
  overflow: visible;
  display: block;

  opacity: 0;
  transform: translateY(250%);
}

.bottom-menu-expanded-wrapper .bottom-menu-expanded {
  position: absolute;
  right: 0;
}

.bottom-menu-expanded-wrapper .bottom-menu-expanded:nth-child(1) {
  bottom: 50px;
  z-index: 15;
  /* background: rgba(255, 0, 0, 0.5); 빨간색 반투명 확인용 */
}

.bottom-menu-expanded-wrapper .bottom-menu-expanded:nth-child(2) {
  bottom: 100px;
  z-index: 14;
}

.bottom-menu-expanded-wrapper .bottom-menu-expanded:nth-child(3) {
  bottom: 150px;
  z-index: 13;
}

.bottom-menu-expanded-wrapper .bottom-menu-expanded:nth-child(4) {
  bottom: 200px;
  z-index: 12;
}

.bottom-menu-expanded-wrapper .bottom-menu-expanded:nth-child(5) {
  bottom: 250px;
  z-index: 11;
}

.bottom-menu-expanded-wrapper .bottom-menu-expanded:nth-child(6) {
  bottom: 300px;
  z-index: 10;
}

body.drawer-open .bottom-menu-expanded {
  animation: slideUpFadeIn 0.6s ease forwards;
}

body.drawer-open .bottom-menu-expanded:nth-child(1) {
  animation-delay: 0s;
}
body.drawer-open .bottom-menu-expanded:nth-child(2) {
  animation-delay: 0.2s;
}
body.drawer-open .bottom-menu-expanded:nth-child(3) {
  animation-delay: 0.4s;
}
body.drawer-open .bottom-menu-expanded:nth-child(4) {
  animation-delay: 0.6s;
}
body.drawer-open .bottom-menu-expanded:nth-child(5) {
  animation-delay: 0.8s;
}
body.drawer-open .bottom-menu-expanded:nth-child(6) {
  animation-delay: 1s;
}

.bottom-menu-expanded.expanded {
  visibility: visible;
  opacity: 1;
  height: auto;
  overflow: visible;
  transition: opacity 0.4s ease;
  display: block;
  /* 펼쳐졌을 때 보임 */
}

.bottom-bar-section-expanded {
  position: relative;
  width: 100%;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  z-index: 9;
}

.bottom-heart-graphic-expanded {
  max-width: var(--max-width);
  width: 100%;
  line-height: 0;
  margin-bottom: -2px;
}

.bottom-heart-graphic-expanded svg path {
  fill: #eee;
}

/* 메뉴 텍스트 버튼 스타일 */
.bottom-menu-text {
  width: 160px;
  position: absolute;
  /* bottom: 80px; 하단에서부터 거리 */
  top: 85px;
  right: 25px;
  align-self: flex-end;
  transform: rotate(-30deg);
  color: #000;
  text-align: right;
  font-family: "Pretendard Variable", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.36px;
  z-index: 30;
  pointer-events: auto;
}

/* drawer-open 시 메뉴 등장 */
body.drawer-open .bottom-menu-expanded {
  transform: translateY(0);
}

.toggle-bottom-button {
  position: absolute;
  bottom: 40px;
  right: 20px;
  width: 36px;
  height: 36px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 20;
  display: none;
}

body.drawer-open .toggle-bottom-button,
body.intro-ended .toggle-bottom-button {
  display: block;
  opacity: 1;
}

/* top_section 초기 위치: 위로 숨김 */
.animate-hidden-top {
  transform: translateY(-100%);
}

/* bottom_section, intro_title_section 초기 위치: 아래로 숨김 */
.animate-hidden-bottom {
  transform: translateY(200%);
}

/* 아래에서 위로 슬라이드 인 (Y axis only) */
.slide-up-y {
  transform: translateY(0);
  transition: transform 0.6s ease;
}

/* 아래에서 위로 슬라이드 인, 가운데 정렬 */
.slide-up-center {
  transform: translate(-50%, 0);
  transition: transform 0.6s ease;
}

@keyframes slideDown {
  0% {
    transform: translateY(-200%);
  }
  100% {
    transform: translateY(0);
  }
}

.slide-down {
  animation: slideDown 0.6s ease-out forwards;
}

@keyframes slideUpFadeIn {
  from {
    transform: translateY(250%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.reverse-anim {
  animation-direction: reverse;
  animation-fill-mode: forwards;
}

@media (max-height: 740px) {
  .top-section .top-bar-title {
    font-size: 16px;
  }

  .bottom-menu-text {
    font-size: 14px;
    /* padding: 6px 12px; */
  }

  .bottom-menu-expanded {
    height: 140px;
  }

  .bottom-menu-expanded-wrapper .bottom-menu-expanded:nth-child(1) {
    bottom: 40px;
  }

  .bottom-menu-expanded-wrapper .bottom-menu-expanded:nth-child(2) {
    bottom: 80px;
  }

  .bottom-menu-expanded-wrapper .bottom-menu-expanded:nth-child(3) {
    bottom: 120px;
  }

  .bottom-menu-expanded-wrapper .bottom-menu-expanded:nth-child(4) {
    bottom: 160px;
  }

  .bottom-menu-expanded-wrapper .bottom-menu-expanded:nth-child(5) {
    bottom: 200px;
  }

  .bottom-menu-expanded-wrapper .bottom-menu-expanded:nth-child(6) {
    bottom: 240px;
  }
}

  /* wrapper content */
/* Remove font-family and font-size from .content; inherit from .venue-tab-section */
.content {
  color: #333;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.content.bigger {
  font-size: 24px;
  line-height: normal;
  margin-top: 40px;
}

.subdued-text {
  color: hsla(0, 0%, 40%, 1); /* 또는 #666666 */
}

.button {
  display: flex;
  height: 40px;
  padding: 10px;
  justify-content: center;
  align-items: center;
  align-self: stretch;
  border-radius: 10px;
  background: #D9D9D9;
  border: none;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 16px;
}

.small-button {
  display: flex;
  padding: 5px;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  background: #A6DDFF;
  border: none;
  font-family: "Pretendard", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.tab-buttons {
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  border-bottom: 1px solid #ccc;
}

.tab-button {
  flex: 1;
  padding: 8px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
}

.tab-button.active {
  border-bottom: 2px solid #000;
  color: #000;
}

.tab-contents {
  padding-top: 5px;
  padding-bottom: 5px;
}

.tab-content {
  display: none;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.tab-content.active {
  display: block;
}

  /* Greeting Section */
.greeting-section {
  min-height: 100vh;
  padding: 80px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.greeting-title {
  color: #000;
  font-family: "Pretendard Variable", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 60px;
  width: 100%;
}

.greeting-content {
  font-family: "Pretendard Variable", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  text-align: center;
  align-items: center;
}

.greeting-name-section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  box-sizing: border-box;
  text-align: center;
}

.greeting-name-content {
  display: flex;
  flex-direction: column;
  /* gap: 10px; */
  width: 100%;
  align-items: center;
}

.name-line {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  padding-bottom: 40px;
}

.name-line .role {
  color: #333;
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
}

.name-line .name {
  color: #333;
  text-align: center;
  font-family: "Pretendard Variable", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  /* margin: 4px 0; */
}

/* Venue Section */
.venue-section {
  min-height: 100vh;
  padding: 20px 20px 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #eee;
}

.venue-date-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.venue-date-section h1 {
  color: #333;
  text-align: center;
  font-family: "Pretendard Variable", sans-serif;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0;
}

.venue-date-section .content.bigger {
  font-size: 24px;
  line-height: normal;
  margin: 0;
}

.venue-location-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  min-width: 100%;
  box-sizing: border-box;
}

.map-placeholder {
  height: 200px;
  width: 100%;
  background-color: #ccc; /* API 연동 전 기본 배경 */
  border-radius: 10px;
}

.venue-location-text-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  gap: 5px;
}

.venue-location-text-section p, .venue-tab-section p {
  margin: 0;
  word-break: keep-all;
  white-space: normal;
  text-align: center;
}

.venue-location-address-row {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: center; /* 가운데 정렬 (옵션) */
  padding: 0;
  margin: 0;
}

.venue-tab-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px 15px;
  background: #fff;
  border-radius: 10px;
  align-self: stretch;
  font-family: "Pretendard Variable", sans-serif;
  font-size: 16px;
  color: #333;
}

.car-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* font-family and font-size inherited from .venue-tab-section */
}

.car-heading {
  text-align: center;
  display: flex;
  flex-direction: column;
  /* gap removed to eliminate vertical spacing between title and subtext */
}

.car-heading strong {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  /* font-family inherited */
}

.car-heading .sub-text {
  font-size: 14px;
  color: hsla(0, 0%, 40%, 1);
  font-weight: 400;
  /* font-family inherited */
}

.car-navigation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start; /* Left-align all child elements */
}

.nav-heading {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0;
  /* font-family inherited */
}

.nav-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  /* font-family and font-size inherited */
}

/* Search icon for nav-search-row */
.nav-search-icon {
  width: 16px;
  height: 16px;
  background-color: #aaa; /* Placeholder */
  border-radius: 4px;
}

.nav-buttons {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.nav-button {
  flex: 1;
  padding: 0;
  margin: 0;
  font-size: 14px;
  border-radius: 5px;
  border: none;
  background: #ccc;
  color: #000;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-button .icon {
  width: 16px;
  height: 16px;
  background-color: #999; /* Placeholder for icon */
  border-radius: 3px;
  position: static;
  float: none;
  margin: 5px;
  padding: 0;
}

/* Bus Info (Same style as car-info) */
.bus-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bus-heading {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.bus-heading strong {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.bus-heading .sub-text {
  font-size: 14px;
  color: hsla(0, 0%, 40%, 1);
  font-weight: 400;
}

.bus-lines {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bus-line {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  font-weight: 400;
  color: #333;
}

.bus-line .station {
  font-weight: 600;
  color: #000;
}

.bus-line .highlight {
  color: #0038FF;
  font-weight: 600;
}

.bus-line .note {
  font-size: 13px;
  color: #666;
}
/* Application Section */
#application-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  background-color: #B3E5FC;
  gap: 80px;
  min-height: 100vh;
}

.application-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.application-box .title {
  color: #000;
  text-align: center;
  font-family: "Pretendard Variable";
  font-size: 28px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  margin: 0;
  padding: 0;
  gap: 0;
}

.application-box .desc {
  color: #000;
  text-align: center;
  font-family: Pretendard;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 150%;
  margin: 0;
  padding: 0;
  gap: 0;
}

.application-box .note {
  color: #000;
  text-align: center;
  font-family: Pretendard;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  margin: 0;
  padding: 0;
  gap: 0;
}

/* message-section 기본 영역 */
/* 기존 message-section 스타일을 아래로 대체 */

#message-section {
  position: relative;
  /* height: 100vh; */
  background-color: #fff5fa; /* 연한 핑크 배경 */
  overflow: hidden;
  z-index: 1;
}

/* 상단 파란 웨딩 게이트 이미지 */
.wedding-gate-wrapper {
  position: absolute;
  top: -80px; /* 위로 튀어나오게 */
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.wedding-gate-image {
  width: 200px;
  height: auto;
}

/* 하단 고정 skip 버튼 */
.skip-button {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ccc;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skip-button img {
  width: 24px;
  height: 24px;
}

/* 흰색 중앙 길 */
.message-scroll-path {
  position: relative;
  width: 100%;
  height: 100%;
  padding-top: 120px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 2;
}

.message-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 40%;
}

/* 메시지 등록자 하나의 묶음 */
  .message-entry {
    width: 40%;
    margin-bottom: 40px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
/* 메시지 엔트리 그리드 래퍼 */
  /* .message-entries-wrapper: 기존 그리드 래퍼가 필요하면 이 스타일을 유지하거나 삭제 */

/* 말풍선 메시지 */
  .message-bubble {
    background-color: #fff;
    padding: 8px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    display: inline-block;
    position: absolute;
    top: -60px; /* adjust as needed to float above the entry */
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    max-width: 120px;
    text-align: center;
    font-size: 12pt;


  /* 추가 또는 수정할 속성 */
  white-space: normal;       /* 줄바꿈 허용 */
  word-break: keep-all;      /* 단어가 부서지지 않게 */
  text-align: center;        /* 가운데 정렬 */
  writing-mode: horizontal-tb; /* 가로 쓰기 */
  }

/* 등록자 프로필 */
  .profile-image {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
  }

  .profile-name {
    margin-top: 8px;
    font-weight: bold;
  }

/* Our Story Section */
.ourstory-section {
  min-height: 100vh;
  padding: 80px 20px;
  box-sizing: border-box;
}

/* Gallery Section */
.gallery-section {
  min-height: 100vh;
  padding: 40px 20px;
  background-color: #ddd;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gallery-view-toggle {
  display: flex;
  gap: 10px;
}

.view-toggle-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  font-size: 12px;
  text-align: center;
  line-height: 1.2;
  border: none;
  cursor: pointer;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.gallery-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-color: white;
  transform: rotate(var(--angle, 2deg));
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item:nth-child(1) { --angle: -2deg; }
.gallery-item:nth-child(2) { --angle: 2deg; }
.gallery-item:nth-child(3) { --angle: 0deg; }
.gallery-item:nth-child(4) { --angle: -1.5deg; }
.gallery-item:nth-child(5) { --angle: 1.5deg; }
.gallery-item:nth-child(6) { --angle: 0deg; }