/* ==========================================================================
   Custom Inner Pages CSS (Thank You Page - Exact Match)
   ========================================================================== */

/* Full Height Zero White Gap Structure */
body.page-template-thank-you,
body.page-template-templatesthank-you-php {
  min-height: 100vh;
}

body.page-template-thank-you #page,
body.page-template-templatesthank-you-php #page {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

body.page-template-thank-you #content,
body.page-template-templatesthank-you-php #content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 0 auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
}

/* --- Thank You Page Styles (Exact Mockup Match) --- */
.ty-section {
  padding: 60px 20px;
  background-image: url('/wp-content/uploads/2026/10/thank-you-bg.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 1 0 auto !important;
  min-height: calc(100vh - 120px);
  box-sizing: border-box;
}

.ty-container {
  max-width: 800px;
  text-align: center;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: relative;
  z-index: 1;
}

.ty-icon-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto 20px;
}

.ty-bulb-icon {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  animation: bulbPulse 2s infinite alternate;
}

.ty-glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(200, 130, 80, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: 1;
  animation: glowPulse 2s infinite alternate;
}

@keyframes bulbPulse {
  0% {
    filter: drop-shadow(0 0 8px rgba(184, 107, 62, 0.3));
  }

  100% {
    filter: drop-shadow(0 0 20px rgba(184, 107, 62, 0.7));
  }
}

@keyframes glowPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 1;
  }
}

.ty-heading {
  font-family: 'Playfair Display', serif !important;
  font-size: 48px;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-weight: 600;
  line-height: 1.25;
}

.ty-subheading {
  font-family: 'Playfair Display', serif !important;
  font-size: 26px;
  color: #b0704d;
  margin-bottom: 25px;
  font-weight: 500;
}

.ty-text {
  font-family: 'IBM Plex Sans', sans-serif !important;
  font-size: 16px;
  color: #4a4a4a;
  line-height: 1.6;
  margin-bottom: 45px;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.ty-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.ty-btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: #2b221a;
  color: #e5cdad;
  font-family: 'IBM Plex Sans', sans-serif !important;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid #5a402d;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ty-btn:hover {
  background-color: #1a140f;
  border-color: #B86B3E;
  color: #fff;
  box-shadow: 0 6px 20px rgba(184, 107, 62, 0.3);
}

.ty-btn-outline {
  background-color: transparent;
  color: #1a1a1a;
  border: 2px solid #1a1a1a;
}

.ty-btn-outline:hover {
  background-color: #1a1a1a;
  color: #fff;
}

@media (max-width: 768px) {
  .ty-heading {
    font-size: 32px;
  }

  .ty-subheading {
    font-size: 20px;
  }

  .ty-container {
    padding: 20px;
    margin: 0;
  }

  .ty-section {
    padding: 60px 20px;
  }

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