/* ===========================
   Contact Form Styles - Minimal & Clean
   =========================== */

.contact-form-wrapper {
  width: 100%;
  padding: 60px 20px;
  margin: 40px 0;
}

.contact-form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ===========================
   Contact Form Section
   =========================== */

.contact-form-section h2,
.contact-info-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 30px;
  font-family: 'IRANSansXFaNum', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
}

.contact-form:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Form Group Styling */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  font-family: 'IRANSansXFaNum', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.form-control,
.contact-form input,
.contact-form textarea {
  padding: 12px 16px;
  font-size: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: 'IRANSansXFaNum', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: all 0.2s ease;
  background-color: #fff;
  color: #0f172a;
  width: 100%;
}

.form-control:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1);
}

.form-control::placeholder,
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a3b8;
}

/* Override WordPress default form styles for contact form */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100% !important;
  border: 1px solid #cbd5e1 !important;
  background: white !important;
  color: #0f172a !important;
  border-radius: 6px !important;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form textarea:focus {
  border-color: #f59e0b !important;
  background: white !important;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1) !important;
}

/* Submit Button - Minimal Style */
.btn-submit {
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  background-color: #f59e0b;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'IRANSansXFaNum', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto !important;
  text-align: center !important;
}

.btn-submit:hover {
  background-color: #d97706;
}

.btn-submit:active {
  transform: translateY(1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-submit:active {
  transform: translateY(1px);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Form Messages */
.form-message {
  padding: 14px;
  border-radius: 6px;
  font-size: 14px;
  font-family: 'IRANSansXFaNum', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: center;
  display: none;
  animation: slideDown 0.3s ease;
}

.form-message.success {
  display: block;
  background-color: #dbeafe;
  border: 1px solid #0284c7;
  color: #0c4a6e;
}

.form-message.error {
  display: block;
  background-color: #fee2e2;
  border: 1px solid #dc2626;
  color: #7f1d1d;
}

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

/* ===========================
   Contact Info Section
   =========================== */

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

.contact-info-box {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: white;
  border-radius: 10px;
  border-right: 3px solid #cbd5e1;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.contact-info-box:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-right-color: #CC3366;
}

.info-icon {
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  min-height: 45px;
  flex-shrink: 0;
  color: #0f172a;
}

.info-icon svg {
  width: 24px;
  height: 24px;
  color: #0f172a;
  stroke: #0f172a;
}

.info-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 8px 0;
  font-family: 'IRANSansXFaNum', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.info-content p {
  font-size: 14px;
  color: #475569;
  margin: 0;
  line-height: 1.6;
  font-family: 'IRANSansXFaNum', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.info-content a {
  color: #0f172a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.info-content a:hover {
  color: #f59e0b;
}

/* ===========================
   Social Media Section - Minimal
   =========================== */

.contact-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #f3f4f6;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  color: #0f172a;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* WhatsApp */
.social-link:nth-child(1) svg {
  fill: #25D366;
}

.social-link:nth-child(1):hover {
  background-color: #25D366;
  color: white;
  border-color: #25D366;
}

.social-link:nth-child(1):hover svg {
  fill: white;
}

/* Telegram */
.social-link:nth-child(2) svg {
  fill: #0088cc;
}

.social-link:nth-child(2):hover {
  background-color: #0088cc;
  color: white;
  border-color: #0088cc;
}

.social-link:nth-child(2):hover svg {
  fill: white;
}

/* Instagram */
.social-link:nth-child(3) svg {
  fill: #E1306C;
}

.social-link:nth-child(3):hover {
  background-color: #E1306C;
  color: white;
  border-color: #E1306C;
}

.social-link:nth-child(3):hover svg {
  fill: white;
}

/* ===========================
   Contact Map Section
   =========================== */

.contact-map {
  margin-top: 60px;
}

.contact-map h2 {
  font-size: 28px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 30px;
  font-family: 'IRANSansXFaNum', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.contact-map iframe {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease;
  width: 100%;
  border: none;
  height: 400px;
}

.contact-map iframe:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ===========================
   Responsive Design
   =========================== */

@media (max-width: 1024px) {
  .contact-form-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-form-section h2,
  .contact-info-section h2 {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 40px 16px;
    margin: 20px 0;
  }

  .contact-form-container {
    gap: 20px;
  }

  .contact-form {
    padding: 20px;
  }

  .contact-form-section h2,
  .contact-info-section h2,
  .contact-map h2 {
    font-size: 20px;
  }

  .contact-info-box {
    gap: 15px;
    padding: 15px;
  }

  .info-icon {
    font-size: 24px;
    min-width: 40px;
    min-height: 40px;
  }

  .form-control,
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
    padding: 12px 14px;
  }

  .btn-submit {
    padding: 11px 20px;
    font-size: 14px;
  }

  .contact-social {
    gap: 10px;
  }

  .social-link {
    width: 40px;
    height: 40px;
  }

  .social-link svg {
    width: 18px;
    height: 18px;
  }

  .contact-map iframe {
    height: 350px;
  }
}

@media (max-width: 480px) {
  .contact-form-wrapper {
    padding: 30px 12px;
  }

  .contact-form {
    padding: 15px;
    gap: 15px;
  }

  .contact-form-section h2,
  .contact-info-section h2,
  .contact-map h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-control,
  .contact-form input,
  .contact-form textarea {
    font-size: 14px;
    padding: 10px 12px;
  }

  .btn-submit {
    padding: 10px 16px;
    font-size: 13px;
  }

  .contact-info-box {
    gap: 12px;
    padding: 12px;
  }

  .info-icon {
    font-size: 20px;
    min-width: 36px;
    min-height: 36px;
  }

  .info-content h3 {
    font-size: 14px;
  }

  .info-content p {
    font-size: 13px;
  }

  .contact-social {
    gap: 8px;
  }

  .social-link {
    width: 38px;
    height: 38px;
  }

  .social-link svg {
    width: 16px;
    height: 16px;
  }

  .contact-map iframe {
    height: 280px;
  }
}
