/* Global Styles */
:root {
  --primary-color: #e74c3c;
  --secondary-color: #c0392b;
  --text-color: #333;
  --light-bg: #f9f9f9;
  --white: #fff;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --swiper-navigation-color: #fff;
  --swiper-pagination-color: #fff;
}

#bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
}

@font-face {
  font-family: "Cafe24ShiningStar";
  src: url("Cafe24Shiningstar.woff") format("woff");
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "GangwonEducationSaeum";
  src: url("GangwonEduSaeeum_OTFMediumA.woff") format("woff");
  font-weight: normal;
  font-display: swap;
}

@font-face {
  font-family: "GMarketSans";
  src: url("GmarketSansLight.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "GangwonEducationSaeum", "Noto Sans KR", sans-serif;
}

body {
  background-color: #fdf9f9;
  color: #333;
  overflow-x: hidden;
  position: relative;
}

.invitation-container {
  position: relative;
  width: 100vw;
  max-width: 480px;
  margin: 0 auto;
  overflow-x: hidden;
}

.page {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  scroll-snap-align: start;
  overflow-y: auto;
}

/* Enable scroll snapping */
html {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.next-btn,
.prev-btn,
.home-btn {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 1rem 10px;
  font-size: 0.9rem;
  color: #555;
  font-weight: 500;
  transition: all 0.3s ease;
}

.next-btn:hover,
.prev-btn:hover,
.home-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.page-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

/* Page 1 Styles - Background Image Design */
#page1 {
  position: relative;
  padding: 0;
  overflow: hidden;
  height: 100vh;
}

/* Make canvas non-interactive to allow Swiper navigation to work */
#bg {
  pointer-events: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
}

.header-names {
  position: absolute;
  top: 1rem;
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 2rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: white;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  z-index: 10;
  font-family: "GMarketSans", "Noto Sans KR", sans-serif;
}

.main-message {
  font-family: "Cafe24ShiningStar", "Noto Sans KR", sans-serif;
  font-size: 4rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin: 1.5rem 0;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 2px;
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
  z-index: 10;
  position: absolute;
  top: 20%;
}

.invitation-text {
  text-align: center;
  font-size: 13px;
  color: white;
  width: 100%;
  padding: 0 5px;
  font-style: normal;
  font-family: "Noto Sans KR", sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.main-image-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url("main.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: -1;
  transition: transform 0.5s ease;
}

.main-image-container:hover {
  transform: scale(1.02);
}

/* Elegant Floating Elements */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  animation: floatElegant 8s ease-in-out infinite;
}

@keyframes floatElegant {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
    opacity: 0.9;
  }
}

.wedding-date {
  font-size: 2.5rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: white;
  letter-spacing: 1px;
  font-family: "GangwonEducationSaeum", "Noto Sans KR", sans-serif;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

/* Bottom Icons */
.bottom-icons {
  position: absolute;
  bottom: 1rem;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 2rem;
  font-size: 1.2rem;
  color: #555;
}

.sound-icon,
.menu-icon,
.share-icon {
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.sound-icon:hover,
.menu-icon:hover,
.share-icon:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Page 2 Styles */
.poetry-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
}

.poetry-icon {
  font-size: 2rem;
  color: #e74c3c;
  margin-bottom: 2rem;
}

.poetry-text {
  text-align: center;
  font-size: 2rem;
  line-height: 1.8;
  color: #333;
  padding: 0 1rem;
  text-decoration: underline;
  text-decoration-color: #e2e2e2;
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.poetry-author {
  font-style: italic;
  font-size: 2rem;
  color: #666;
  margin-top: 1rem;
}

.couple-profile {
  display: flex;
  align-items: center;
  margin-top: 3rem;
}

.profile-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.profile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 1.2rem;
  color: #333;
}

/* Page 3 Styles - Instagram Style Gallery */
.instagram-gallery {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding-bottom: 16px;
}

/* 프로필 헤더 */
.instagram-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.profile-info {
  display: flex;
  align-items: center;
}

.profile-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 12px;
  border: 1px solid #e0e0e0;
}

.profile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-name {
  font-size: 14px;
  font-weight: 600;
  color: #262626;
}

.more-options {
  cursor: pointer;
  color: #262626;
}

/* 갤러리 이미지 */
.instagram-image-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #fafafa;
}

.instagram-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instagram-image-container:hover .instagram-image {
  transform: scale(1.01);
}

/* 액션 버튼 */
.instagram-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
}

.left-actions {
  display: flex;
  gap: 16px;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #262626;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: color 0.2s ease;
}

.action-btn:hover {
  color: #e74c3c;
}

.like-btn.liked svg path {
  fill: #e74c3c;
}

/* 좋아요 수 */
.likes-count {
  display: flex;
  align-items: center;
  padding: 0 16px;
  margin-bottom: 8px;
}

.like-heart {
  margin-right: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.likes-count span {
  font-size: 14px;
  font-weight: 600;
  color: #262626;
}

/* 캡션 */
.instagram-caption {
  padding: 0 16px;
  margin-bottom: 8px;
}

.caption-text {
  font-weight: 600;
  color: #262626;
  margin-right: 6px;
}

.instagram-caption p {
  font-size: 14px;
  color: #262626;
  line-height: 1.4;
  margin: 0;
}

/* 태그 */
.instagram-tags {
  padding: 0 16px;
  margin-bottom: 12px;
}

.instagram-tags span {
  font-size: 14px;
  color: #8e8e8e;
  font-weight: 500;
}

/* 날짜 */
.post-date {
  padding: 0 16px;
  font-size: 12px;
  color: #c7c7c7;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

/* Page 4 Styles */
.invitation-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.message-header {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
  width: 100%;
  text-align: center;
}

.invitation-title {
  font-size: 1.5rem;
  color: #e74c3c;
  margin: 1rem 0;
  font-weight: 600;
  text-align: center;
}

.formal-invitation {
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
}

.bride-groom-names {
  margin-top: 2rem;
  font-weight: 500;
}

.parents-names {
  font-size: 1rem;
  color: #666;
  margin-top: 0.5rem;
}

.rsvp-btn {
  padding: 1rem 3rem;
  background-color: #e74c3c;
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.3);
}

/* Page 5 Styles */
.schedule-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.couple-images {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
}

.couple-single-image {
  width: 150px;
  height: 200px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.couple-heart {
  width: 20px;
  height: 20px;
  margin: 0 10px;
  font-size: 2rem;
  color: #e74c3c;
}

.schedule-title {
  font-size: 1.5rem;
  color: #e74c3c;
  margin: 1rem 0;
  font-weight: 600;
  text-align: center;
}

.wedding-details {
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 2rem;
}

.calendar-container {
  background-color: white;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  margin-bottom: 10px;
  color: #e74c3c;
  font-weight: 500;
}

.calendar-dates {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-date {
  aspect-ratio: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wedding-date-highlight {
  background-color: #e74c3c;
  color: white;
  font-weight: 700;
  position: relative;
}

.home-btn {
  background-color: #e74c3c;
  color: white;
}

/* Floating Hearts Animation */
@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.floating-heart {
  position: absolute;
  color: rgba(231, 76, 60, 0.7);
  font-size: 1.5rem;
  pointer-events: none;
  animation: float 3s linear infinite;
}

/* Countdown Timer Styles */
/* Music Control Button */
.music-control {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  transition: all 0.3s ease;
  border: 2px solid #e74c3c;
  animation: pulse 2s infinite;
}

.music-control:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

.music-control.playing {
  background: #e74c3c;
  color: white;
  animation: none;
}

.music-control.needs-interaction {
  animation: pulse-alert 1s infinite;
  background: linear-gradient(135deg, #ff9a3d, #ff6b6b);
  box-shadow: 0 4px 20px rgba(255, 154, 61, 0.6);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  }
}

@keyframes pulse-alert {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 154, 61, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 15px rgba(255, 154, 61, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 154, 61, 0);
  }
}

.music-control svg {
  width: 24px;
  height: 24px;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2rem 0;
}

.timer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 15px;
}

.timer-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e74c3c;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.timer-label {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #666;
}

.timer-separator {
  font-size: 2rem;
  color: #e74c3c;
  margin: 0 5px;
}

.wedding-time {
  position: absolute;
  top: 42px;
  right: -3px;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: bold;
  color: #e74c3c;
  width: 38px;
}

.countdown-calendar {
  margin-bottom: 2rem;
}

.countdown-details {
  margin-bottom: 1rem;
}

/* Gallery Page Styles */
.gallery-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 1rem;
}

/* Swiper 스타일 */
.gallery-swiper {
  width: 100%;
  max-width: 800px;
  height: 60vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin-bottom: 25px;
}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Swiper 페이지네이션 */
.swiper-pagination {
  bottom: 20px !important;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.8);
  opacity: 0.8;
  width: 14px;
  height: 14px;
  margin: 0 8px;
  border: 2px solid rgba(231, 76, 60, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.swiper-pagination-bullet:hover {
  background: rgba(231, 76, 60, 0.7);
  transform: scale(1.2);
  border-color: rgba(231, 76, 60, 0.5);
}

.swiper-pagination-bullet-active {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.3);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
  opacity: 1;
}

.anniversary-message {
  font-size: 1.2rem;
  color: #333;
  margin: 2rem 0 1rem;
  text-align: center;
}

.gallery-title {
  font-size: 1.5rem;
  color: #e74c3c;
  margin: 1rem 0;
  font-weight: 600;
  text-align: center;
}

.gallery-main {
  width: 100%;
  max-width: 800px;
  position: relative;
}

.gallery-image-wrapper {
  position: relative;
  height: 60vh;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.gallery-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-main-image:hover {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 120px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(231, 76, 60, 0.9),
    rgba(192, 57, 43, 0.9)
  );
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gallery-overlay-text {
  font-size: 0.8rem;
  margin-bottom: 5px;
  font-weight: 500;
}

.gallery-thumbs {
  display: flex;
  justify-content: center;
  margin-top: 25px;
  gap: 12px;
  flex-wrap: wrap;
}

.gallery-thumb {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-thumb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(231, 76, 60, 0.3),
    rgba(192, 57, 43, 0.3)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-thumb:hover::before {
  opacity: 1;
}

.gallery-thumb.active {
  border-color: #e74c3c;
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(231, 76, 60, 0.3);
}

.gallery-thumb.active::before {
  opacity: 0;
}

/* Gallery Section Styles (Page 3) */
.gallery-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-image-container {
  width: 90%;
  height: 65%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  margin: 1rem 0;
  transition: all 0.3s ease;
}

.gallery-image-container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}

.gallery-actions {
  display: flex;
  justify-content: space-between;
  width: 90%;
  margin: 1.5rem 0;
  gap: 1rem;
}

.gallery-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 8px;
}

.gallery-btn:hover {
  color: #e74c3c;
  background-color: rgba(231, 76, 60, 0.1);
  transform: translateY(-2px);
}

.like-btn {
  color: #e74c3c;
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
}

.like-btn i {
  margin-right: 8px;
  font-size: 1.3rem;
}

.gallery-caption {
  text-align: center;
  font-size: 1.3rem;
  line-height: 1.6;
  color: #333;
  margin-top: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Location Page Styles */
.location-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  z-index: 999999;
}

.location-title {
  font-size: 1.5rem;
  color: #e74c3c;
  margin: 1rem 0;
  font-weight: 600;
  text-align: center;
}

.location-address {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.address-main {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.address-details {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #555;
}

.address-button {
  margin-top: 1.5rem;
  padding: 0.8rem 2rem;
  background-color: #f8f8f8;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 30px;
  font-size: 1rem;
  cursor: pointer;
}

.location-map {
  width: 90%;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.location-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-controls {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  flex-direction: column;
}

.map-control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background-color: white;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 0.9rem;
}

.map-type-btn {
  border-radius: 20px;
  width: auto;
  padding: 0 10px;
}

.map-attribution {
  font-size: 0.8rem;
  color: #888;
  margin-top: 10px;
  align-self: flex-end;
  margin-right: 5%;
}

/* Transportation Page Styles */
.transport-section {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0 1rem;
  .transport-title {
    font-size: 1.5rem;
    color: #e74c3c;
    margin: 1rem 0;
    font-weight: 600;
    text-align: center;
  }
}

.transport-address {
  margin-bottom: 2rem;
}

.transport-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.transport-type {
  background-color: #f8f8f8;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.transport-icon {
  font-size: 1.5rem;
  color: #e74c3c;
  margin-bottom: 1rem;
}

.transport-name {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: #333;
}

.transport-details {
  list-style: none;
  padding-left: 0;
}

.transport-details li {
  margin-bottom: 1rem;
  color: #555;
  line-height: 1.5;
}

.transport-subdetails {
  list-style: none;
  margin-top: 0.5rem;
}

.transport-line {
  display: inline-block;
  padding: 0 8px;
  border-radius: 12px;
  color: white;
  font-size: 0.9rem;
  margin-right: 5px;
}

.orange {
  background-color: #ff7f00;
}

.blue {
  background-color: #0066b3;
}

.green {
  background-color: #009944;
}

.red {
  background-color: #cc0000;
}

.skyblue {
  background-color: #0099cc;
}

.purple {
  background-color: #9966cc;
}

.brown {
  background-color: #8b4513;
}

/* Mobile Only Styles */
.header-names {
  font-family: "GMarketSans", "Noto Sans KR", sans-serif;
  font-size: 1rem;
}
.header-names .bride,
.header-names .groom {
  font-family: "GMarketSans", "Noto Sans KR", sans-serif;
}
.main-image-container {
  height: 40%;
}
.poetry-text {
  font-size: 2rem;
}
.poetry-author {
  font-size: 2rem;
}
.couple-single-image {
  width: 100px;
  height: 140px;
}
.countdown-timer {
  flex-wrap: nowrap;
}
.timer-item {
  margin: 10px 15px;
}
.location-map {
  height: 250px;
}
.transport-type {
  padding: 1rem;
}
.gallery-swiper {
  height: 40vh;
  margin-bottom: 15px;
}
.swiper-button-next,
.swiper-button-prev {
  display: none;
}
.swiper-pagination {
  bottom: 10px !important;
}
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px;
}
.gallery-thumbs {
  gap: 8px;
}
.gallery-thumb {
  width: 50px;
  height: 50px;
}
.countdown-section {
  padding: 1rem;
}
.schedule-title {
  font-size: 1.3rem;
  margin: 2rem 0;
  text-align: center;
}
.countdown-details {
  margin-bottom: 1rem;
}
.countdown-calendar {
  margin-bottom: 1.5rem;
}
.calendar-days {
  font-size: 1rem;
}
.calendar-date {
  font-size: 1rem;
}
.timer-value {
  font-size: 1.8rem;
  width: 45px;
  height: 45px;
}
.timer-label {
  font-size: 0.8rem;
}
.timer-separator {
  font-size: 1.5rem;
}
.wedding-time {
  font-size: 0.7rem;
}

#page2 {
  margin: 2rem 0;
}

#page1 {
  background-image: url("main.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 2rem 0;
}

#page3 {
  padding: 2rem 1rem;
}

.wedding-date-container {
  position: absolute;
  bottom: 5px;
  margin: 1rem 0;
  text-align: center;
}

.groom-image-container,
.bride-image-container {
  text-align: center;
}
