/* ============================================================
   DESTINASYON — Nova Tema (tdy-dst- / tdy-dd-)
   Light & Professional — blog.php / seokategori.php pattern
   ============================================================ */

@keyframes dstShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════
   LİSTE SAYFASI (destinasyon.php)
   ═══════════════════════════════════════════ */

.tdy-dst-page { background: var(--tdy-color-gray-50, #f1f4f5); padding-bottom: 3.5rem; }

/* Hero — light, blog.php stili */
.tdy-dst-hero-section {
  background: var(--tdy-color-gray-50, #f8fafc);
  border-bottom: 1px solid var(--tdy-color-gray-200, #e5e7eb);
  padding: 1.5rem 0 0;
}

.tdy-dst-bc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  color: var(--tdy-color-text-secondary, #6b7280);
  margin-bottom: 1.25rem;
}
.tdy-dst-bc a { color: var(--tdy-color-primary, #1f396a); text-decoration: none; font-weight: 500; }
.tdy-dst-bc a:hover { text-decoration: underline; }
.tdy-dst-bc i { font-size: 8px; color: var(--tdy-color-gray-400, #9ca3af); }

.tdy-dst-hero-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 1.5rem;
}

.tdy-dst-hero-label {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--tdy-color-cta, #f59e0b);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: .25rem;
}
.tdy-dst-hero-title {
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--tdy-color-primary, #1f396a);
  margin: 0 0 .3rem;
  letter-spacing: -.03em;
  line-height: 1.2;
}
.tdy-dst-hero-sub {
  font-size: .875rem;
  color: var(--tdy-color-text-secondary, #6b7280);
  margin: 0;
  max-width: 520px;
}

.tdy-dst-hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}
.tdy-dst-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.tdy-dst-stat-item strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--tdy-color-primary, #1f396a);
  line-height: 1;
}
.tdy-dst-stat-item span {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--tdy-color-text-secondary, #6b7280);
}

/* Grid */
.tdy-dst-grid-section { padding: 2rem 0; }

/* Card */
.tdy-dst-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--tdy-radius-xl, 16px);
  overflow: hidden;
  border: 1px solid var(--tdy-color-gray-100, #f3f4f6);
  box-shadow: var(--tdy-shadow-sm, 0 1px 3px rgba(0,0,0,.06));
  transition: box-shadow .28s ease, transform .28s ease;
  height: 100%;
}
.tdy-dst-card:hover {
  box-shadow: var(--tdy-shadow-lg, 0 10px 32px rgba(15,23,42,.12));
  transform: translateY(-4px);
  color: inherit;
  text-decoration: none;
}

.tdy-dst-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--tdy-color-gray-100, #f3f4f6);
}
.tdy-dst-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.tdy-dst-card:hover .tdy-dst-card-img img { transform: scale(1.06); }
.tdy-dst-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,42,.35) 0%, transparent 50%);
  pointer-events: none;
}

.tdy-dst-card-body { padding: 14px 16px 18px; }
.tdy-dst-card-title {
  font-size: .93rem;
  font-weight: 700;
  color: var(--tdy-color-primary, #1f396a);
  margin: 0 0 .4rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tdy-dst-card-desc {
  font-size: .8rem;
  color: var(--tdy-color-text-secondary, #6b7280);
  margin: 0 0 .85rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.55;
}
.tdy-dst-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  font-weight: 700;
  color: var(--tdy-color-cta, #f59e0b);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.tdy-dst-card-link i { font-size: 9px; transition: transform .2s; }
.tdy-dst-card:hover .tdy-dst-card-link i { transform: translateX(3px); }

/* Skeleton */
.tdy-dst-skel-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
}
.tdy-dst-skel-img {
  width: 100%;
  aspect-ratio: 16/9;
  background-image: linear-gradient(90deg, #f0f2f5 25%, #e4e7ec 50%, #f0f2f5 75%);
  background-size: 200% 100%;
  animation: dstShimmer 1.5s infinite;
}
.tdy-dst-skel-body { padding: 14px 16px 18px; }
.tdy-dst-skel-line {
  height: 11px;
  border-radius: 6px;
  background-image: linear-gradient(90deg, #f0f2f5 25%, #e4e7ec 50%, #f0f2f5 75%);
  background-size: 200% 100%;
  animation: dstShimmer 1.5s infinite;
}

@media (max-width: 767.98px) {
  .tdy-dst-hero-head { padding-bottom: 1.25rem; }
  .tdy-dst-hero-title { font-size: 1.35rem; }
  .tdy-dst-hero-stats { gap: 1rem; }
  .tdy-dst-stat-item strong { font-size: 1.1rem; }
  .tdy-dst-grid-section { padding: 1.25rem 0; }
}


/* ═══════════════════════════════════════════
   DETAY SAYFASI (destinasyon-detay.php)
   ═══════════════════════════════════════════ */

/* Hero — cinematic image, blog-detay.css pattern */
.tdy-dd-hero {
  position: relative;
  width: 100%;
  height: 480px;
  overflow: hidden;
  background: var(--tdy-color-gray-300, #d1d5db);
}
@media (max-width: 767.98px) { .tdy-dd-hero { height: 260px; } }

.tdy-dd-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tdy-dd-hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,10,25,.2) 0%,
    transparent 28%,
    transparent 42%,
    rgba(5,10,25,.7) 78%,
    rgba(5,10,25,.92) 100%
  );
  z-index: 1;
}
.tdy-dd-hero-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 0 2.25rem;
}
.tdy-dd-hero-bc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .8rem;
}
.tdy-dd-hero-bc a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.tdy-dd-hero-bc a:hover { color: #fff; }
.tdy-dd-hero-bc i { font-size: 7px; opacity: .5; }

.tdy-dd-hero-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: .6rem; }
.tdy-dd-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(245,158,11,.85);
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: #fff;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.tdy-dd-hero-tag:hover { background: var(--tdy-color-cta, #f59e0b); color: #fff; text-decoration: none; }

.tdy-dd-hero-title {
  font-size: clamp(1.4rem, 3.5vw, 2.25rem);
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 .75rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  letter-spacing: -.03em;
}
.tdy-dd-hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.tdy-dd-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  color: rgba(255,255,255,.7);
}
.tdy-dd-hero-meta-item i { font-size: 11px; opacity: .7; }
.tdy-dd-hero-meta-sep { color: rgba(255,255,255,.2); }

/* Page */
.tdy-dd-page { background: var(--tdy-color-gray-50, #f1f4f5); padding: 2rem 0 4rem; }

/* Article Card */
.tdy-dd-article-card {
  background: #fff;
  border-radius: var(--tdy-radius-xl, 16px);
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 12px rgba(0,0,0,.04);
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--tdy-color-gray-100, #f3f4f6);
}
@media (max-width: 575.98px) { .tdy-dd-article-card { padding: 1.1rem 1.25rem; } }

/* TOC */
.tdy-dd-toc {
  background: #f8fafc;
  border: 1px solid var(--tdy-color-gray-200, #e5e7eb);
  border-left: 3px solid var(--tdy-color-primary, #1f396a);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.tdy-dd-toc-title {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--tdy-color-primary, #1f396a);
  margin-bottom: .6rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.tdy-dd-toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.tdy-dd-toc-list li a {
  font-size: .82rem;
  color: #374151;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 3px 6px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.tdy-dd-toc-list li a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tdy-color-primary, #1f396a);
  flex-shrink: 0;
  opacity: .45;
}
.tdy-dd-toc-list li a:hover { background: rgba(31,57,106,.06); color: var(--tdy-color-primary, #1f396a); }
.tdy-dd-toc-list li.h3-item { padding-left: 1rem; }
.tdy-dd-toc-list li.h3-item a::before { opacity: .25; }

/* Article Body */
.tdy-dd-article-body h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--tdy-color-primary, #1f396a);
  margin: 1.75rem 0 .75rem;
  padding-bottom: .4rem;
  border-bottom: 1.5px solid var(--tdy-color-gray-100, #f3f4f6);
  letter-spacing: -.02em;
}
.tdy-dd-article-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tdy-color-primary, #1f396a);
  margin: 1.4rem 0 .55rem;
}
.tdy-dd-article-body h4 {
  font-size: .92rem;
  font-weight: 700;
  color: #374151;
  margin: 1.1rem 0 .45rem;
}
.tdy-dd-article-body p {
  font-size: .91rem;
  line-height: 1.75;
  color: #374151;
  margin: 0 0 .9rem;
}
.tdy-dd-article-body ul,
.tdy-dd-article-body ol { padding-left: 1.4rem; margin: 0 0 .9rem; }
.tdy-dd-article-body li {
  font-size: .89rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: .25rem;
}
.tdy-dd-article-body a { color: var(--tdy-color-primary, #1f396a); }
.tdy-dd-article-body a:hover { color: var(--tdy-color-cta, #f59e0b); }
.tdy-dd-article-body img { max-width: 100%; height: auto; border-radius: 10px; margin: .5rem 0 1rem; }
.tdy-dd-article-body blockquote {
  border-left: 3px solid var(--tdy-color-cta, #f59e0b);
  margin: 1rem 0;
  padding: .65rem 1.1rem;
  background: #fffbf0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #4b5563;
  font-size: .9rem;
}
.tdy-dd-article-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: .84rem;
  margin: .75rem 0 1.25rem;
  border-radius: 8px;
  overflow: hidden;
}
.tdy-dd-article-body table th {
  background: var(--tdy-color-primary, #1f396a);
  color: #fff;
  padding: 8px 12px;
  font-weight: 700;
  text-align: left;
  font-size: .82rem;
}
.tdy-dd-article-body table td { padding: 7px 12px; border-bottom: 1px solid #f3f4f6; }
.tdy-dd-article-body table tr:nth-child(even) td { background: #f8fafc; }

/* Section Head */
.tdy-dd-section-head {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.1rem;
}
.tdy-dd-section-head h2,
.tdy-dd-section-head h3 {
  font-size: .95rem;
  font-weight: 800;
  color: var(--tdy-color-primary, #1f396a);
  margin: 0;
  letter-spacing: -.015em;
  white-space: nowrap;
}
.tdy-dd-section-head-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(to right, var(--tdy-color-gray-200, #e5e7eb), transparent);
}

/* Blog Cards */
.tdy-dd-blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--tdy-color-gray-100, #f3f4f6);
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  transition: box-shadow .25s, transform .25s;
  height: 100%;
}
.tdy-dd-blog-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.09);
  transform: translateY(-3px);
  color: inherit;
  text-decoration: none;
}
.tdy-dd-blog-card-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.tdy-dd-blog-card-body { padding: 10px 12px 13px; }
.tdy-dd-blog-card-title {
  font-size: .83rem;
  font-weight: 700;
  color: var(--tdy-color-primary, #1f396a);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
  line-height: 1.4;
}

/* Gallery */
.tdy-dd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (max-width: 575.98px) { .tdy-dd-gallery-grid { grid-template-columns: repeat(2, 1fr); } }
.tdy-dd-gallery-item {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 10px;
  background: var(--tdy-color-gray-100, #f3f4f6);
  display: block;
}
.tdy-dd-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.tdy-dd-gallery-item:hover img { transform: scale(1.07); }
.tdy-dd-gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,10,25,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .25s;
}
.tdy-dd-gallery-item:hover .tdy-dd-gallery-item-overlay { opacity: 1; }
.tdy-dd-gallery-item-overlay i { color: #fff; font-size: 1.3rem; }

/* Map */
.tdy-dd-map-wrap { border-radius: 10px; overflow: hidden; border: 1px solid var(--tdy-color-gray-200, #e5e7eb); }

/* ── Sidebar ── */
.tdy-dd-sidebar { position: sticky; top: 76px; }
@media (max-width: 991.98px) { .tdy-dd-sidebar { position: static; } }

.tdy-dd-sidebar-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--tdy-color-gray-100, #f3f4f6);
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
  margin-bottom: 1rem;
  overflow: hidden;
}
.tdy-dd-sidebar-card-head {
  padding: 10px 14px;
  border-bottom: 1px solid var(--tdy-color-gray-100, #f3f4f6);
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--tdy-color-primary, #1f396a);
}
.tdy-dd-sidebar-card-head i { color: var(--tdy-color-cta, #f59e0b); font-size: 12px; }
.tdy-dd-sidebar-card-body { padding: .9rem 1rem; }

/* Facts list */
.tdy-dd-facts-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .6rem; }
.tdy-dd-facts-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .81rem;
  color: #374151;
}
.tdy-dd-facts-list li i {
  color: var(--tdy-color-primary, #1f396a);
  font-size: 11px;
  margin-top: 2px;
  flex-shrink: 0;
  width: 13px;
  text-align: center;
  opacity: .7;
}
.tdy-dd-facts-list li strong { color: var(--tdy-color-primary, #1f396a); font-weight: 700; }

/* Related */
.tdy-dd-related-dest-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--tdy-color-gray-50, #f9fafb);
  text-decoration: none;
  color: inherit;
}
.tdy-dd-related-dest-item:last-child { border-bottom: none; }
.tdy-dd-related-dest-img { width: 48px; height: 36px; object-fit: cover; border-radius: 7px; flex-shrink: 0; }
.tdy-dd-related-dest-name {
  font-size: .8rem;
  font-weight: 600;
  color: #374151;
  transition: color .2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}
.tdy-dd-related-dest-item:hover .tdy-dd-related-dest-name { color: var(--tdy-color-primary, #1f396a); }

/* CTA Card */
.tdy-dd-cta-card {
  background: linear-gradient(135deg, #1f396a 0%, #2d5499 100%);
  border-radius: 14px;
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1rem;
}
.tdy-dd-cta-card h4 { font-size: .9rem; font-weight: 800; color: #fff; margin: 0 0 .3rem; }
.tdy-dd-cta-card p { font-size: .76rem; color: rgba(255,255,255,.75); margin: 0 0 1rem; }
.tdy-dd-cta-btn {
  display: inline-block;
  background: var(--tdy-color-cta, #f59e0b);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 999px;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
}
.tdy-dd-cta-btn:hover { opacity: .9; transform: translateY(-1px); color: #fff; text-decoration: none; }

/* Newsletter */
.tdy-dd-newsletter input.form-control {
  font-size: .82rem;
  border-color: var(--tdy-color-gray-200, #e5e7eb);
  border-radius: 8px;
}
.tdy-dd-newsletter input.form-control:focus { border-color: var(--tdy-color-primary, #1f396a); box-shadow: 0 0 0 3px rgba(31,57,106,.1); }
.tdy-dd-newsletter .btn {
  background: var(--tdy-color-primary, #1f396a);
  border-color: var(--tdy-color-primary, #1f396a);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  border-radius: 8px;
  width: 100%;
}
.tdy-dd-newsletter .btn:hover { opacity: .9; }

/* Mobile */
@media (max-width: 767.98px) {
  .tdy-dd-article-card { padding: .9rem 1rem; margin-bottom: 1rem; }
  .tdy-dd-toc { padding: .85rem 1rem; }
  .tdy-dd-article-body h2 { font-size: 1.05rem; }
  .tdy-dd-article-body h3 { font-size: .93rem; }
  .tdy-dd-article-body p, .tdy-dd-article-body li { font-size: .86rem; }
}
