/* ===================================
   CONTACT SECTIE SIMPLE - HOMEPAGE
   Faute Bendt huisstijl - Goud & Bordeaux
   =================================== */

.contact-section-simple {
  background: var(--bg-primary, #ffffff);
  padding: 4rem 0;
  position: relative;
}

.contact-simple-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 3rem auto 0;
  align-items: stretch; /* Zorgt voor gelijke hoogte */
}

/* SECTION HEADER */
.contact-section-simple .section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-primary, #2d3748);
}

.contact-section-simple .section-header p {
  text-align: center;
  font-size: 1.2rem;
  color: var(--text-secondary, #718096);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* FLEXBOX VOOR GELIJKE HOOGTE */
.contact-quick,
.contact-message-simple {
  background: var(--bg-secondary, #f7fafc);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  border: 1px solid var(--border-color, #e2e8f0);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%; /* Vult hele beschikbare hoogte */
}

.contact-quick h3,
.contact-message-simple h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary, #2d3748);
  text-align: center;
}

.contact-methods-simple {
  margin-bottom: 2rem;
}

.contact-method-quick {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-primary, #ffffff);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-primary, #2d3748);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color, #e2e8f0);
}

.contact-method-quick:hover {
  background: var(--gold-warm, #DAA520);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(218, 165, 32, 0.3);
  border-color: var(--gold-bright, #FFD700);
}

.contact-method-quick .icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-text strong {
  font-size: 1rem;
  font-weight: 700;
}

.contact-text span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.contact-method-quick:hover .contact-text span {
  opacity: 1;
}

.response-guarantee {
  background: linear-gradient(135deg, #DAA520, #B8860B);
  color: #ffffff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-align: center;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.guarantee-icon {
  font-size: 1.2rem;
}

/* FORMULIER GROEIT MEE */
.faute-quick-message {
  flex: 1; /* Neemt beschikbare ruimte in */
  margin-bottom: 2rem;
}

.faute-quick-message .form-group {
  margin-bottom: 1.25rem;
}

.faute-quick-message input,
.faute-quick-message textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: var(--bg-primary, #ffffff);
  color: var(--text-primary, #2d3748);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.faute-quick-message input:focus,
.faute-quick-message textarea:focus {
  outline: none;
  border-color: var(--gold-warm, #DAA520);
  box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
  transform: translateY(-2px);
}

.faute-quick-message input::placeholder,
.faute-quick-message textarea::placeholder {
  color: var(--text-secondary, #718096);
  opacity: 0.7;
}

.faute-quick-message textarea {
  resize: vertical;
  min-height: 100px;
  font-family: 'Montserrat', Arial, sans-serif;
}

.faute-quick-message .btn-primary {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 1rem 2rem;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #DAA520, #B8860B);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.3);
}

.faute-quick-message .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(218, 165, 32, 0.4);
}

/* CTA BOX - VOLLEDIGE BREEDTE ONDER GRID */
.contact-cta-full-width {
  grid-column: 1 / -1; /* Spanning over beide kolommen */
  background: linear-gradient(135deg, 
    rgba(218, 165, 32, 0.1) 0%, 
    rgba(212, 165, 165, 0.1) 100%
  );
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(218, 165, 32, 0.2);
  margin-top: 2rem;
}

.contact-cta-full-width .cta-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary, #2d3748);
  line-height: 1.3;
}

.contact-cta-full-width .cta-text {
  font-size: 1rem;
  color: var(--text-secondary, #718096);
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.contact-cta-full-width .btn-secondary {
  font-size: 1rem;
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text-primary, #2d3748);
  border: 2px solid var(--gold-warm, #DAA520);
  border-radius: 50px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact-cta-full-width .btn-secondary:hover {
  background: var(--gold-warm, #DAA520);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(218, 165, 32, 0.3);
}

/* ===================================
   CONTACT NOTIFICATIES
   =================================== */

.faute-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  max-width: 400px;
  z-index: 10000;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.faute-notification.show {
  opacity: 1;
  transform: translateX(0);
}

.notification-content {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border-radius: 12px;
}

.notification-message {
  flex: 1;
  font-weight: 600;
  line-height: 1.4;
  white-space: pre-line;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.notification-close:hover {
  opacity: 1;
}

/* Notification Types */
.faute-notification-success .notification-content {
  background: linear-gradient(135deg, #10B981, #059669);
  color: white;
}

.faute-notification-error .notification-content {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: white;
}

.faute-notification-warning .notification-content {
  background: linear-gradient(135deg, #F59E0B, #D97706);
  color: white;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .contact-simple-grid {
    max-width: 900px;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-section-simple {
    padding: 3rem 0;
  }
  
  .contact-simple-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 2rem auto 0;
  }
  
  .contact-quick,
  .contact-message-simple {
    padding: 2rem 1.5rem;
  }
  
  .contact-method-quick {
    padding: 1rem;
  }
  
  .contact-text strong {
    font-size: 0.9rem;
  }
  
  .contact-text span {
    font-size: 0.8rem;
  }
  
  .response-guarantee {
    padding: 0.875rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .contact-cta-full-width {
    grid-column: 1;
    margin-top: 1.5rem;
    padding: 1.5rem;
  }
  
  .contact-cta-full-width .cta-title {
    font-size: 1.1rem;
  }
  
  .contact-cta-full-width .cta-text {
    font-size: 0.9rem;
  }
  
  .faute-notification {
    top: 10px;
    right: 10px;
    left: 10px;
    max-width: none;
  }
  
  .notification-content {
    padding: 0.875rem 1.25rem;
  }
  
  .notification-message {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .contact-section-simple {
    padding: 2.5rem 0;
  }
  
  .contact-quick,
  .contact-message-simple {
    padding: 1.5rem 1rem;
  }
  
  .contact-quick h3,
  .contact-message-simple h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-method-quick {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    padding: 1rem 0.75rem;
  }
  
  .contact-text {
    align-items: center;
  }
  
  .response-guarantee {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
  
  .guarantee-icon {
    font-size: 1rem;
  }
  
  .contact-cta-full-width {
    padding: 1.25rem 1rem;
  }
  
  .contact-cta-full-width .cta-title {
    font-size: 0.9rem;
  }
  
  .contact-cta-full-width .cta-text {
    font-size: 0.85rem;
  }
  
  .faute-quick-message input,
  .faute-quick-message textarea {
    padding: 0.875rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .contact-quick,
  .contact-message-simple {
    padding: 1.25rem 0.75rem;
  }
  
  .contact-method-quick {
    padding: 0.875rem 0.5rem;
  }
  
  .response-guarantee {
    padding: 0.625rem 0.75rem;
  }
  
  .contact-cta-full-width {
    padding: 1rem 0.75rem;
  }
}

/* ACCESSIBILITY & PERFORMANCE */
@media (prefers-reduced-motion: reduce) {
  .contact-method-quick,
  .faute-quick-message input,
  .faute-quick-message textarea,
  .contact-cta-full-width .btn-secondary {
    transition: none;
  }
  
  .contact-method-quick:hover,
  .faute-quick-message input:focus,
.faute-quick-message textarea:focus {
  transform: translateY(0);
}

.faute-notification {
  transform: translateX(0);
}
}

/* PRINT STYLES */
@media print {
  .contact-section-simple {
    background: white !important;
    padding: 2rem 0 !important;
  }
  
  .contact-simple-grid {
    display: block !important;
  }
  
  .contact-quick,
  .contact-message-simple {
    background: white !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    margin-bottom: 2rem !important;
    page-break-inside: avoid;
  }
  
  .contact-method-quick {
    background: white !important;
    border: 1px solid #ddd !important;
  }
  
  .response-guarantee {
    background: #f0f0f0 !important;
    color: #333 !important;
  }
  
  .contact-cta-full-width {
    background: #f9f9f9 !important;
    border: 1px solid #ddd !important;
  }
  
  .faute-notification {
    display: none !important;
  }
}

/* HIGH CONTRAST MODE */
@media (prefers-contrast: high) {
  .contact-method-quick {
    border-width: 2px !important;
  }
  
  .contact-method-quick:hover {
    border-width: 3px !important;
  }
  
  .faute-quick-message input,
  .faute-quick-message textarea {
    border-width: 2px !important;
  }
  
  .faute-quick-message input:focus,
  .faute-quick-message textarea:focus {
    border-width: 3px !important;
  }
  
  .response-guarantee,
  .faute-quick-message .btn-primary {
    border: 2px solid #000 !important;
  }
}

/* DARK MODE SUPPORT */
@media (prefers-color-scheme: dark) {
  .contact-section-simple {
    background: var(--bg-primary-dark, #1a202c);
  }
  
  .contact-quick,
  .contact-message-simple {
    background: var(--bg-secondary-dark, #2d3748);
    border-color: var(--border-color-dark, #4a5568);
  }
  
  .contact-section-simple .section-header h2,
  .contact-quick h3,
  .contact-message-simple h3 {
    color: var(--text-primary-dark, #f7fafc);
  }
  
  .contact-section-simple .section-header p {
    color: var(--text-secondary-dark, #cbd5e0);
  }
  
  .contact-method-quick {
    background: var(--bg-primary-dark, #1a202c);
    border-color: var(--border-color-dark, #4a5568);
    color: var(--text-primary-dark, #f7fafc);
  }
  
  .faute-quick-message input,
  .faute-quick-message textarea {
    background: var(--bg-primary-dark, #1a202c);
    border-color: var(--border-color-dark, #4a5568);
    color: var(--text-primary-dark, #f7fafc);
  }
  
  .faute-quick-message input::placeholder,
  .faute-quick-message textarea::placeholder {
    color: var(--text-secondary-dark, #cbd5e0);
  }
  
  .contact-cta-full-width {
    background: linear-gradient(135deg, 
      rgba(218, 165, 32, 0.2) 0%, 
      rgba(212, 165, 165, 0.2) 100%
    );
    border-color: rgba(218, 165, 32, 0.3);
  }
  
  .contact-cta-full-width .cta-title {
    color: var(--text-primary-dark, #f7fafc);
  }
  
  .contact-cta-full-width .cta-text {
    color: var(--text-secondary-dark, #cbd5e0);
  }
  
  .contact-cta-full-width .btn-secondary {
    color: var(--text-primary-dark, #f7fafc);
  }
}

/* FOCUS VISIBLE SUPPORT */
.contact-method-quick:focus-visible,
.faute-quick-message input:focus-visible,
.faute-quick-message textarea:focus-visible,
.faute-quick-message .btn-primary:focus-visible,
.contact-cta-full-width .btn-secondary:focus-visible {
  outline: 3px solid var(--gold-bright, #FFD700);
  outline-offset: 2px;
}

/* LOADING STATE */
.faute-quick-message.loading .btn-primary {
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}

.faute-quick-message.loading .btn-primary::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  margin: auto;
  border: 2px solid transparent;
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* SUCCESS/ERROR STATES */
.form-group.success input,
.form-group.success textarea {
  border-color: #10B981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.form-group.error input,
.form-group.error textarea {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.form-error-message {
  color: #EF4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

.form-success-message {
  color: #10B981;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: block;
}

/* ANIMATION KEYFRAMES */
@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* UTILITY CLASSES */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.no-js .faute-notification {
  display: none !important;
}

/* ===================================
   SELECT DROPDOWN STYLING - MATCH INPUT FIELDS
   =================================== */

.faute-quick-message select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  background: var(--bg-primary, #ffffff);
  color: var(--text-primary, #2d3748);
  transition: all 0.3s ease;
  box-sizing: border-box;
  appearance: none; /* Verwijder standaard browser styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  
  /* Custom dropdown arrow */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 3rem; /* Ruimte voor arrow */
}

.faute-quick-message select:focus {
  outline: none;
  border-color: var(--gold-warm, #DAA520);
  box-shadow: 0 0 0 3px rgba(218, 165, 32, 0.1);
  transform: translateY(-2px);
  
  /* Verander arrow kleur bij focus */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DAA520' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

.faute-quick-message select:hover {
  border-color: var(--gold-warm, #DAA520);
  
  /* Verander arrow kleur bij hover */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DAA520' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

/* Select options styling */
.faute-quick-message select option {
  padding: 0.75rem;
  background: var(--bg-primary, #ffffff);
  color: var(--text-primary, #2d3748);
  font-family: 'Montserrat', Arial, sans-serif;
}

/* Disabled state */
.faute-quick-message select:disabled {
  background-color: var(--bg-secondary, #f7fafc);
  color: var(--text-secondary, #718096);
  cursor: not-allowed;
  opacity: 0.6;
}

/* Firefox specific fixes */
@-moz-document url-prefix() {
  .faute-quick-message select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23718096' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    text-indent: 0.01px;
    text-overflow: '';
  }
}

/* IE/Edge fallback */
.faute-quick-message select::-ms-expand {
  display: none;
}

/* ===================================
   TECHNISCHE PAGINA - TEXTAREA GROTER
   =================================== */

/* Specifiek voor technische pagina - grotere textarea */
.tech-contact-form .faute-quick-message textarea[name="tech_question"] {
  min-height: 150px; /* Verhoogd van standaard 100px */
  resize: vertical;
}

/* Alternatief: Als je alle textareas in tech formulieren groter wilt */
.tech-contact-form .faute-quick-message textarea {
  min-height: 150px;
  resize: vertical;
}

/* Voor responsive - behoud proportie op mobiel */
@media (max-width: 768px) {
  .tech-contact-form .faute-quick-message textarea[name="tech_question"] {
    min-height: 120px;
  }
}

@media (max-width: 480px) {
  .tech-contact-form .faute-quick-message textarea[name="tech_question"] {
    min-height: 90px;
  }
}


/* END OF CONTACTFORMS.CSS */

