/**
 * Tur Detay - Modern & Kullanıcı Dostu Tasarım
 * Sekmeler, kartlar, accordion ve form stilleri
 */

/* ========== Content Wrapper ========== */
.turdetay-modern .content-wrapper {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* ========== Modern Tab Navigation ========== */
.turdetay-modern .tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 12px 16px;
  background: #f8f9fc;
  border-bottom: 1px solid #e8ecf4;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.turdetay-modern .tab-nav .tablinks {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: transparent;
  color: #5a6c7d;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-decoration: none;
}

.turdetay-modern .tab-nav .tablinks i {
  font-size: 1.1em;
  opacity: 0.85;
}

.turdetay-modern .tab-nav .tablinks:hover {
  background: rgba(1, 163, 212, 0.08);
  color: #01a3d4;
}

.turdetay-modern .tab-nav .tablinks.active {
  background: #01a3d4;
  color: #fff;
  box-shadow: 0 4px 12px rgba(1, 163, 212, 0.35);
}

.turdetay-modern .tab-nav .tablinks.active i {
  opacity: 1;
}

/* ========== Tab Content ========== */
.turdetay-modern .tabcontent {
  display: none;
  padding: 28px 24px 32px;
  animation: tabFadeIn 0.35s ease;
}

.turdetay-modern .tabcontent.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== Program / İçerik Alanları ========== */
.turdetay-modern .fullwidth-horizon-sticky-section .heading-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 1rem;
  padding-bottom: 10px;
  border-bottom: 2px solid #01a3d4;
  display: inline-block;
}

/* ========== Tur Programı - Accordion ========== */
.turdetay-modern .itinerary-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.turdetay-modern ul.itinerary-list > li.itinerary-accordion-item {
  position: relative;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e8ecf4;
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.turdetay-modern ul.itinerary-list > li.itinerary-accordion-item:hover {
  border-color: #01a3d4;
  box-shadow: 0 4px 16px rgba(1, 163, 212, 0.12);
}

.turdetay-modern ul.itinerary-list > li.itinerary-accordion-item.open {
  border-color: #01a3d4;
  box-shadow: 0 4px 20px rgba(1, 163, 212, 0.15);
}

/* Accordion tetikleyici (tıklanabilir başlık) */
.turdetay-modern .itinerary-accordion-trigger {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.turdetay-modern .itinerary-accordion-trigger:hover {
  background: #f8fafb;
}

.turdetay-modern .itinerary-accordion-trigger:focus {
  background: #f0f7fa;
}

.turdetay-modern .itinerary-list .itinerary-accordion-trigger .itinerary-day {
  position: static;
  transform: none;
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 800;
  color: #01a3d4;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 56px;
  text-align: left;
}

.turdetay-modern .itinerary-accordion-trigger .itinerary-day span {
  display: inline-block;
}

.turdetay-modern .itinerary-accordion-trigger h6 {
  flex: 1;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #1a2332;
  line-height: 1.35;
  text-align: left;
  padding-right: 12px;
}

.turdetay-modern .itinerary-accordion-icon {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: #01a3d4;
  transition: transform 0.3s ease;
}

.turdetay-modern li.itinerary-accordion-item.open .itinerary-accordion-icon {
  transform: rotate(180deg);
}

/* Accordion içerik alanı */
.turdetay-modern .itinerary-accordion-content {
  border-top: 1px solid #e8ecf4;
  padding: 18px 20px 20px;
  background: #f8fafb;
}

.turdetay-modern .itinerary-accordion-content p,
.turdetay-modern .itinerary-accordion-content div {
  margin: 0 0 12px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #4a5568;
}

.turdetay-modern .itinerary-accordion-content p:last-child,
.turdetay-modern .itinerary-accordion-content > div:last-child {
  margin-bottom: 0;
}

/* ========== Sidebar - Booking Box (Kart) ========== */
.turdetay-modern .sidebar-wrapper .booking-box {
  border: none;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  margin-bottom: 24px;
  transition: box-shadow 0.3s ease;
}

.turdetay-modern .sidebar-wrapper .booking-box:hover {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.1);
}

.turdetay-modern .booking-box .box-heading {
  background: linear-gradient(135deg, #11254d 0%, #1a3562 100%);
  padding: 16px 20px;
  border-radius: 0;
}

.turdetay-modern .booking-box .box-heading h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.turdetay-modern .booking-box .box-content {
  padding: 22px 20px;
  background: #fff;
}

.turdetay-modern .booking-box .box-content .bordertype1,
.turdetay-modern .booking-box .box-content .bordertype2,
.turdetay-modern .booking-box .box-content .bordertype3 {
  border-bottom: 1px solid #e8ecf4;
  padding: 14px 0;
  color: #4a5568;
  text-align: left;
  transition: background 0.2s ease;
}

.turdetay-modern .booking-box .box-content .bordertype3:last-of-type {
  border-bottom: none;
}

.turdetay-modern .booking-box .box-content .skin-color.bold {
  color: #01a3d4 !important;
  font-size: 0.9rem !important;
}

.turdetay-modern .booking-box .box-content .skin-color.bold i {
  margin-right: 8px;
  opacity: 0.9;
}

/* Sizi Arayalım Butonu */
.turdetay-modern .booknow {
  width: 100%;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  background: linear-gradient(135deg, #01a3d4 0%, #0284b5 100%);
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(1, 163, 212, 0.4);
  transition: all 0.25s ease;
  text-align: center;
  display: block;
  text-decoration: none;
}

.turdetay-modern .booknow:hover {
  background: linear-gradient(135deg, #0284b5 0%, #016a94 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 163, 212, 0.45);
  color: #fff !important;
}

/* Dahil / Dahil Değil Listeleri */
.turdetay-modern .dahil ul,
.turdetay-modern .dahildegil ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.turdetay-modern .dahil ul li,
.turdetay-modern .dahildegil ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: #4a5568;
  line-height: 1.5;
}

.turdetay-modern .dahil ul li:before {
  position: absolute;
  left: 0;
  color: #22c55e;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f00c";
}

.turdetay-modern .dahildegil ul li:before {
  position: absolute;
  left: 0;
  color: #01a3d4;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f00d";
}

/* ========== Ek Bilgiler - Accordion ========== */
.turdetay-modern .hide-show-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 20px;
  margin-bottom: 0;
  background: #f8f9fc;
  border: 1px solid #e8ecf4;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: #1a2332;
  transition: all 0.25s ease;
  user-select: none;
}

.turdetay-modern .hide-show-area + .hide-show-area {
  margin-top: 10px;
}

.turdetay-modern .hide-show-area:hover {
  background: #eef4f8;
  border-color: #01a3d4;
  color: #01a3d4;
}

.turdetay-modern .hide-show-area i {
  font-size: 0.85rem;
  transition: transform 0.3s ease;
  margin-left: 10px;
}

.turdetay-modern .hide-show-area.open i.fa-plus {
  transform: rotate(180deg);
}

.turdetay-modern .hide-area {
  display: none;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e8ecf4;
  border-top: none;
  border-radius: 0 0 10px 10px;
  margin-top: -10px;
  margin-bottom: 14px;
  color: #4a5568;
  line-height: 1.65;
}

.turdetay-modern .hide-area.active {
  display: block;
  animation: accordionSlide 0.3s ease;
}

@keyframes accordionSlide {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Accordion başlık grubu - ilk başlığa üst border-radius */
.turdetay-modern #ekbilgiler .hide-show-area:first-of-type {
  border-radius: 10px 10px 0 0;
}

/* ========== Yorumlar Form ========== */
.turdetay-modern #yorumlar .form-group {
  margin-bottom: 20px;
}

.turdetay-modern #yorumlar label {
  font-weight: 600;
  color: #1a2332;
  margin-bottom: 8px;
  display: block;
}

.turdetay-modern #yorumlar .form-control {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.turdetay-modern #yorumlar .form-control:focus {
  border-color: #01a3d4;
  box-shadow: 0 0 0 3px rgba(1, 163, 212, 0.15);
  outline: none;
}

.turdetay-modern #yorumlar textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.turdetay-modern #yorumlar .btn-success {
  padding: 12px 28px;
  border-radius: 10px;
  font-weight: 600;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border: none;
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
  transition: all 0.25s ease;
}

.turdetay-modern #yorumlar .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34, 197, 94, 0.4);
}

/* ========== Fiyatlar Tablosu ========== */
.turdetay-modern #fiyatlar .itinerary-list {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e8ecf4;
}

.turdetay-modern #fiyatlar .itinerary-list td,
.turdetay-modern #fiyatlar .itinerary-list th {
  padding: 14px 18px;
  border: 1px solid #e8ecf4;
}

.turdetay-modern #fiyatlar .itinerary-list tr:nth-child(even) {
  background: #f8fafb;
}

.turdetay-modern #fiyatlar .itinerary-list tr:hover {
  background: rgba(1, 163, 212, 0.06);
}

.turdetay-modern #fiyatlar .itinerary-list .turfiyatbaslik {
  background: linear-gradient(135deg, #01a3d4 0%, #0284b5 100%);
  color: #fff;
  font-weight: 700;
}

/* ========== Benzer Turlar ========== */
.turdetay-modern .fullwidth-horizon-sticky-section:last-of-type .heading-title {
  margin-bottom: 1.25rem;
}

/* ========== Responsive ========== */
@media (max-width: 991px) {
  .turdetay-modern .tab-nav {
    padding: 10px 12px;
  }

  .turdetay-modern .tab-nav .tablinks {
    padding: 10px 14px;
    font-size: 13px;
  }

  .turdetay-modern .tabcontent {
    padding: 20px 16px 24px;
  }

  .turdetay-modern .sidebar-wrapper .booking-box .box-content {
    padding: 18px 16px;
  }
}

@media (max-width: 768px) {
  .turdetay-modern .tab-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 8px;
  }

  .turdetay-modern .tab-nav .tablinks {
    flex: 0 0 auto;
    padding: 10px 16px;
  }

  .turdetay-modern .content-wrapper {
    border-radius: 12px;
  }

  /* Tur programı accordion - mobil */
  .turdetay-modern .itinerary-accordion-trigger {
    padding: 14px 16px;
    gap: 10px;
    min-height: 48px;
  }

  .turdetay-modern .itinerary-accordion-trigger .itinerary-day {
    min-width: 48px;
    font-size: 0.75rem;
  }

  .turdetay-modern .itinerary-accordion-trigger h6 {
    font-size: 0.95rem;
    padding-right: 8px;
  }

  .turdetay-modern .itinerary-accordion-content {
    padding: 14px 16px 18px;
  }

  .turdetay-modern .itinerary-accordion-content p,
  .turdetay-modern .itinerary-accordion-content div {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .turdetay-modern .tab-nav .tablinks span.tab-label {
    display: none;
  }

  .turdetay-modern .tab-nav .tablinks {
    padding: 12px 14px;
  }

  .turdetay-modern .tab-nav .tablinks i {
    margin: 0;
  }
}
