:root {
  --wine: #6f3f45;
  --wine-dark: #4f2930;
  --rose: #c79292;
  --blush: #f4e9e5;
  --cream: #fffaf5;
  --ink: #2c2526;
  --muted: #766a6b;
  --line: rgba(111, 63, 69, 0.16);
  --shadow: 0 18px 55px rgba(65, 42, 42, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--cream);
  color: var(--muted);
  text-rendering: optimizeLegibility;
}

body,
p {
  color: var(--muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--ink);
}

::selection {
  background: var(--wine);
  color: #fff;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(111, 63, 69, 0.35);
  outline-offset: 4px;
}

section {
  scroll-margin-top: 24px;
}

.custom-color,
a {
  color: var(--wine);
}

.header-style-1 .topbar {
  background: rgba(255, 250, 245, 0.96);
  border-bottom: 1px solid var(--line);
  padding: 24px 0 20px;
}

.header-style-1 .site-logo h1 {
  color: var(--wine-dark);
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 0.25em;
}

.header-style-1 .site-logo h1 + span {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.heart-mark {
  color: var(--rose);
  display: inline-block;
  font-family: Georgia, serif;
  font-size: 0.55em;
  margin: 0 0.18em;
  transform: translateY(-0.12em);
}

.hero-slider {
  height: calc(100svh - 105px);
  min-height: 640px;
}

.hero-slider .swiper-slide .slide-inner::before {
  background: linear-gradient(90deg, rgba(24, 15, 17, 0.28), rgba(24, 15, 17, 0.54) 50%, rgba(24, 15, 17, 0.28));
}

.hero-style-1 .slide-main-text .container {
  max-width: 980px;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  margin: 0 0 0.75rem;
}

.hero-style-1 h2 {
  font-size: clamp(3.1rem, 6vw, 5.3rem);
  letter-spacing: 0.01em;
  line-height: 1.04;
  margin: 0;
  white-space: nowrap;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.42);
}

.hero-style-1 .slide-main-text .slide-title .heart-mark {
  color: #f2c4c1;
  font-size: 0.38em;
}

.hero-style-1 .wedding-date {
  margin-top: 1.1rem;
}

.hero-style-1 .wedding-date span {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.count-down-clock {
  margin-top: 1.8rem;
  max-width: min(620px, calc(100vw - 32px));
}

#clock {
  backdrop-filter: blur(8px);
  background: rgba(33, 21, 24, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13);
}

#clock > div {
  padding: 17px 10px 15px;
}

#clock .box > div {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 0.9;
}

#clock .box span {
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-padding,
.section-padding1 {
  padding-top: 96px;
}

.section-bg-img {
  background-color: var(--cream) !important;
  background-image: url("../image/bg.png") !important;
}

.section-bg-color {
  background: var(--blush) !important;
}

.big-heading,
.section-title h2 {
  color: var(--wine-dark);
}

.headline_1 {
  margin-bottom: 2rem;
  opacity: 0.48;
}

#cart .section-padding2 img {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  display: block;
  margin: 0 auto;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

#cart .section-padding2 img:hover {
  box-shadow: 0 24px 65px rgba(65, 42, 42, 0.18);
  transform: translateY(-5px);
}

.invitation-section .invitation-box {
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 82px 64px;
}

.invitation-section .invitation-box::before {
  border: 1px solid rgba(111, 63, 69, 0.32);
  border-radius: 16px;
}

.event-summary {
  position: relative;
  text-align: center;
  z-index: 2;
}

.event-summary .event-kicker {
  color: var(--wine);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.event-summary h3 {
  color: var(--wine-dark);
  line-height: 1.3;
}

.event-facts {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  margin: 1.75rem 0;
  padding: 0.35rem 0;
}

.event-facts > div {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 92px 1fr;
  padding: 0.65rem 0;
  text-align: left;
}

.event-facts span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.event-facts strong {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.theme-btn,
.event-map-link,
#btn-see-more-gallery {
  background: var(--wine);
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(111, 63, 69, 0.2);
  color: #fff;
  letter-spacing: 0.04em;
  padding: 13px 28px;
}

.theme-btn:hover,
.theme-btn:focus,
#btn-see-more-gallery:hover,
#btn-see-more-gallery:focus {
  background: var(--wine-dark);
  color: #fff;
  transform: translateY(-2px);
}

#about {
  padding-bottom: 96px;
}

#about figure img {
  border: 8px solid #fff;
  box-shadow: 0 16px 45px rgba(65, 42, 42, 0.16);
  height: 320px;
  object-fit: cover;
  width: 320px;
}

.about-content h4 {
  color: var(--wine-dark);
  font-family: "dancing_scriptregular", cursive;
  font-size: 2rem;
  font-weight: 600;
}

.about-content p {
  line-height: 1.85;
  text-align: justify;
}

.gallery-section {
  background: #fff;
}

.wedding-film {
  aspect-ratio: 16 / 9;
  border: 8px solid #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 42px;
  overflow: hidden;
  position: relative;
}

.wedding-film iframe {
  border: 0;
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.gallery-section .gallery-container {
  margin: 0 -8px;
}

.gallery-section .gallery-container .grid {
  padding: 0 8px 16px;
}

.gallery-section .gallery-container .grid a {
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(65, 42, 42, 0.1);
  overflow: hidden;
}

.gallery-section .gallery-container .grid img {
  height: 340px;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  width: 100%;
}

.gallery-section .gallery-container .grid a:hover img {
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1.035);
}

.donate-section {
  padding: 64px 0;
}

.donate-section .inner {
  border: 8px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.wedding-map {
  border: 0;
  display: block;
  filter: saturate(0.75) sepia(0.08);
}

.footer-style-1 {
  background-color: #f8eeee;
  height: 690px;
  min-height: 690px;
}

.footer-style-1 h2 {
  color: var(--wine-dark);
}

#menu-access {
  bottom: 88px !important;
  height: 42px;
  right: 28px;
  width: 42px;
}

#menu-access .list-menu-icon {
  bottom: 52px;
}

#menu-access .btn-menu-open,
#menu-access .btn-menu-close {
  bottom: auto;
  left: 0;
  margin: 0;
  top: 0;
}

#menu-access .btn-menu-close {
  position: absolute;
}

#menu-access > ul > li,
.btn-menu-open,
.btn-menu-close {
  background-color: var(--wine);
}

/* Lightbox controls use system glyphs because the original lg icon font is absent. */
.lg-outer .lg-icon,
.lg-actions .lg-next,
.lg-actions .lg-prev {
  font-family: Arial, "Segoe UI Symbol", sans-serif !important;
  font-style: normal;
  font-weight: 400;
  text-rendering: geometricPrecision;
}

.lg-toolbar {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.74), transparent);
  height: 58px;
}

.lg-toolbar .lg-icon {
  align-items: center;
  background: transparent;
  display: flex;
  font-size: 22px;
  height: 48px;
  justify-content: center;
  line-height: 1;
  margin: 5px 2px 0;
  padding: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
  width: 48px !important;
}

.lg-toolbar .lg-icon:hover,
.lg-toolbar .lg-icon:focus {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
}

.lg-actions .lg-next,
.lg-actions .lg-prev {
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 38px;
  height: 52px;
  justify-content: center;
  line-height: 1;
  margin-top: -26px;
  padding: 0 0 4px;
  width: 52px;
}

.lg-actions .lg-next:hover,
.lg-actions .lg-prev:hover {
  background: rgba(111, 63, 69, 0.88);
}

.lg-actions .lg-next::before {
  content: "\203A";
}

.lg-actions .lg-prev::after {
  content: "\2039";
}

.lg-toolbar .lg-close::after {
  content: "\00D7";
  font-size: 34px;
  line-height: 1;
}

.lg-toolbar .lg-download::after {
  content: "\2193";
  font-size: 27px;
  font-weight: 700;
}

#lg-zoom-in::after {
  content: "+";
  font-size: 30px;
}

#lg-zoom-out::after {
  content: "\2212";
  font-size: 30px;
}

#lg-actual-size::after {
  content: "1:1";
  font-size: 13px;
  font-weight: 700;
}

.lg-fullscreen::after,
.lg-fullscreen-on .lg-fullscreen::after {
  content: "\26F6";
  font-size: 26px;
}

.lg-autoplay-button::after {
  content: "\25B6";
}

.lg-show-autoplay .lg-autoplay-button::after {
  content: "\23F8";
}

.lg-outer .lg-toogle-thumb::after {
  content: "\25A6";
  font-size: 25px;
}

.lg-outer #lg-share::after {
  content: "\2197";
}

.lg-outer #lg-share-facebook .lg-icon::after {
  content: "f";
}

.lg-outer #lg-share-twitter .lg-icon::after {
  content: "t";
}

.lg-outer #lg-share-googleplus .lg-icon::after {
  content: "g";
}

.lg-outer #lg-share-pinterest .lg-icon::after {
  content: "p";
}

.lg-outer .lg-thumb-item.active,
.lg-outer .lg-thumb-item:hover {
  border-color: var(--rose);
}

#lg-counter {
  color: rgba(255, 255, 255, 0.86);
  font-family: Arial, sans-serif;
  font-size: 13px;
  padding-left: 16px !important;
  padding-top: 18px;
}

@media (max-width: 991px) {
  .header-style-1 .topbar {
    padding: 18px 0 15px;
  }

  .hero-slider {
    height: calc(100svh - 86px);
    min-height: 570px;
  }

  .section-padding,
  .section-padding1 {
    padding-top: 78px;
  }

  .invitation-section .invitation-box {
    margin: 24px auto;
    padding: 72px 60px;
  }
}

@media (max-width: 767px) {
  .header-style-1 .site-logo h1 {
    font-size: 1.6rem;
    white-space: nowrap;
  }

  .header-style-1 .site-logo h1 .heart-mark {
    margin-left: 0.08em;
    margin-right: 0.08em;
  }

  .hero-slider {
    height: calc(100svh - 82px);
    min-height: 530px;
  }

  .hero-style-1 h2 {
    font-size: clamp(2.45rem, 11vw, 3.3rem);
    white-space: normal;
  }

  .hero-eyebrow {
    font-size: 0.63rem;
    letter-spacing: 0.23em;
  }

  .hero-style-1 .wedding-date span {
    font-size: 0.73rem;
    letter-spacing: 0.16em;
  }

  .count-down-clock {
    left: 50%;
    margin-top: 1.3rem;
    max-width: calc(100vw - 32px);
    padding: 0;
    position: relative;
    transform: translateX(-50%);
    width: calc(100vw - 32px);
  }

  #clock > div {
    padding: 13px 5px 12px;
  }

  #clock .box > div {
    font-size: 1.8rem;
  }

  .section-padding,
  .section-padding1 {
    padding-top: 62px;
  }

  #about {
    padding-bottom: 64px;
  }

  #about figure img {
    height: 250px;
    width: 250px;
  }

  .about-content p {
    text-align: left;
  }

  .invitation-section .invitation-box {
    margin: 20px auto;
    padding: 52px 34px;
  }

  .invitation-section .invitation-box::before {
    border-width: 1px;
  }

  .event-facts > div {
    gap: 0.45rem;
    grid-template-columns: 78px 1fr;
  }

  .wedding-film {
    border-width: 4px;
    border-radius: 14px;
    margin-bottom: 28px;
  }

  .gallery-section .gallery-container .grid img {
    height: 220px;
  }

  .donate-section {
    padding: 42px 0;
  }

  .donate-section .inner {
    border-width: 4px;
    border-radius: 14px;
  }

  .wedding-map {
    height: 360px;
  }

  .footer-style-1 {
    height: 570px;
    min-height: 570px;
  }

  #menu-access {
    bottom: 104px !important;
    right: 18px;
  }

  .lg-toolbar .lg-icon {
    height: 44px;
    margin-left: 0;
    margin-right: 0;
    width: 42px !important;
  }

  .lg-actions .lg-next,
  .lg-actions .lg-prev {
    height: 44px;
    margin-top: -22px;
    width: 44px;
  }

  .lg-actions .lg-next {
    right: 10px;
  }

  .lg-actions .lg-prev {
    left: 10px;
  }
}

@media (max-width: 600px) {
  .header-style-1 .site-logo h1 {
    font-size: 1.35rem;
  }

  .hero-style-1 .slide-main-text .slide-title h2 {
    align-items: center;
    display: flex;
    flex-direction: column;
    line-height: 0.92;
  }

  .hero-style-1 .slide-main-text .slide-title h2 > span {
    display: block !important;
  }

  .hero-style-1 .slide-main-text .slide-title h2 > .heart-mark {
    font-size: 0.3em;
    margin: 0.55em 0 0.45em;
  }

  .gallery-section .gallery-container .grid img {
    height: 185px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
