/* ========================================================
   5. SECTIONS & CARDS — BLUE WATERCOLOR THEME
   ======================================================== */

/* SECTION: THÔNG TIN LỄ CƯỚI */
.card-ceremony {
  position: relative;
  border: 1px solid rgba(190, 215, 238, 0.8);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 45px rgba(45, 80, 115, 0.1), 0 2px 8px rgba(0, 0, 0, 0.03);
  padding: 40px 28px 54px;
}

.card-corner-flower-tl {
  position: absolute;
  top: -45px;
  left: -50px;
  width: clamp(130px, 28vw, 195px);
  height: auto;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 8px 18px rgba(40, 75, 110, 0.15));
}

.card-corner-flower-br {
  position: absolute;
  bottom: -42px;
  right: -42px;
  width: clamp(125px, 26vw, 185px);
  height: auto;
  pointer-events: none;
  z-index: 5;
  filter: drop-shadow(0 8px 18px rgba(40, 75, 110, 0.15));
}

.card-floret-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 140px;
  margin: 4px auto 16px;
}

.card-floret-divider .line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(75, 115, 155, 0.45));
}

.card-floret-divider .line:last-child {
  background: linear-gradient(to left, transparent, rgba(75, 115, 155, 0.45));
}

.card-floret-divider .floret-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.parents-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px;
  margin: 16px 0 20px;
}

.family-side {
  text-align: center;
}

.family-label {
  font-family: var(--font-title);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #50759a;
  text-transform: uppercase;
  display: block;
  margin-bottom: 3px;
}

.family-names {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1.45;
  margin: 3px 0 2px;
}

.family-addr {
  font-size: 0.78rem;
  color: #5a7d9f;
}

.family-divider-vertical {
  width: 1px;
  height: 66px;
  background: rgba(175, 205, 230, 0.8);
}

.announcement-wrap {
  margin: 18px 0 14px;
}

.announcement-text {
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary-navy);
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.6;
}

.announcement-text span {
  font-size: 0.76rem;
  font-weight: 600;
  color: #4a6e92;
  letter-spacing: 0.12em;
  display: block;
  margin-top: 2px;
}

.card-heart-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 120px;
  margin: 8px auto 14px;
}

.card-heart-divider .line {
  flex: 1;
  height: 1px;
  background: rgba(75, 115, 155, 0.4);
}

.card-heart-divider .heart-symbol {
  color: #3b658f;
  font-size: 0.85rem;
  line-height: 1;
}

/* Couple vertical highlight in ceremony */
.couple-ceremony-vertical {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 14px 0 20px;
}

.couple-person-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.person-fullname {
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(2.3rem, 6.2vw, 3.1rem);
  font-weight: 600;
  color: #16365c;
  line-height: 1.25;
  letter-spacing: 0.02em;
  margin: 0;
}

.person-role-tag {
  font-family: var(--font-subtitle);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: #4a7096;
  text-transform: uppercase;
  margin-top: 4px;
}

.couple-amp-symbol {
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 5vw, 2.8rem);
  color: #38628c;
  line-height: 1.1;
  margin: 6px 0;
}

/* Ceremony Details */
.ceremony-details {
  margin-top: 16px;
}

.ceremony-lead {
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary-navy);
  text-transform: uppercase;
}

.ceremony-venue {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--primary-navy);
  margin: 3px 0 10px;
}

.ceremony-time-lead {
  font-family: var(--font-title);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #4a7094;
  text-transform: uppercase;
}

.ceremony-time-large {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-navy);
  margin: 2px 0 6px;
}

.ceremony-date-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 10px auto 6px;
  border: none;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.ceremony-date-box .date-col {
  font-family: var(--font-title);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--primary-navy);
  text-transform: uppercase;
}

.ceremony-date-box .date-col-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-inline: 18px;
  border-inline: 1px solid rgba(165, 195, 225, 0.85);
}

.ceremony-date-box .day-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-navy);
  line-height: 1;
}

.ceremony-date-box .year-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-top: 4px;
}

.lunar-date-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.94rem;
  color: #436a90;
  letter-spacing: 0.08em;
  margin-top: 10px;
}

/* SECTION: VENUE & MAP */
.card-venue {
  padding-bottom: 28px;
}

.venue-title-main {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary-navy);
  text-transform: uppercase;
}

.venue-name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--primary-navy);
  margin: 6px 0 4px;
}

.venue-address {
  font-size: 0.88rem;
  color: #436688;
  max-width: 380px;
  margin: 0 auto 18px;
  line-height: 1.5;
}

.map-embed-wrapper {
  position: relative;
  width: 100%;
  height: 230px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(185, 210, 235, 0.7);
  box-shadow: 0 6px 18px rgba(45, 80, 115, 0.08);
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.btn-direction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #8f78bc 0%, #60458f 100%);
  color: #ffffff !important;
  border: none !important;
  padding: 10px 32px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 6px 20px rgba(87, 61, 137, 0.28);
  margin-top: 18px;
  transition: all 0.25s ease;
}

.btn-direction *,
.btn-direction svg,
.btn-direction span {
  color: #ffffff !important;
  fill: currentColor;
}

.btn-direction:hover,
.btn-direction:active {
  transform: translateY(-2px);
  border: none !important;
  outline: none !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(87, 61, 137, 0.38);
  background: linear-gradient(135deg, #a18bca 0%, #70549f 100%);
}

/* ========================================================
   SECTION: DRESS CODE & LỊCH TRÌNH NGÀY CƯỚI (TIMELINE)
   ======================================================== */
#dresscode-timeline-section {
  position: relative;
  padding: 24px 10px 10px;
  text-align: center;
  overflow: hidden;
}

/* Cành hoa trang trí góc */
.dc-flower-tl {
  position: absolute;
  top: -15px;
  left: -20px;
  width: 140px;
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
  filter: drop-shadow(0 4px 10px rgba(45, 80, 115, 0.1));
}

.dc-flower-br {
  position: absolute;
  bottom: -20px;
  right: -25px;
  width: 165px;
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.95;
  filter: drop-shadow(0 4px 10px rgba(45, 80, 115, 0.1));
}

/* Cursive Calligraphy Scripts */
.dc-script-ml {
  position: absolute;
  top: 50%;
  left: 20px;
  font-family: var(--font-script);
  font-size: 1.7rem;
  color: #4a749d;
  transform: rotate(-12deg);
  line-height: 1.15;
  pointer-events: none;
  text-align: center;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* DRESS CODE BLOCK */
.dresscode-unified-block {
  position: relative;
  z-index: 2;
  padding: 0 16px;
}

.dresscode-main-content {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.dresscode-swatches-horizontal {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.swatch-col-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.swatch-col-item .swatch-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(35, 70, 105, 0.2);
  transition: transform 0.2s ease;
}

.swatch-col-item:hover .swatch-circle {
  transform: scale(1.08);
}

.swatch-col-item .swatch-name {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: #24466b;
  white-space: nowrap;
}



/* Delicate Divider between Dresscode & Timeline */
.section-soft-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(160, 195, 230, 0.05) 0%, rgba(160, 195, 230, 0.65) 20%, rgba(160, 195, 230, 0.65) 80%, rgba(160, 195, 230, 0.05) 100%);
  width: 80%;
  margin: 36px auto 32px;
  position: relative;
  z-index: 2;
}

/* TIMELINE BLOCK */
.timeline-unified-block {
  position: relative;
  z-index: 2;
  padding: 0 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-v-list {
  --tl-time-col: 3.6rem;
  --tl-dot-col: 12px;
  --tl-gap: 14px;
  --tl-dot-size: 10px;
  --tl-dot-offset: 4px;
  --tl-row-gap: 22px;
  display: flex;
  flex-direction: column;
  gap: var(--tl-row-gap);
  width: fit-content;
  max-width: min(360px, 94vw);
  margin: 24px auto 0;
  position: relative;
  text-align: left;
  padding: 0;
  box-sizing: border-box;
}

.timeline-v-item {
  display: grid;
  grid-template-columns: var(--tl-time-col) var(--tl-dot-col) minmax(0, 1fr);
  column-gap: var(--tl-gap);
  align-items: start;
  position: relative;
}

/* Đoạn line từ tâm chấm này tới tâm chấm kế tiếp */
.timeline-v-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: calc(var(--tl-time-col) + var(--tl-gap) + (var(--tl-dot-col) / 2));
  top: calc(var(--tl-dot-offset) + (var(--tl-dot-size) / 2));
  height: calc(100% + var(--tl-row-gap));
  width: 1.5px;
  background: rgba(145, 180, 215, 0.55);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
}

.timeline-dot {
  width: var(--tl-dot-size);
  height: var(--tl-dot-size);
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid rgba(135, 175, 215, 0.85);
  box-shadow: 0 2px 6px rgba(45, 80, 115, 0.08);
  margin-top: var(--tl-dot-offset);
  justify-self: center;
  z-index: 2;
  box-sizing: border-box;
}

.timeline-content {
  min-width: 0;
  padding-top: 1px;
}

.timeline-time-badge {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--primary-navy);
  text-align: right;
  line-height: 1.2;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}

.timeline-heading-text {
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 400;
  color: #355a7e;
  margin: 0 0 3px;
  line-height: 1.4;
}

.timeline-desc {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: #55799c;
  line-height: 1.4;
}

/* FOOTER */
.site-footer {
  text-align: center;
  padding: 16px 0 24px;
  margin-top: 8px;
  border-top: none;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.footer-title {
  font-family: var(--font-script);
  font-size: clamp(3.2rem, 9vw, 4.4rem);
  font-weight: 400;
  color: var(--primary-navy);
  line-height: 1;
  text-shadow: 0 1px 2px rgba(22, 52, 86, 0.08);
}

.footer-names {
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #3b5f82;
  text-transform: uppercase;
  margin: 6px 0 18px;
}

.footer-floral-wreath {
  width: min(320px, 80vw);
  max-width: 360px;
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 6px 16px rgba(40, 75, 110, 0.12));
  margin-bottom: 8px;
}

.footer-brand {
  font-family: var(--font-body), sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #6286a8;
  text-transform: none;
  margin: 8px 0 0;
  opacity: 0.55;
}

/* ========================================================
   FAMILY & COUPLE PROFILES SECTION (NHÀ TRAI & NHÀ GÁI)
   ======================================================== */
.family-profiles-section {
  position: relative;
  padding: 10px 4px 28px;
  margin: 0 auto 16px;
  max-width: 680px;
}

.family-profiles-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.family-profile-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.family-profile-photo-col {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.family-photo-wrapper {
  position: relative;
  width: 100%;
  max-width: 290px;
  aspect-ratio: 3 / 4.7;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(56, 36, 95, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
  border: 3px solid #ffffff;
  background: #f7f3fb;
}

.family-profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease, filter 0.3s ease;
}

.family-photo-wrapper:hover .family-profile-img {
  transform: scale(1.04);
  filter: brightness(1.02);
}

.family-profile-info-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px 6px;
}

.family-info-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.family-info-content .card-heart-divider {
  margin: 0 auto 6px;
  width: 100px;
}

.family-side-kicker {
  font-family: var(--font-title);
  font-size: clamp(0.95rem, 2.4vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--primary-navy);
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.2;
}

.family-parents-group {
  margin-bottom: 8px;
  width: 100%;
}

.family-parents-group .parent-name {
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  font-weight: 400;
  color: var(--primary-navy);
  text-transform: uppercase;
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin: 0 0 2px;
}

.family-address-text {
  font-family: var(--font-body);
  font-size: clamp(0.76rem, 1.9vw, 0.88rem);
  font-style: italic;
  color: #614a87;
  line-height: 1.45;
  margin: 4px auto 8px;
  max-width: 240px;
}

.family-sub-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  margin: 6px auto 10px;
}

.family-sub-divider .line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(117, 96, 165, 0.45), transparent);
}

.family-role-label {
  font-family: var(--font-title);
  font-size: clamp(0.82rem, 2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--primary-blue);
  margin-bottom: 2px;
}

.family-person-script {
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 6.5vw, 3.6rem);
  font-weight: 400;
  color: var(--primary-navy);
  line-height: 1.1;
  margin: 2px 0 0;
  text-shadow: 0 1px 2px rgba(56, 36, 95, 0.06);
}
