/* ============================================
   CONTACT PAGE STYLES
   Contact form, info cards, and map section
   ============================================ */

/* Contact Hero */
.contact-hero {
  padding: 160px 24px 80px;
  background: var(--white);
  text-align: center;
}

.contact-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  color: var(--grey-900);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 24px;

  /* Gradient shimmer like homepage */
  background: linear-gradient(
    110deg,
    var(--grey-900) 0%,
    var(--grey-900) 40%,
    rgba(255, 107, 74, 0.4) 45%,
    rgba(255, 107, 74, 0.6) 50%,
    rgba(255, 107, 74, 0.4) 55%,
    var(--grey-900) 60%,
    var(--grey-900) 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 8s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    background-position: 200% center;
  }
  50% {
    background-position: 0% center;
  }
}

.contact-hero p {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--grey-600);
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 60px 24px;
  }
}

/* Contact Info Column */
.contact-info-column h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--grey-900);
  letter-spacing: -0.02em;
}

.contact-info-column p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--grey-600);
  margin-bottom: 32px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--white);
  border-radius: 12px;
  border: 2px solid var(--grey-200);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-method:hover {
  border-color: var(--orange-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.contact-method-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--orange-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--orange-500);
  stroke-width: 2;
}

.contact-method-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--grey-900);
  margin-bottom: 4px;
}

.contact-method-content p {
  font-size: 14px;
  color: var(--grey-600);
  margin-bottom: 8px;
}

.contact-method-content a {
  font-size: 16px;
  font-weight: 600;
  color: var(--orange-500);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-method-content a:hover {
  color: var(--orange-600);
}

/* Contact Form Column */
.contact-form-column h2 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--grey-900);
  letter-spacing: -0.02em;
}

.contact-form-column .form-subtitle {
  font-size: 16px;
  color: var(--grey-600);
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--grey-900);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 2px solid var(--grey-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-primary);
  transition: all 0.2s;
  background: var(--white);
  color: var(--grey-900);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.1);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.submit-button {
  padding: 18px 40px;
  background: var(--orange-500);
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(255, 107, 74, 0.25);
}

.submit-button:hover {
  background: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.submit-button:active {
  transform: translateY(0);
}

.submit-button svg {
  width: 20px;
  height: 20px;
}

/* Map Section */
.map-section {
  background: var(--grey-50);
  padding: 80px 24px;
}

.map-container {
  max-width: 1200px;
  margin: 0 auto;
}

.map-container h2 {
  font-size: clamp(32px, 4vw, 42px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: var(--grey-900);
  letter-spacing: -0.02em;
}

.map-container p {
  text-align: center;
  color: var(--grey-600);
  margin-bottom: 40px;
  font-size: 16px;
}

.map-embed {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 2px solid var(--grey-200);
}

.map-embed iframe {
  width: 100%;
  height: 450px;
  border: none;
}

/* Success Message */
.success-message {
  display: none;
  padding: 16px 20px;
  background: rgba(255, 107, 74, 0.1);
  border: 2px solid var(--orange-500);
  border-radius: var(--radius-md);
  color: var(--grey-900);
  margin-bottom: 20px;
  font-weight: 500;
}

.success-message.show {
  display: block;
  animation: slideDown 0.3s ease;
}

/* Error Message */
.error-message {
  padding: 16px 20px;
  background: rgba(220, 38, 38, 0.1);
  border: 2px solid rgba(220, 38, 38, 0.5);
  border-radius: var(--radius-md);
  color: #991b1b;
  margin-top: 20px;
  font-weight: 500;
}

/* Button Loading State */
.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none !important;
}

.button-loader .spinner {
  animation: rotate 2s linear infinite;
  width: 20px;
  height: 20px;
}

.button-loader .spinner .path {
  stroke: var(--white);
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* reCAPTCHA v3 Badge */
.grecaptcha-badge {
  visibility: visible !important;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.grecaptcha-badge:hover {
  opacity: 1;
}

/* reCAPTCHA Privacy Notice */
.recaptcha-notice {
  font-size: 12px;
  color: var(--grey-600);
  line-height: 1.6;
  margin-bottom: 16px;
  text-align: center;
}

.recaptcha-notice a {
  color: var(--orange-500);
  text-decoration: none;
  transition: color 0.2s;
}

.recaptcha-notice a:hover {
  color: var(--orange-600);
  text-decoration: underline;
}
