/* assets/css/pages/contact.css */

/* === Page Header Dark - Match Services === */
.page-header--dark {
  background: linear-gradient(180deg, #0E2247 0%, #1A3A6B 100%);
  padding: 100px 0 120px;
  position: relative;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.page-header__bg > div:nth-child(1) {
  position: absolute;
  top: -180px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,174,239,0.2) 0%, transparent 70%);
  border-radius: 8px;
}

.page-header__bg > div:nth-child(2) {
  position: absolute;
  bottom: -120px;
  left: -80px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(26,58,107,0.6) 0%, transparent 70%);
  border-radius: 8px;
}

.page-header--dark .page-header__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.page-header__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.page-header__label .dot {
  color: var(--cyan);
  font-size: 8px;
}

.page-header--dark .page-header__title {
  font-family: 'Ubuntu', sans-serif;
  font-size: 52px;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-header--dark .page-header__subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: #C0C0C0;
  margin-bottom: 32px;
}

.page-header__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.page-header__buttons .btn--lg {
  padding: 14px 32px;
  font-size: 15px;
}

/* Light outline button for dark backgrounds */
.btn--outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .page-header--dark {
    padding: 60px 0 80px;
  }
  .page-header--dark .page-header__title {
    font-size: 36px;
  }
  .page-header--dark .page-header__subtitle {
    font-size: 16px;
  }
  .page-header__buttons {
    flex-direction: column;
    align-items: center;
  }
  .page-header__buttons .btn--lg {
    width: 100%;
    max-width: 280px;
  }
}

/* === Contact Section === */
.contact-section {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--white) 0%, var(--grey-light) 100%);
}

.contact-info h2 {
  margin-bottom: 4px;
}

/* === Contact Detail Items === */
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 174, 239, 0.15) 0%, rgba(0, 174, 239, 0.05) 100%);
  border-radius: 10px;
  flex-shrink: 0;
}

.contact-detail__icon svg {
  color: #00AEEF;
}

.contact-detail h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 4px;
}

/* === Contact Form === */
.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--navy) 100%);
}

.contact-form .form-input:focus,
.contact-form .form-textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

/* === Calendly Placeholder === */
.calendly-placeholder {
  text-align: center;
  padding: 40px 32px;
  background: linear-gradient(180deg, var(--grey-light) 0%, var(--white) 100%);
  border-radius: var(--radius-md);
  border: 2px dashed rgba(0, 174, 239, 0.3);
  position: relative;
  overflow: hidden;
}

.calendly-placeholder::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(circle, rgba(0, 174, 239, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.calendly-placeholder h3 {
  font-size: 16px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.calendly-embed {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .page-header--dark {
    padding: 60px 0 80px;
  }

  .page-header--dark .page-header__title {
    font-size: 32px;
  }

  .page-header--dark .page-header__subtitle {
    font-size: 15px;
  }

  .contact-form {
    padding: 24px;
  }

  .contact-detail {
    align-items: center;
  }
}

/* === Footer - Light === */
.footer {
  padding: 48px 0 24px;
  background: #F1F5F9;
  border-top: 1px solid #E2E8F0;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo {
  height: 32px;
  width: auto;
}

.footer__wordmark {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-size: 15px;
  color: #1E293B;
}

.footer__tagline {
  font-size: 14px;
  color: #64748B;
  margin-top: 12px;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-size: 15px;
  color: #475569;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--cyan);
}

.footer__copyright {
  font-size: 14px;
  color: #94A3B8;
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #E2E8F0;
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    gap: 24px;
  }
  .footer__links {
    flex-wrap: wrap;
    gap: 16px;
  }
}
