/* Contact Page Styles - Consistent with Website Design */

/* Main layout */
.contact-main {
  min-height: 100vh;
  padding: 80px 0 40px;
  background: #fff0e6; /* Match website theme */
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.contact-hero {
  text-align: center;
  margin-bottom: 60px;
}

.page-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary, #1a1a1a);
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary, #666);
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Content Layout */
.contact-content {
  margin-bottom: 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Alert Messages */
.alert {
  margin-bottom: 30px;
  padding: 16px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.alert i {
  font-size: 1.2em;
}

/* Form Container */
.form-container {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light, #e5e7eb);
}

/* Form Styles */
.contact-form {
  margin-bottom: 30px;
}

.field-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-weight: 600;
  color: var(--text-primary, #1a1a1a);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border-light, #e5e7eb);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: white;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color, #667eea);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
  color: var(--text-muted, #9ca3af);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

/* Field Errors */
.field-error {
  margin-top: 6px;
  font-size: 0.875rem;
  color: #dc2626;
  display: none;
}

.field-error:not(:empty) {
  display: block;
}

/* Form Actions */
.form-actions {
  margin-top: 32px;
}

/* Form Footer */
.form-footer {
  padding-top: 24px;
  border-top: 1px solid var(--border-light, #e5e7eb);
}

.privacy-notice {
  font-size: 0.875rem;
  color: var(--text-secondary, #666);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.privacy-notice i {
  margin-top: 2px;
  color: var(--primary-color, #667eea);
}

/* Sidebar */
.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-light, #e5e7eb);
}

.info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.info-card-header i {
  font-size: 1.25rem;
  color: var(--primary-color, #667eea);
}

.info-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary, #1a1a1a);
  margin: 0;
}

.info-card p {
  color: var(--text-secondary, #666);
  margin: 0;
  line-height: 1.5;
}

.email-link,
.faq-link {
  color: var(--primary-color, #667eea);
  text-decoration: none;
  font-weight: 500;
}

.email-link:hover,
.faq-link:hover {
  text-decoration: underline;
}

/* Loading state for submit button */
.btn-loading {
  opacity: 0.7;
  pointer-events: none;
}

.btn-loading i {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .contact-sidebar {
    order: -1;
  }
}

@media (max-width: 768px) {
  .contact-main {
    padding: 60px 0 40px;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .page-subtitle {
    font-size: 1.1rem;
  }
  
  .form-container {
    padding: 24px;
  }
  
  .contact-sidebar {
    flex-direction: column;
    gap: 16px;
  }
  
  .info-card {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 2rem;
  }
  
  .form-container {
    padding: 20px;
  }
}
