/* ============================================================================
   RANDEVU SECTION CSS - HİZMETLER STYLE'INA GÖRE
   ============================================================================ */

/* Ana Bölüm */
.appointment-section {
  position: relative;
  overflow: hidden;
}

.appointment-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.appointment-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="appointment-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(%23appointment-grid)"/></svg>');
  pointer-events: none;
}

.appointment-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.section-padding {
  padding: 80px 0;
}

/* Row yapısı */
.appointment-section .row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.appointment-section .col-lg-12 {
  width: 100%;
  padding: 0 15px;
}

.appointment-section .col-lg-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
  padding: 0 15px;
}

.appointment-section .col-lg-6 {
  flex: 0 0 50%;
  max-width: 50%;
  padding: 0 15px;
}

.appointment-section .col-lg-4 {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 15px;
}

/* Section Title */
.appointment-section .section-title {
  margin-bottom: 60px;
}

.appointment-section .section-title.text-center {
  text-align: center;
}

.appointment-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);
}

.appointment-section .section-title h2 {
  font-size: 42px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.appointment-section .section-title h2 span {
  background: linear-gradient(135deg, #007bff, #0056b3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.appointment-section .section-title p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}

/* Appointment Form */
.appointment-form {
  background: white;
  padding: 40px 35px;
  border-radius: 20px;
  box-shadow: 0 15px 40px 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: 30px;
}

.appointment-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;
}

.appointment-form:hover::before {
  transform: scaleX(1);
}

.appointment-form:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 123, 255, 0.12);
  border-color: rgba(0, 123, 255, 0.1);
}

/* Form Header */
.form-header {
  margin-bottom: 35px;
  text-align: center;
  padding-bottom: 25px;
  border-bottom: 2px solid #f8f9fa;
}

.form-header h3 {
  font-size: 28px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.form-header p {
  font-size: 15px;
  color: #666;
  margin: 0;
}

/* Form Groups */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 8px;
  line-height: 1.4;
}

.required {
  color: #dc3545;
  font-weight: 700;
}

.form-control {
  width: 100%;
  padding: 15px 18px;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  font-size: 15px;
  color: #333;
  background: #f8f9fa;
  transition: all 0.3s ease;
  outline: none;
  font-family: inherit;
}

.form-control:focus {
  border-color: #007bff;
  background: white;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
  transform: translateY(-2px);
}

.form-control::placeholder {
  color: #999;
  font-weight: 400;
}

/* Select Dropdown */
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;
}

select.form-control:focus {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"><path d="M7 10l5 5 5-5z"/></svg>');
}

/* Textarea */
textarea.form-control {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

/* Form Divider */
.form-divider {
  margin: 40px 0 30px;
  text-align: center;
  position: relative;
}

.form-divider h4 {
  font-size: 20px;
  font-weight: 700;
  color: #2c3e50;
  background: white;
  padding: 0 20px;
  margin: 0;
  display: inline-block;
  position: relative;
  z-index: 2;
}

.form-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #007bff, transparent);
  z-index: 1;
}

/* Form Agreements */
.form-agreements {
  background: rgba(0, 123, 255, 0.03);
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(0, 123, 255, 0.08);
  margin-bottom: 30px;
}

.form-check {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.form-check:last-child {
  margin-bottom: 0;
}

.form-check-input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #007bff;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}

.form-check-label {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  cursor: pointer;
}

.form-check-label a {
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
}

.form-check-label a:hover {
  text-decoration: underline;
}

/* Submit Button */
.btn-appointment {
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: white;
  padding: 18px 40px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-appointment::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;
}

.btn-appointment:hover::before {
  left: 100%;
}

.btn-appointment:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 123, 255, 0.4);
}

.btn-appointment i {
  font-size: 18px;
}

/* Sidebar */
.appointment-sidebar {
  position: sticky;
  top: 20px;
}

/* Info Card */
.info-card {
  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: 25px;
}

.info-card::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;
}

.info-card:hover::before {
  transform: scaleX(1);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 123, 255, 0.12);
  border-color: rgba(0, 123, 255, 0.1);
}

/* Card Header */
.card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f8f9fa;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.info-card:hover .card-icon {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}

.card-icon i {
  font-size: 20px;
  color: white;
}

.card-header h4 {
  font-size: 18px;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  transition: color 0.3s ease;
}

.info-card:hover .card-header h4 {
  color: #007bff;
}

/* Card Body */
.card-body {
  /* Temel stil */
}

/* Schedule Items */
.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-item .day {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
}

.schedule-item .time {
  font-size: 14px;
  color: #007bff;
  font-weight: 600;
}

/* Contact Items */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  padding: 8px 0;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item i {
  width: 18px;
  color: #007bff;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info .label {
  font-size: 12px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
}

.contact-info .value {
  font-size: 14px;
  color: #2c3e50;
  font-weight: 600;
  line-height: 1.4;
}

/* WhatsApp Card */
.whatsapp-card {
  background: linear-gradient(135deg, #25d366, #20c05b);
  color: white;
  border-color: transparent;
}

.whatsapp-card .card-header {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.whatsapp-card .card-icon {
  background: rgba(255, 255, 255, 0.2);
}

.whatsapp-card .card-header h4 {
  color: white;
}

.whatsapp-card .card-body p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  margin-bottom: 20px;
}

.btn-whatsapp {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-whatsapp:hover {
  background: white;
  color: #25d366;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp i {
  font-size: 16px;
}

/* Info List */
.info-list {
  /* Temel stil */
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px 0;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-item i {
  width: 16px;
  color: #28a745;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item span {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

/* Form Animation */
.appointment-form {
  animation: fadeInLeft 0.8s ease forwards;
  opacity: 0;
  transform: translateX(-30px);
}

.info-card {
  animation: fadeInRight 0.8s ease forwards;
  opacity: 0;
  transform: translateX(30px);
}

.info-card:nth-child(1) {
  animation-delay: 0.1s;
}
.info-card:nth-child(2) {
  animation-delay: 0.2s;
}
.info-card:nth-child(3) {
  animation-delay: 0.3s;
}
.info-card:nth-child(4) {
  animation-delay: 0.4s;
}

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Responsive Design */
@media (max-width: 1200px) {
  .appointment-section .section-title h2 {
    font-size: 36px;
  }

  .appointment-form {
    padding: 35px 30px;
  }

  .info-card {
    padding: 25px 20px;
  }
}

@media (max-width: 992px) {
  .section-padding {
    padding: 60px 0;
  }

  .appointment-section .col-lg-8,
  .appointment-section .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .appointment-section .col-lg-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .appointment-section .section-title h2 {
    font-size: 32px;
  }

  .appointment-sidebar {
    position: static;
    margin-top: 30px;
  }

  .appointment-sidebar .row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
  }

  .appointment-sidebar .info-card {
    flex: 0 0 calc(50% - 20px);
    margin: 0 10px 20px;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 50px 0;
  }

  .appointment-section .container {
    padding: 0 15px;
  }

  .appointment-section .section-title h2 {
    font-size: 28px;
  }

  .appointment-section .section-title p {
    font-size: 16px;
  }

  .appointment-form {
    padding: 30px 25px;
  }

  .form-header h3 {
    font-size: 24px;
  }

  .form-header p {
    font-size: 14px;
  }

  .form-control {
    padding: 12px 15px;
    font-size: 14px;
  }

  .form-divider h4 {
    font-size: 18px;
  }

  .btn-appointment {
    padding: 16px 30px;
    font-size: 15px;
  }

  .appointment-sidebar .info-card {
    flex: 0 0 100%;
    margin: 0 0 20px;
  }

  .card-header h4 {
    font-size: 16px;
  }

  .card-icon {
    width: 45px;
    height: 45px;
  }

  .card-icon i {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  .section-padding {
    padding: 40px 0;
  }

  .appointment-section .section-title {
    margin-bottom: 40px;
  }

  .appointment-section .section-title h2 {
    font-size: 24px;
  }

  .appointment-section .section-title .subtitle {
    font-size: 12px;
    padding: 6px 15px;
  }

  .appointment-form {
    padding: 25px 20px;
  }

  .form-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
  }

  .form-header h3 {
    font-size: 22px;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-group label {
    font-size: 13px;
    margin-bottom: 6px;
  }

  .form-control {
    padding: 12px 15px;
    border-radius: 8px;
  }

  .form-divider {
    margin: 30px 0 25px;
  }

  .form-divider h4 {
    font-size: 16px;
    padding: 0 15px;
  }

  .form-agreements {
    padding: 20px 15px;
  }

  .form-check-label {
    font-size: 13px;
  }

  .btn-appointment {
    padding: 15px 25px;
    font-size: 14px;
    border-radius: 25px;
  }

  .info-card {
    padding: 20px 15px;
    margin-bottom: 15px;
  }

  .card-header {
    margin-bottom: 15px;
    padding-bottom: 12px;
  }

  .card-header h4 {
    font-size: 15px;
  }

  .card-icon {
    width: 40px;
    height: 40px;
  }

  .card-icon i {
    font-size: 16px;
  }

  .schedule-item .day,
  .schedule-item .time {
    font-size: 13px;
  }

  .contact-info .value {
    font-size: 13px;
  }

  .btn-whatsapp {
    padding: 10px 15px;
    font-size: 13px;
  }

  .info-item span {
    font-size: 13px;
  }
}

/* Form Validation States */
.form-control.is-valid {
  border-color: #28a745;
  background: #f8fff9;
}

.form-control.is-invalid {
  border-color: #dc3545;
  background: #fff8f8;
}

.form-control.is-valid:focus {
  box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1);
}

.form-control.is-invalid:focus {
  box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

/* Loading State */
.btn-appointment.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn-appointment.loading::after {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 10px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
