@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Montserrat:wght@400;500;600;700&display=swap");

:root {
  --green: #004d46;
  --green-dark: #00342f;
  --green-deep: #002c29;
  --teal: #008d76;
  --gold: #c7b37a;
  --cream: #f4eee0;
  --white: #f7f8f4;
  --line: rgba(120, 190, 171, 0.45);
  --container: 1180px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--green-dark);
  color: var(--white);
  font-family: Montserrat, Arial, sans-serif;
}
a {
  text-decoration: none;
  color: inherit;
}
button,
input {
  font: inherit;
}
/* .container {
  width: min(calc(100% - 48px), var(--container));
  margin: auto;
} */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-texture {
  position: relative;
  overflow: hidden;
  /* background:
    radial-gradient(circle at 10% 20%, rgba(0, 147, 119, 0.18) 0 1px, transparent 2px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06) 0 1px, transparent 2px),
    linear-gradient(135deg, #00483f, #00332f 52%, #00463e); */
}
.section-texture:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.14;
  background-image: repeating-radial-gradient(
    circle at 20px 20px,
    transparent 0 10px,
    rgba(91, 181, 157, 0.6) 11px 12px,
    transparent 13px 27px
  );
  background-size: 90px 90px;
  pointer-events: none;
}
.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
}
.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 5px 0;
}
.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 230px;
}
.brand img {
  width: 100%;
  max-width: 300px;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #8bbcae;
  border-radius: 45% 55% 50% 45%;
  font-size: 13px;
  color: #c5d9c9;
}
.brand b,
.footer-brand b {
  display: block;
  font-size: 8px;
  letter-spacing: 1.1px;
  font-weight: 600;
}
.brand small,
.footer-brand small {
  display: block;
  font-size: 6px;
  letter-spacing: 0.6px;
  margin-top: 2px;
  opacity: 0.8;
}
.desktop-nav {
  display: flex;
  gap: 64px;
  font-size: 9px;
  letter-spacing: 1.2px;
}
.desktop-nav a,
.mobile-menu a {
  color: #e0e6ed;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
  transition: color 0.3s;
}
.desktop-nav a:hover,
.mobile-menu a:hover {
  opacity: 1;
  color: #8fe0c7;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 230px;
  justify-content: flex-end;
}
.flag {
  width: 21px;
  height: 12px;
  display: inline-block;
  background: linear-gradient(#22a6dd 0 31%, #fff 31% 42%, #d92b39 42% 49%, #fff 49% 60%, #27a877 60%);
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.lang-switch {
  position: relative;
}
.lang {
  border: 0;
  background: none;
  color: #fff;
  font-size: 9px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
}
.lang span {
  color: #e0e6ed;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 2px;
}
.lang-caret {
  display: inline-block;
  transition: transform 0.2s;
}
.lang-flag {
  width: 25px;
  height: 15px;
  object-fit: cover;
  display: inline-block;
  vertical-align: middle;
}
.lang-switch.open .lang-caret {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 56px;
  background: #00302b;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 0;
  list-style: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  z-index: 30;
}
.lang-menu li {
  margin: 0;
}
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  background: none;
  border: 0;
  color: #d9e6e1;
  padding: 6px 12px;
  text-align: left;
  font-size: 9px;
  letter-spacing: 0.5px;
  cursor: pointer;
  font-family: inherit;
}
.lang-menu button:hover {
  background: rgba(255, 255, 255, 0.1);
}
.lang-menu li.active button {
  color: #28b89d;
}
.burger {
  display: none;
  background: none;
  border: 0;
  width: 38px;
  height: 38px;
  padding: 7px;
  cursor: pointer;
}
.burger span {
  display: block;
  height: 1px;
  background: #fff;
  margin: 5px 0;
  transition: 0.25s;
}
.mobile-menu {
  display: none;
}
.hero {
  min-height: 800px;
  display: flex;
  align-items: end;
  justify-content: center;
  position: relative;
  background: #002e2b;
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 22, 20, 0.92) 0%,
      rgba(0, 25, 23, 0.6) 38%,
      rgba(0, 25, 23, 0.15) 68%,
      rgba(0, 25, 23, 0.35)
    ),
    url("../assets/images/banner.png");
  background-size: cover;
  background-position: 100%;
  filter: saturate(0.95);
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 800px;
  display: flex;
  align-items: end;
  justify-content: start;
}
.hero-copy {
  padding: 70px 0;
}
.eyebrow {
  font-size: 15px;
  letter-spacing: 4px;
  color: #00d2b4;
  font-weight: 600;
  margin: 0 0 14px;
}
h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 3px;
  color: #ffffff;
  margin-bottom: 25px;
  margin: 0;
}
h1 span.h1-sub {
  font-size: 0.93em;
}
.hero-rule {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 135px;
  margin: 21px 0 8px;
}
.hero-rule i {
  height: 1px;
  background: #69cbb3;
  flex: 1;
}
.hero-rule i:nth-child(2) {
  flex: 0 0 4px;
  height: 4px;
  border-radius: 50%;
}
.hero-years {
  font-size: 18px;
  letter-spacing: 4px;
  color: #00d2b4;
  margin: 0 0 27px;
}
.hero-copy h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  letter-spacing: 4px;
  font-weight: 500;
  margin: 0 0 6px;
}
.hero-description {
  font-size: 15px;
  line-height: 1.6;
  color: #cbd5e1;
  font-weight: 300;
  margin: 0;
}
.button-row {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.btn {
  padding: 14px 28px;
  font-size: 12px;
  letter-spacing: 2px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
}
.btn-primary {
  background-color: #00875a;
  color: #ffffff;
  border: 1px solid #00875a;
}
.btn-primary:hover {
  background: #00a487;
}
.btn-outline {
  background-color: rgba(3, 24, 34, 0.6);
  color: #00b4d8;
  border: 1px solid #005f73;
  backdrop-filter: blur(4px);
}
.btn:hover {
  transform: translateY(-2px);
}
/* .ornament {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(20, 173, 143, 0.28);
  transform: rotate(45deg);
  top: 150px;
}
.ornament-left {
  left: -120px;
}
.ornament-right {
  right: -120px;
} */
.invitation-card {
  background-image: url("../assets/images/ornament-1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  container-type: inline-size;
}
.invitation-shape {
  /* background-image: url("../assets/images/ornament.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #3a2f1f;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 1238 / 909;
  height: auto;
  padding: 9% 19%;
  text-align: center; */

  background-image: url(../assets/images/ornament.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #000;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 1200 / 700;
  height: auto;
  padding: 5% 19%;
  text-align: center;
}
.invitation-shape .invitation-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2cqw;
  margin-bottom: 0.8cqw;
}
.invitation-shape .invitation-badge img {
  width: 100%;
  max-width: 120px;
}
.invitation-shape .invitation-occasion {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  margin: 0 0 1cqw;
}
.invitation-shape .invitation-host {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  color: #000;
  font-weight: 900;
  margin: 0 0 0.4cqw;
}
.invitation-shape .invitation-host-title {
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  color: #000;
  margin: 0 0 1cqw;
}
.invitation-shape .invitation-request {
  font-family: "Cormorant Garamond", serif;
  font-size: 14px;
  font-weight: 400;
  font-style: italic;
  margin: 0;
}
.invitation-shape .invitation-divider {
  display: flex;
  align-items: center;
  gap: 0.6cqw;
  width: 60%;
  margin: 1cqw 0 0.8cqw;
  color: #07594f;
  font-size: 14px;
}
.invitation-shape .invitation-divider i {
  height: 2px;
  flex: 1;
  background: #07594f;
  opacity: 0.5;
}
.invitation-shape .invitation-date {
  font-size: 11px;
  font-weight: 500;
  margin: 0 0 0.4cqw;
}
.invitation-shape .invitation-venue {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  margin: 0;
}
/* ----------------------asdasdadsada */
.discover {
  text-align: center;
}
.video-container {
  background-image: url("../assets/images/video-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 2.5vw, 40px);
  position: relative;
}
.section-heading {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}
.section-heading h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: 1px;
  margin: 0;
}
.section-heading p {
  font-size: 14px;
  color: #bfd7ce;
  margin: 7px 0 0;
}
.heading-dot {
  display: block;
  color: #6acdb6;
  font-size: 12px;
  margin: 5px auto 0;
}
.video-frame {
  position: relative;
  /* width: min(760px, 100%); */
  width: 100%;
  max-width: 800px;
  border: 1px solid aqua;
  background: #001e1d;
  overflow: hidden;
  aspect-ratio: 16/8;
  border-radius: 6px;
}
.video-frame img {
  object-fit: cover !important;
}
.video-frame .video-js {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
.video-js .vjs-tech {
  object-fit: cover;
}
.video-js .vjs-big-play-button {
  background-color: rgba(0, 130, 108, 0.82);
  border-color: rgba(255, 255, 255, 0.65);
}
.video-js:hover .vjs-big-play-button,
.video-js .vjs-big-play-button:focus {
  background-color: #008d76;
}
.video-js .vjs-play-progress,
.video-js .vjs-volume-level {
  background-color: #28b89d;
}
.video-js .vjs-control-bar {
  background-color: rgba(0, 0, 0, 0.72);
}

.venue-grid {
  display: flex;
  justify-content: space-evenly;
  gap: clamp(20px, 3vw, 42px);
  align-items: center;
}
.venue-container {
  background-image: url(../assets/images/venue-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: auto;
  padding: clamp(20px, 2.5vw, 40px);
  position: relative;
}
.section-heading-left {
  text-align: left;
  margin-bottom: 18px;
}
.section-heading-left .heading-dot {
  margin: 5px 0 0 0;
}
.venue-copy h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 8px;
}
.venue-copy p {
  font-size: 12px;
  color: #b7d0c8;
  margin: 0 0 17px;
}
.venue-image-wrap {
  position: relative;
}
.venue-image-wrap img {
  display: block;
  width: 100%;
  max-width: 450px;
  object-fit: cover;
  border-radius: 6px;
}
.venue-label {
  position: absolute;
  right: 0;
  bottom: 0;
  background: var(--cream);
  color: #33433e;
  padding: 7px 12px;
  font:
    10px/1.25 "Cormorant Garamond",
    serif;
  text-align: center;
}
/* .rsvp-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 58px;
  align-items: center;
} */
.rsvp-grid {
  background-image: url(../assets/images/form-bg.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  padding: clamp(20px, 2.5vw, 40px);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
}
.rsvp-grid .rsvp-form-area {
  width: 50%;
}
.rsvp-art {
  display: flex;
  justify-content: center;
}
.art-frame {
  width: 180px;
  border: 8px solid #07594f;
  outline: 1px solid #1aa58b;
  padding: 5px;
  clip-path: polygon(
    50% 0%,
    60% 6%,
    73% 5%,
    82% 15%,
    94% 20%,
    91% 35%,
    100% 50%,
    91% 65%,
    94% 80%,
    82% 85%,
    73% 95%,
    60% 94%,
    50% 100%,
    40% 94%,
    27% 95%,
    18% 85%,
    6% 80%,
    9% 65%,
    0 50%,
    9% 35%,
    6% 20%,
    18% 15%,
    27% 5%,
    40% 6%
  );
}
.art-frame img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.rsvp-form-area .section-heading p {
  text-align: left;
  line-height: 1.55;
}
.rsvp-form {
  position: relative;
  z-index: 1;
}
.attendance {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin: 18px 0 15px;
}
.choice {
  border: 1px solid rgba(24, 166, 139, 0.65);
  padding: 11px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: #d9e6e1;
  cursor: pointer;
}
.choice.active {
  background: #008d76;
}
.choice input {
  display: none;
}
.choice span {
  margin-right: 6px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.form-grid label {
  font-size: 12px;
  color: #9cc0b7;
  letter-spacing: 0.4px;
}
.form-grid input {
  display: block;
  width: 100%;
  height: 40px;
  margin-top: 4px;
  border: 1px solid rgba(40, 145, 127, 0.55);
  background: rgba(0, 0, 0, 0.08);
  outline: none;
  color: #fff;
  padding: 5px 8px;
  font-size: 10px;
}
.form-grid input:focus {
  border-color: #32c3a5;
}
.submit-btn {
  width: 100%;
  border: 0;
  background: #008d76;
  color: #fff;
  height: 40px;
  margin-top: 10px;
  font-size: 8px;
  letter-spacing: 1.4px;
  text-align: left;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.form-message {
  min-height: 15px;
  font-size: 8px;
  color: #73d8bf;
  margin: 7px 0 0;
}

.footer-brand img {
  width: 100%;
  max-width: 300px;
}
.site-footer {
  border-top: 1px solid rgba(98, 173, 156, 0.3);
  padding: 22px 0;
  background: #002b28;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}
.footer-links {
  display: flex;
  gap: 25px;
  font-size: 20px;
  color: #b7cbc5;
}
.footer-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  font-size: 8px;
}
.footer-right img {
  width: 100%;
  max-width: 100px;
}
.footer-right strong {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Cormorant Garamond", serif;
}
.footer-right strong span {
  font-size: 32px;
  line-height: 0.7;
}
.footer-right small {
  font:
    7px/1.05 Montserrat,
    Arial,
    sans-serif;
}
.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #008d76;
  padding: 12px 16px;
  font-size: 10px;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: 0.3s;
  z-index: 50;
}
.toast.show {
  opacity: 1;
  transform: none;
}

/* Toastify */
.toastify.rsvp-toast {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: min(380px, calc(100vw - 32px));
  padding: 16px 18px 16px 20px;
  border-radius: 4px;
  border-left: 3px solid var(--gold);
  background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--white);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 34px rgba(0, 20, 18, 0.35);
}
.toastify.rsvp-toast::before {
  content: "✓";
  flex: none;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}
.toastify.rsvp-toast--error {
  border-left-color: #e0735f;
}
.toastify.rsvp-toast--error::before {
  content: "!";
  background: #c2513d;
}
.toastify.rsvp-toast .toast-close {
  margin-left: auto;
  padding: 0 0 0 6px;
  color: var(--gold);
  opacity: 0.8;
  font-size: 16px;
}
.toastify.rsvp-toast .toast-close:hover {
  opacity: 1;
}
.submit-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

@media (max-width: 900px) {
  .desktop-nav {
    gap: 28px;
  }
  .header-right {
    min-width: auto;
  }
  .brand {
    min-width: auto;
  }
  .hero,
  .hero-content {
    min-height: 590px;
  }
  .hero-photo {
    background-position: 66% center;
  }
}
@media (max-width: 700px) {
  .header-inner {
    height: 58px;
  }
  .brand b {
    font-size: 7px;
  }
  .brand small {
    font-size: 5px;
  }
  .desktop-nav {
    display: none;
  }
  .header-right {
    gap: 5px;
  }
  .burger {
    display: block;
  }
  .mobile-menu {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    top: 58px;
    background: rgba(0, 44, 40, 0.98);
    border-top: 1px solid rgba(82, 190, 165, 0.35);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .mobile-menu.open {
    max-height: 280px;
  }
  .mobile-menu a {
    padding: 17px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 10px;
    letter-spacing: 1.2px;
  }
  .hero,
  .hero-content {
    min-height: 650px;
  }
  .hero-photo {
    background-image:
      linear-gradient(0deg, rgba(0, 20, 18, 0.95) 0%, rgba(0, 20, 18, 0.65) 40%, rgba(0, 20, 18, 0.2) 75%),
      url("../assets/images/background.png");
    background-position: 70% center;
  }
  .hero-content {
    align-items: flex-end;
    padding-bottom: 60px;
  }
  .hero-copy {
    padding-top: 0;
  }
  h1 {
    font-size: 46px;
  }
  .hero-description br,
  .desktop-only {
    display: none;
  }
  .ornament {
    width: 120px;
    height: 120px;
  }
  .invitation {
    padding: 12px 0 22px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .video-frame {
    width: 100%;
  }
  .venue-grid {
    flex-direction: column;
  }
  .venue-copy {
    text-align: center;
  }
  .section-heading-left {
    text-align: center;
  }
  .section-heading-left .heading-dot {
    margin: 5px auto 0;
  }
  .venue-copy .btn {
    margin: auto;
  }
  .rsvp-grid .rsvp-form-area {
    width: 100%;
  }
  .rsvp-form {
    backdrop-filter: blur(10px);
  }
  .rsvp-art {
    order: 2;
  }
  .rsvp-form-area {
    order: 1;
  }
  .art-frame {
    width: 135px;
  }
  .art-frame img {
    height: 180px;
  }
  .attendance,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 14px;
  }
  .footer-brand {
    justify-content: center;
  }
  .footer-links {
    justify-content: center;
  }
  .footer-right {
    justify-content: center;
  }
  .invitation-shape {
    background-size: cover;
    aspect-ratio: 1/1;
    padding: 20% 10%;
  }
}
@media (max-width: 420px) {
  .brand-mark {
    width: 21px;
    height: 21px;
    font-size: 11px;
  }
  .lang {
    font-size: 8px;
  }

  h1 {
    font-size: 40px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 3px;
  }
  .button-row {
    gap: 7px;
  }
  .btn {
    min-width: 120px;
    padding: 10px 10px;
  }
  .invitation-card {
    width: 94%;
  }
  .hero-copy {
    padding: 0;
  }
  .button-row {
    flex-direction: column;
  }
}
