/* ============================================================================
   İLETİŞİM SECTION CSS - HİZMETLER STYLE'INA GÖRE
   ============================================================================ */

/* Ana Bölüm */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-grid" width="25" height="25" patternUnits="userSpaceOnUse"><path d="M 25 0 L 0 0 0 25" fill="none" stroke="%23007bff" stroke-width="0.3" opacity="0.08"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-grid)"/></svg>');
  pointer-events: none;
}

.contact-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 80px 0;
}

/* Row yapısı */
.contact-section .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.contact-section .col-lg-12 {
  width: 100%;
  padding: 0 15px;
}

.contact-section .col-lg-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 0 15px;
  margin-bottom: 30px;
}

.contact-section .col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.contact-section .col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
}

/* Section Title */
.contact-section .section-title {
  margin-bottom: 60px;
}

.contact-section .section-title.text-center {
  text-align: center;
}

.contact-section .section-title .subtitle {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

.contact-section .section-title h2 {
  font-size: 42px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-section .section-title h2 span {
  background: linear-gradient(135deg, #007bff, #0056b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-section .section-title p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Form */
.contact-form {
  background: white;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 123, 255, 0.05);
  height: 100%;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.contact-form:hover::before {
  transform: scaleX(1);
}

.contact-form:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 123, 255, 0.15);
  border-color: rgba(0, 123, 255, 0.1);
}

/* Form Groups */
.form-group {
  margin-bottom: 25px;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 15px;
  color: #333;
  background: #f8f9fa;
  transition: all 0.3s ease;
  outline: none;
}

.form-control:focus {
  border-color: #007bff;
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

.form-control::placeholder {
  color: #999;
}

/* Select */
select.form-control {
  appearance: none;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23666"><path d="M7 10l5 5 5-5z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  cursor: pointer;
}

/* Textarea */
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox */
.form-check {
  margin-bottom: 25px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #007bff;
}

.form-check-label {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.form-check-label a {
  color: #007bff;
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}

/* Button */
.contact-form .btn {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 16px 40px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.contact-form .btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 123, 255, 0.4);
}

.contact-form .btn-primary {
  background: linear-gradient(135deg, #007bff, #0056b3);
}

/* Contact Info */
.contact-info {
  margin-bottom: 30px;
}

.contact-item {
  background: white;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 123, 255, 0.05);
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.contact-item:hover::before {
  transform: scaleX(1);
}

.contact-item:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(0, 123, 255, 0.15);
  border-color: rgba(0, 123, 255, 0.1);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.contact-item:hover .contact-icon {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.contact-icon i {
  font-size: 24px;
  color: white;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon i {
  transform: scale(1.1);
}

.contact-content h5 {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.contact-item:hover .contact-content h5 {
  color: #007bff;
}

.contact-content p {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

/* Appointment Box */
.appointment-box {
  background: linear-gradient(135deg, #25d366, #20c05b);
  color: white;
  padding: 30px 25px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.appointment-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.appointment-box:hover::before {
  opacity: 1;
}

.appointment-box:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 50px rgba(37, 211, 102, 0.4);
}

.appointment-box h4 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: white;
  line-height: 1.3;
}

.appointment-box p {
  font-size: 15px;
  line-height: 1.7;
  color: white;
  margin-bottom: 20px;
  opacity: 0.9;
}

.btn-whatsapp {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 15px 25px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-whatsapp:hover {
  background: white;
  color: #25d366;
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp i {
  font-size: 18px;
}

/* Map Container */
.map-container {
  margin-top: 50px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.map-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #0056b3);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
}

/* Icon specific colors */
.contact-item:nth-child(1) .contact-icon {
  background: linear-gradient(135deg, #dc3545, #c82333);
}

.contact-item:nth-child(2) .contact-icon {
  background: linear-gradient(135deg, #28a745, #20a03a);
}

.contact-item:nth-child(3) .contact-icon {
  background: linear-gradient(135deg, #17a2b8, #138496);
}

.contact-item:nth-child(4) .contact-icon {
  background: linear-gradient(135deg, #ffc107, #e0a800);
}

/* Form Animation */
.contact-form {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
  animation-delay: 0.1s;
}

.contact-item {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.contact-item:nth-child(1) {
  animation-delay: 0.2s;
}
.contact-item:nth-child(2) {
  animation-delay: 0.3s;
}
.contact-item:nth-child(3) {
  animation-delay: 0.4s;
}
.contact-item:nth-child(4) {
  animation-delay: 0.5s;
}

.appointment-box {
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(30px);
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Utility Classes */
.mt-5 {
  margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .contact-section .section-title h2 {
    font-size: 36px;
  }

  .contact-form {
    padding: 35px 25px;
  }

  .contact-item {
    padding: 25px 20px;
  }

  .appointment-box {
    padding: 25px 20px;
  }
}

@media (max-width: 992px) {
  .section-padding {
    padding: 60px 0;
  }

  .contact-section .col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .contact-section .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .contact-section .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .contact-section .section-title h2 {
    font-size: 32px;
  }

  .contact-form {
    padding: 30px 25px;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
  }

  .contact-icon i {
    font-size: 20px;
  }

  .contact-content h5 {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }

  .contact-section .container {
    padding: 0 15px;
  }

  .contact-section .section-title h2 {
    font-size: 28px;
  }

  .contact-section .section-title p {
    font-size: 16px;
  }

  .contact-form {
    padding: 30px 20px;
    margin-bottom: 20px;
  }

  .form-control {
    padding: 12px 15px;
    font-size: 14px;
  }

  .contact-form .btn {
    width: 100%;
    padding: 15px;
    font-size: 15px;
  }

  .contact-item {
    padding: 25px 20px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .contact-content h5 {
    font-size: 15px;
    margin-bottom: 6px;
  }

  .contact-content p {
    font-size: 14px;
  }

  .appointment-box {
    padding: 25px 20px;
  }

  .btn-whatsapp {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 14px;
  }

  .map-container iframe {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 40px 0;
  }

  .contact-section .section-title {
    margin-bottom: 40px;
  }

  .contact-section .section-title h2 {
    font-size: 24px;
  }

  .contact-section .section-title .subtitle {
    font-size: 12px;
    padding: 6px 15px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .contact-item {
    padding: 20px 15px;
  }

  .contact-icon {
    width: 45px;
    height: 45px;
  }

  .contact-icon i {
    font-size: 18px;
  }

  .contact-content h5 {
    font-size: 14px;
  }

  .contact-content p {
    font-size: 13px;
  }

  .appointment-box {
    padding: 20px 15px;
  }

  .appointment-box h4 {
    font-size: 20px;
  }

  .appointment-box p {
    font-size: 14px;
  }

  .map-container iframe {
    height: 250px;
  }
}
