:root {
  --brand-navy: #022a50;
  --brand-blue: #034ea2;
  --brand-turquoise: #00aeef;
  --brand-orange: #f18000;
  --text-dark: #0f1f38;
  --text-light: #f7f9fc;
  --bg-light: #f2f5fb;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  margin: 0;
}

.text-white-75 {
  color: rgba(255, 255, 255, 0.75) !important;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  overflow: hidden;
}

.lang-switch {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  display: inline-flex;
  gap: 0.5rem;
  z-index: 2;
  font-weight: 600;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

.lang-switch a {
  color: #ffffff;
  text-decoration: none;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
}

.lang-switch a:hover,
.lang-switch a:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.lang-switch a.active {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 42, 80, 0.95) 0%, rgba(3, 78, 162, 0.7) 50%, rgba(241, 128, 0, 0.65) 100%);
}

.hero-content {
  position: relative;
  max-width: 680px;
  text-align: left;
  padding: 4rem 0;
}

.hero-topline {
  font-size: 0.9rem;
  letter-spacing: 0.4rem;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: var(--brand-orange);
}

.hero-logo {
  height: 120px;
  margin-bottom: 2rem;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions .btn {
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-actions .btn .material-symbols-outlined {
  font-size: 1.35rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.btn-orange {
  background: linear-gradient(135deg, var(--brand-orange), #ff9f32);
  border: 1px solid var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 15px 28px rgba(241, 128, 0, 0.35);
}

.btn-orange:hover,
.btn-orange:focus {
  color: #ffffff;
  background: linear-gradient(135deg, #ff9f32, var(--brand-orange));
  border-color: #ff9f32;
}

.btn-orange:focus {
  box-shadow: 0 0 0 0.25rem rgba(241, 128, 0, 0.35);
}

.btn-light {
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 15px 28px rgba(0, 0, 0, 0.2);
}

.section {
  position: relative;
  z-index: 1;
}

.section-accent {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-navy));
}

.section-light {
  background: #ffffff;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--brand-navy);
  margin-bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.section-title .material-symbols-outlined {
  font-size: 2.1rem;
  color: var(--brand-orange);
}

.section-accent .section-title {
  color: #ffffff;
}

.section-accent .section-title .material-symbols-outlined {
  color: #ffd9b0;
}

.milestone-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(3, 46, 85, 0.12);
  border-top: 5px solid rgba(241, 128, 0, 0.45);
}

.milestone-card h3 {
  font-family: "Playfair Display", serif;
  color: var(--brand-blue);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.milestone-card li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.55rem 0;
  font-weight: 500;
}

.milestone-card .icon {
  color: var(--brand-orange);
  font-size: 1.45rem;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(241, 128, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.timeline {
  margin-top: 2.5rem;
}

.timeline-item {
  background: #ffffff;
  border-radius: 14px;
  padding: 2.75rem 1.5rem 1.75rem;
  height: 100%;
  border: 1px solid rgba(3, 46, 85, 0.08);
  border-top: 6px solid rgba(241, 128, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.timeline-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(3, 78, 162, 0.18);
}

.timeline-icon {
  position: absolute;
  top: -28px;
  left: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-blue));
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  box-shadow: 0 18px 36px rgba(241, 128, 0, 0.35);
}

.timeline-item .year {
  display: inline-block;
  font-weight: 700;
  color: var(--brand-orange);
  font-size: 1.15rem;
  margin-bottom: 1rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(241, 128, 0, 0.12);
}

.video-wrapper video {
  width: 100%;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px rgba(15, 98, 167, 0.35);
}

.video-grid .video-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 35px rgba(3, 46, 85, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.video-body .material-symbols-outlined {
  color: var(--brand-orange);
}

.video-grid .video-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(3, 46, 85, 0.18);
}

.video-grid video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.video-body {
  padding: 1.5rem;
}

.video-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  color: var(--brand-navy);
}

.video-body p {
  margin: 0;
  color: rgba(15, 31, 56, 0.65);
  font-size: 0.95rem;
}

.invitation-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 45px rgba(3, 46, 85, 0.12);
  max-width: 940px;
  margin: 0 auto;
  border: 1px solid rgba(3, 46, 85, 0.08);
}

.invitation-header {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue) 55%, rgba(241, 128, 0, 0.95));
  padding: 2.5rem 2rem;
  text-align: center;
}

.invitation-header img {
  height: 86px;
}

.invitation-body {
  display: flex;
  gap: 2.5rem;
  padding: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.invitation-message {
  flex: 1 1 260px;
}

.invitation-message h3 {
  font-family: "Playfair Display", serif;
  color: var(--brand-navy);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.invitation-message p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.invitation-message .note {
  font-size: 0.9rem;
  color: rgba(15, 31, 56, 0.65);
  font-style: italic;
}

.invitation-divider {
  width: 1px;
  background: linear-gradient(180deg, rgba(3, 46, 85, 0) 0%, rgba(3, 46, 85, 0.45) 50%, rgba(3, 46, 85, 0) 100%);
}

.invitation-footer {
  background: var(--bg-light);
  padding: 2rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.invitation-times {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.invitation-time {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  border-radius: 14px;
  padding: 1rem 1.4rem;
  box-shadow: 0 12px 24px rgba(3, 46, 85, 0.08);
  border: 1px solid rgba(241, 128, 0, 0.15);
}

.invitation-time .material-symbols-outlined {
  font-size: 1.75rem;
  color: var(--brand-orange);
}

.invitation-time .time-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(3, 46, 85, 0.7);
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
}

.invitation-time strong {
  font-size: 1.05rem;
  color: var(--brand-navy);
  display: block;
  margin-top: 0.2rem;
}

.invitation-times strong {
  letter-spacing: 0.02rem;
}

.invitation-rsvp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.invitation-rsvp-pill {
  background: linear-gradient(135deg, var(--brand-orange), #ffaf4f);
  color: #ffffff;
  padding: 0.65rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 15px 28px rgba(241, 128, 0, 0.28);
}

.invitation-qr {
  width: 92px;
  height: 92px;
  border-radius: 12px;
  border: 2px dashed rgba(3, 46, 85, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: rgba(3, 46, 85, 0.6);
  background: #ffffff;
  font-size: 0.85rem;
  letter-spacing: 0.12rem;
  box-shadow: inset 0 0 0 1px rgba(241, 128, 0, 0.4);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.1rem;
}

.gallery-item {
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 24px rgba(3, 46, 85, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px rgba(3, 46, 85, 0.18);
}

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

.gallery-item:focus-visible {
  outline: 2px solid rgba(241, 128, 0, 0.65);
  outline-offset: 4px;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(3, 46, 85, 0.1) 0%, rgba(3, 46, 85, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-overlay .material-symbols-outlined {
  font-size: 2.5rem;
  color: #ffffff;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.45));
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
  opacity: 1;
}

.modal-content {
  background: #000000;
  border: none;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(3, 46, 85, 0.75);
  color: #ffffff;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.gallery-nav .material-symbols-outlined {
  font-size: 2rem;
}

.gallery-nav.prev {
  left: 24px;
}

.gallery-nav.next {
  right: 24px;
}

.gallery-nav:hover:not(:disabled),
.gallery-nav:focus-visible:not(:disabled) {
  background: rgba(241, 128, 0, 0.9);
  transform: translateY(-50%) scale(1.05);
  outline: none;
}

.gallery-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.modal-body {
  position: relative;
  padding: 0;
  display: flex;
  justify-content: center;
}

.modal-body img {
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
}

footer {
  background: var(--brand-navy);
  color: rgba(255, 255, 255, 0.8);
}

.footer-logo img {
  height: 45px;
}
.footer-text {
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .hero {
    min-height: 85vh;
  }

  .hero-logo {
    height: 48px;
  }

  .video-grid .video-card {
    margin-bottom: 1rem;
  }

  .timeline-item {
    padding-top: 2.4rem;
  }

  .timeline-icon {
    top: -24px;
    width: 48px;
    height: 48px;
    font-size: 1.6rem;
  }

  .invitation-body {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
  }

  .invitation-divider {
    display: none;
  }
}

@media (max-width: 576px) {
  .hero {
    text-align: left;
    padding: 0 1.5rem;
  }

  .hero-topline {
    letter-spacing: 0.3rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .invitation-header {
    padding: 2rem 1.5rem;
  }

  .invitation-footer {
    padding: 1.8rem 1.5rem 2rem;
  }

  .invitation-rsvp {
    gap: 1.25rem;
  }

  .invitation-time {
    width: 100%;
    justify-content: flex-start;
  }
}
