/* Contact Section - Modern Professional Design */

/* Contact Section Styling */
.section.contact {
  background: linear-gradient(135deg, #0f1419 0%, #1a2332 25%, #2a4158 50%, #1e3c72 75%, #2a5298 100%);
  position: relative;
  overflow: hidden;
}

.section.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
      radial-gradient(circle at 20% 20%, rgba(0, 84, 166, 0.2) 0%, transparent 50%),
      radial-gradient(circle at 80% 80%, rgba(42, 82, 152, 0.1) 0%, transparent 50%),
      radial-gradient(circle at 40% 60%, rgba(30, 60, 114, 0.1) 0%, transparent 50%);
  animation: particleFloat 20s ease-in-out infinite;
  z-index: 1;
}

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

.section.contact .container {
  position: relative;
  z-index: 2;
}

.section.contact .section-header h2 {
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 50%, #bbdefb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section.contact .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* Ana Grid Layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

/* İletişim Bilgileri Kartı */
.contact-info-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), #003d7a);
}

.contact-info-card h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.contact-info-card > p {
  color: #4a5568;
  margin-bottom: 30px;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* İletişim Yöntemleri */
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f7fafc;
  border-radius: 12px;
}
.contact-method:hover {
  background: #ebf8ff;
  transform: translateY(-2px);
  border-left: 4px solid var(--primary);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h4 {
  color: #2d3748;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 1rem;
}

.contact-details p {
  color: #718096;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: #003d7a;
  text-decoration: underline;
}

/* Özel İletişim Yöntemi Stilleri */
.working-hours {
  background: linear-gradient(135deg, #f0f8ff, #e6f3ff);
}

.working-hours .contact-icon {
  background: linear-gradient(135deg, #38a169, #2d7a3d);
}

.response-time {
  background: linear-gradient(135deg, #fff5f5, #fed7d7);
}

.response-time .contact-icon {
  background: linear-gradient(135deg, #e53e3e, #c53030);
}
/* Hızlı Aksiyon Butonları */
.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 30px;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.quick-action-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.quick-action-btn:hover::before {
  left: 100%;
}

.whatsapp-btn {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  color: white;
  text-decoration: none;
}

.demo-btn {
  background: linear-gradient(135deg, var(--primary), #003d7a);
  color: white;
}

.demo-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 84, 166, 0.3);
  color: white;
  text-decoration: none;
}
/* İletişim Formu */
.contact-form-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0;
  position: relative;
  overflow: hidden;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, #25D366, #128C7E);
}

.contact-form-card h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #2d3748;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f7fafc;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(0, 84, 166, 0.1);
}

.form-control::placeholder {
  color: #a0aec0;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), #003d7a);
  color: white;
  padding: 18px;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 84, 166, 0.3);
}

/* Form Validation */
.form-control.error {
  border-color: #e53e3e;
  background: #fed7d7;
}

.form-control.success {
  border-color: #38a169;
  background: #f0fff4;
}
/* Responsive Design */
@media (max-width: 1024px) {
  .contact-grid {
    gap: 40px;
  }
  
  .contact-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 30px 20px;
  }

  .contact-method {
    padding: 15px;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
  }

  .contact-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .contact-feature-item {
    padding: 25px 15px;
  }

  .contact-feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .contact-info-card,
  .contact-form-card {
    padding: 20px 15px;
  }
  
  .contact-method {
    padding: 12px;
    gap: 12px;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .contact-features-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .contact-feature-item {
    padding: 20px 15px;
  }
  
  .contact-feature-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
}
/* Contact Features Grid */
.contact-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.contact-feature-item {
  text-align: center;
  padding: 35px;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(100, 181, 246, 0.1), rgba(13, 71, 161, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.contact-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  border-color: rgba(100, 181, 246, 0.6);
}

.contact-feature-item:hover::before {
  opacity: 1;
}

.contact-feature-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #2196f3, #0d47a1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.8rem;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.3);
}

.contact-feature-item:hover .contact-feature-icon {
  transform: scale(1.1);
  box-shadow: 0 12px 35px rgba(33, 150, 243, 0.4);
}

.contact-feature-item h4 {
  color: #64b5f6;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  z-index: 10;
}

.contact-feature-item p {
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
  position: relative;
  z-index: 10;
  font-weight: 500;
}

.contact-feature-item p {
  color: #718096;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
/* Success Message */
.success-message {
  background: #f0fff4;
  border: 1px solid #38a169;
  color: #2d7a3d;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: none;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Error Message */
.error-message {
  color: #e53e3e;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.form-group.error .error-message {
  display: block;
}
/* Contact Features Grid */
.contact-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 60px;
}

/* Responsive for contact features */
@media (max-width: 1024px) {
  .contact-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .contact-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .contact-features-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }
}

.contact-feature-item {
  background: white;
  padding: 30px 20px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-feature-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), #003d7a);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-feature-item:hover::before {
  transform: scaleX(1);
}

.contact-feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.contact-feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), #003d7a);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: white;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.contact-feature-item:hover .contact-feature-icon {
  transform: scale(1.1);
}

.contact-feature-item h4 {
  color: #2d3748;
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 1rem;
}

.contact-feature-item p {
  color: #718096;
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}

/* Language Toggle Styles (from document) */
.lang-toggle {
  text-align: center;
  margin-bottom: 30px;
}

.lang-btn {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: #003d7a;
}

.lang-btn.active {
  background: #38a169;
}

/* Hidden elements for language switching */
.hidden {
  display: none !important;
}