/* ═══════════════════════════════════════
   THANKS PAGE STYLES
   Luxury thank you page for Canada4Travel
═══════════════════════════════════════ */

.thanks-page {
  background: var(--limestone-ivory);
}

/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
.thanks-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.thanks-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.thanks-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) brightness(0.85);
}

.thanks-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(10, 35, 66, 0.88) 0%,
      rgba(10, 35, 66, 0.75) 50%,
      rgba(201, 169, 97, 0.45) 100%);
}

/* ═══════════════════════════════════════
   CONFETTI ANIMATION
═══════════════════════════════════════ */
.thanks-confetti {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.thanks-confetti::before,
.thanks-confetti::after {
  content: '✦';
  position: absolute;
  color: var(--antique-gold);
  font-size: 20px;
  animation: confettiFall 8s infinite ease-in;
  opacity: 0;
}

.thanks-confetti::before {
  left: 20%;
  animation-delay: 1s;
}

.thanks-confetti::after {
  left: 80%;
  animation-delay: 3s;
}

@keyframes confettiFall {
  0% {
    top: -10%;
    opacity: 0;
    transform: rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    top: 110%;
    opacity: 0;
    transform: rotate(360deg);
  }
}

/* ═══════════════════════════════════════
   CONTENT CARD
═══════════════════════════════════════ */
.thanks-card {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
}

.thanks-content {
  /* background: rgba(245, 239, 230, 0.98); */
  /* backdrop-filter: blur(20px); */
  /* border: 1px solid rgba(201, 169, 97, 0.3); */
  padding: clamp(48px, 7vw, 72px) clamp(32px, 5vw, 56px);
  /* box-shadow: 0 40px 100px rgba(10, 35, 66, 0.25); */
  text-align: center;
  padding-top: 28px;
}

/* ═══════════════════════════════════════
   CHECK ICON
═══════════════════════════════════════ */
.thanks-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.thanks-icon-ring {
  width: 88px;
  height: 88px;
  border: 2px solid var(--antique-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: ringPulse 2s ease-in-out infinite;
}

.thanks-icon-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid var(--antique-gold);
  border-radius: 50%;
  opacity: 0.3;
}

.thanks-check {
  width: 74px;
  height: 60px;
  color: #fff;
  animation: checkDraw 0.8s ease-out 0.3s both;
}

@keyframes ringPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes checkDraw {
  0% {
    stroke-dasharray: 0 100;
    opacity: 0;
  }

  100% {
    stroke-dasharray: 100 100;
    opacity: 1;
  }
}

/* ═══════════════════════════════════════
   ORNAMENT
═══════════════════════════════════════ */
.thanks-ornament {
  margin-bottom: 18px;
}

.thanks-ornament-star {
  font-size: 12px;
  color: var(--antique-gold);
  letter-spacing: 0.8em;
  display: inline-block;
}

/* ═══════════════════════════════════════
   TEXT CONTENT
═══════════════════════════════════════ */
.thanks-eyebrow {
  display: block;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--maple-red);
  margin-bottom: 16px;
}

.thanks-title {
  font-family: var(--serif-display);
  font-size: clamp(48px, 7vw, 72px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: #fff;
  margin: 0 0 12px;
}

.thanks-title em {
  display: block;
  font-style: italic;
  color: var(--antique-gold);
  margin-top: 8px;
}

.thanks-subtitle {
  font-family: var(--serif-body);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.7;
  color: #fff;
  max-width: 520px;
  margin: 0 auto 32px;
}

.thanks-divider {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      var(--antique-gold) 50%,
      transparent 100%);
  margin: 38px auto;
}

/* ═══════════════════════════════════════
   STEPS SECTION
═══════════════════════════════════════ */
.thanks-steps {
  display: flex;
  gap: 28px;
  margin: 38px 0;
  text-align: left;
  justify-content: space-evenly;
}

.thanks-step {
  padding: 24px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(201, 169, 97, 0.25);
  border-left: 3px solid var(--antique-gold);
  transition: all 0.3s ease;
}

.thanks-step:hover {
  background: rgba(255, 255, 255, 0.85);
  border-left-color: var(--maple-red);
  transform: translateX(4px);
}

.thanks-step-num {
  display: block;
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}

.thanks-step h3 {
  font-family: var(--serif-display);
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.1;
  font-weight: 600;
  color: var(--deep-navy);
  margin: 0 0 8px;
}

.thanks-step p {
  font-family: var(--serif-body);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(31, 31, 31, 0.72);
  margin: 0;
}

/* ═══════════════════════════════════════
   ACTION BUTTONS
═══════════════════════════════════════ */
.thanks-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 38px;
}

.thanks-btn-primary,
.thanks-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--deep-navy);
}

.thanks-btn-primary {
  background: var(--deep-navy);
  color: var(--limestone-ivory);
}

.thanks-btn-primary:hover {
  background: transparent;
  color: var(--deep-navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 35, 66, 0.15);
}

.thanks-btn-ghost {
  background: transparent;
  color: var(--deep-navy);
}

.thanks-btn-ghost:hover {
  background: var(--deep-navy);
  color: var(--limestone-ivory);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════
   SCROLL HINT
═══════════════════════════════════════ */
.thanks-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  animation: scrollBounce 2s ease-in-out infinite;
}

.thanks-scroll-hint span {
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.thanks-scroll-hint svg {
  opacity: 0.8;
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* ═══════════════════════════════════════
   CONTACT STRIP
═══════════════════════════════════════ */
.thanks-contact-strip {
  background: rgba(10, 35, 66, 0.03);
  padding: clamp(28px, 4vw, 38px) clamp(20px, 3vw, 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4vw, 48px);
  flex-wrap: wrap;
}

.thanks-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--limestone-ivory);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 12px 18px;
  border-radius: 4px;
}

.thanks-contact-item:hover {
  background: rgba(201, 169, 97, 0.15);
  transform: translateY(-2px);
}

.thanks-contact-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 169, 97, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

.thanks-contact-icon svg {
  color: var(--antique-gold);
}

.thanks-contact-label {
  display: block;
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: 4px;
}

.thanks-contact-value {
  display: block;
  font-family: var(--serif-body);
  font-size: 16px;
  font-weight: 600;
  color: #0a2342;
}

.thanks-contact-sep {
  width: 1px;
  height: 48px;
  background: rgba(201, 169, 97, 0.3);
}

/* ═══════════════════════════════════════
   MOBILE MENU STYLES
═══════════════════════════════════════ */
.menu__mobile {
  display: none;
}

/* ═══════════════════════════════════════
   SCROLL TO TOP
═══════════════════════════════════════ */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--deep-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 998;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--antique-gold);
  transform: translateY(-4px);
}

.scroll-top-value {
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 800;
  color: var(--limestone-ivory);
}

/* ═══════════════════════════════════════
   RESPONSIVE DESIGN
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .thanks-hero {
    min-height: 90vh;
  }

  .thanks-contact-strip {
    gap: 28px;
  }
}

@media (max-width: 760px) {
  .thanks-hero {
    min-height: 100vh;
    align-items: flex-start;
    padding-top: 100px;
  }

  .thanks-card {
    width: calc(100% - 28px);
  }

  .thanks-content {
    padding: 38px 24px;
  }

  .thanks-icon-ring {
    width: 72px;
    height: 72px;
  }

  .thanks-check {
    width: 32px;
    height: 32px;
  }

  .thanks-title {
    font-size: 42px;
  }

  .thanks-steps {
    gap: 18px;
  }

  .thanks-step {
    padding: 20px;
  }

  .thanks-actions {
    flex-direction: column;
    width: 100%;
  }

  .thanks-btn-primary,
  .thanks-btn-ghost {
    width: 100%;
  }

  .thanks-scroll-hint {
    display: none;
  }

  .thanks-contact-strip {
    flex-direction: column;
    gap: 0;
    padding: 24px 18px;
  }

  .thanks-contact-item {
    width: 100%;
    justify-content: flex-start;
    padding: 18px;
  }

  .thanks-contact-sep {
    width: 100%;
    height: 1px;
    margin: 8px 0;
  }

  /* Show mobile menu */
  .menu__mobile {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--limestone-ivory);
    border-top: 1px solid rgba(10, 35, 66, 0.1);
    box-shadow: 0 -4px 20px rgba(10, 35, 66, 0.08);
  }

  .menu-mobile-fixed {
    display: flex !important;
    padding: 12px 8px;
  }

  .menu-mobile-fixed a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--deep-navy);
    padding: 8px;
    transition: all 0.3s ease;
  }

  .menu-mobile-fixed a:hover {
    background: rgba(201, 169, 97, 0.1);
    border-radius: 8px;
  }

  .menu-mobile-fixed img {
    width: 24px;
    height: 24px;
  }

  .menu-mobile-fixed p {
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: capitalize;
    margin: 0;
  }

  /* Hide floating actions on mobile */
  .c4t-floating-actions {
    display: none;
  }

  /* Adjust scroll top position */
  .scroll-top {
    bottom: 80px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .thanks-content {
    padding: 32px 20px;
  }

  .thanks-title {
    font-size: 36px;
  }

  .thanks-subtitle {
    font-size: 15px;
  }

  .thanks-step h3 {
    font-size: 20px;
  }

  .thanks-step p {
    font-size: 14px;
  }
}

/* ═══════════════════════════════════════
   UTILITY CLASSES
═══════════════════════════════════════ */
.d-flex {
  display: flex !important;
}

.align-items-center {
  align-items: center !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

/* ═══════════════════════════════════════
   PRINT STYLES
═══════════════════════════════════════ */
@media print {

  .thanks-hero-bg,
  .thanks-confetti,
  .thanks-scroll-hint,
  .c4t-header,
  .c4t-footer,
  .menu__mobile,
  .c4t-floating-actions,
  .scroll-top,
  .c4t-mobile-menu {
    display: none !important;
  }

  .thanks-content {
    box-shadow: none;
    border: 2px solid var(--deep-navy);
  }
}