/* ===== CONTACT PAGE ===== */

/* ===== DC HERO ===== */
.dc-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 200px 80px;
  z-index: 1;
}

.dc-hero .hero-spider {
  position: absolute;
  top: 45% !important;
  left: 60% !important;
  transform: translate(-50%, -50%);
  width: 350px !important;
  height: 350px !important;
  pointer-events: none;
  z-index: 4;
}

.dc-hero-glow {
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  width: 550px;
  height: 550px;
  pointer-events: none;
  z-index: 2;
}

.dc-hero-glow .glow-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0.4;
  z-index: 4;
  mix-blend-mode: overlay;
  mask-image: radial-gradient(circle, black 25%, transparent 55%);
  -webkit-mask-image: radial-gradient(circle, black 25%, transparent 55%);
}

.dc-hero-title {
  font-family: var(--font-mono);
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text-white);
  letter-spacing: -2px;
  line-height: 1;
  position: relative;
  z-index: 5;
  text-align: center;
}

.dc-hero-title span {
  display: block;
}

/* ===== CONTACT CTA GLOW ===== */
.page-template-page-contact .cta-glow {
  top: 60%;
  right: 260px;
  width: 400px;
  height: 550px;
}

@media (max-width: 1200px) {
  .page-template-page-contact .cta-glow {
    right: 100px;
    width: 350px;
    height: 450px;
  }
}

@media (max-width: 768px) {
  .page-template-page-contact .cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    z-index: 1;
  }
}

/* ===== CONTACT SECTION ===== */
.ct-section {
  padding: 100px 80px 120px;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

/* Sidebaground on left */
.ct-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/drk_Cache/Explore/sidebaground.png");
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: left center;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.ct-content {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

/* Left Column */
.ct-left {
  flex: 1;
  padding-top: 20px;
}

.ct-title {
  font-family: var(--font-mono);
  font-size: clamp(48px, 6vw, 100px);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--text-white);
  letter-spacing: -2px;
  line-height: 1;
  margin-top: 100px;
}

.ct-title span {
  display: block;
}

.ct-title .indent-1 {
  padding-left: clamp(60px, 12vw, 380px);
}

.ct-description {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: var(--text-gray);
  opacity: 0.6;
  max-width: 500px;
}

/* Right Column - Form Card */
.ct-form-card {
  flex: 0 0 460px;
  background: var(--accent-red);
  padding: 40px 36px;
}

.ct-form-heading {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-white);
  letter-spacing: 1px;
  margin-bottom: 28px;
}

/* Side-by-side name row */
.ct-form-row {
  display: flex;
  gap: 12px;
}
.ct-form-row .ct-form-input {
  flex: 1;
}

/* Form Inputs */
.ct-form-group {
  margin-bottom: 6px;
}

.ct-form-input,
.ct-form-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.15);
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-white);
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: left;
  outline: none;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
}

.ct-form-input::placeholder,
.ct-form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ct-form-input:focus,
.ct-form-textarea:focus {
  background: rgba(0, 0, 0, 0.25);
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.ct-form-textarea {
  resize: none;
  min-height: 100px;
}

/* Submit Button */
.ct-form-submit {
  position: relative;
  display: inline-block;
  margin-top: 28px;
  padding: 14px 32px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--accent-red);
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ct-form-submit:hover {
  background: var(--text-white);
}

.ct-form-submit .corner {
  border-color: var(--accent-red);
}

/* ===== RESPONSIVE - XL DESKTOP (1400px+) ===== */
@media (min-width: 1400px) {
  .dc-hero {
    padding: 220px 120px;
  }

  .ct-section {
    padding: 120px 120px 140px;
  }

  .ct-content {
    max-width: 1600px;
  }

  .ct-form-card {
    flex: 0 0 500px;
  }
}

/* ===== RESPONSIVE - 2XL DESKTOP (1600px+) ===== */
@media (min-width: 1600px) {
  .dc-hero {
    padding: 240px 160px;
  }

  .ct-section {
    padding: 140px 160px 160px;
  }

  .ct-content {
    max-width: 1800px;
    gap: 100px;
  }

  .ct-form-card {
    flex: 0 0 520px;
    padding: 48px 42px;
  }
}

/* ===== RESPONSIVE - 3XL / 4K (1920px+) ===== */
@media (min-width: 1920px) {
  .dc-hero {
    padding: 260px 200px;
    min-height: 500px;
  }

  .ct-section {
    padding: 160px 200px 180px;
  }

  .ct-content {
    max-width: 1920px;
    gap: 120px;
  }
}

/* ===== RESPONSIVE - 1200px ===== */
@media (max-width: 1200px) {
  .ct-content {
    gap: 60px;
  }

  .ct-form-card {
    flex: 0 0 400px;
  }
}

/* ===== RESPONSIVE - 768px ===== */
@media (max-width: 768px) {
  .dc-hero {
    padding: 100px 20px 60px;
    min-height: 300px;
  }

  .dc-hero .hero-spider {
    left: 50%;
    top: 50%;
    width: 250px;
    height: 250px;
  }

  .dc-hero-glow {
    width: 350px;
    height: 350px;
  }

  .dc-hero-title {
    font-size: clamp(36px, 10vw, 80px);
  }

  .ct-section {
    padding: 60px 20px 80px;
  }

  .ct-content {
    flex-direction: column;
    gap: 48px;
  }

  .ct-title {
    font-size: clamp(32px, 10vw, 60px);
  }

  .ct-title .indent-1 {
    padding-left: 190px;
  }

  .ct-form-card {
    flex: none;
    width: 100%;
    padding: 32px 24px;
  }
}

/* ===== TOAST NOTIFICATIONS ===== */
.aftrdrk-toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.aftrdrk-toast {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 320px;
  max-width: 440px;
  padding: 16px 20px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.5px;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.aftrdrk-toast.show {
  transform: translateX(0);
  opacity: 1;
}

.aftrdrk-toast.hide {
  transform: translateX(120%);
  opacity: 0;
}

.aftrdrk-toast--success {
  background: #0a0a0a;
  border: 1px solid #00ff88;
  border-left: 4px solid #00ff88;
}

.aftrdrk-toast--error {
  background: #0a0a0a;
  border: 1px solid var(--accent-red);
  border-left: 4px solid var(--accent-red);
}

.aftrdrk-toast-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.aftrdrk-toast--success .aftrdrk-toast-icon svg {
  stroke: #00ff88;
}

.aftrdrk-toast--error .aftrdrk-toast-icon svg {
  stroke: var(--accent-red);
}

.aftrdrk-toast-message {
  flex: 1;
  line-height: 1.4;
}

.aftrdrk-toast-close {
  flex-shrink: 0;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  font-size: 18px;
  line-height: 1;
  transition: color 0.2s ease;
}

.aftrdrk-toast-close:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .aftrdrk-toast-container {
    top: auto;
    bottom: 24px;
    right: 16px;
    left: 16px;
  }
  .aftrdrk-toast {
    min-width: auto;
    max-width: none;
  }
}

/* ===== NEWSLETTER POPUP ===== */
.newsletter-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.newsletter-popup.active {
  opacity: 1;
  visibility: visible;
}

.newsletter-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
}

.ct-form-card--newsletter {
  position: relative;
  width: 460px;
  max-width: calc(100% - 40px);
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  z-index: 2;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.newsletter-popup.active .ct-form-card--newsletter {
  transform: translateY(0);
  opacity: 1;
}

.newsletter-desc {
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.5px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.newsletter-popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  z-index: 3;
}

.newsletter-popup-close:hover {
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
}

@media (max-width: 768px) {
  .ct-form-card--newsletter {
    width: 100%;
    max-width: calc(100% - 32px);
  }
}
