/* ============================================
   Turkey Travel Theme — Custom Styles
   Built on Bootstrap 5.3
   ============================================ */

/* ===== CSS Custom Properties ===== */
:root {
    --turkish-50: #fef2f2;
    --turkish-100: #fee2e2;
    --turkish-200: #fecaca;
    --turkish-300: #fca5a5;
    --turkish-400: #f87171;
    --turkish-500: #ef4444;
    --turkish-600: #e30a17;
    --turkish-700: #dc2626;
    --turkish-800: #b91c1c;
    --turkish-900: #991b1b;
    --turkish-950: #7f1d1d;

    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --gray-950: #030712;

    --font-sans: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-fast: 200ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease-out;
}

/* ===== Base Styles ===== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--gray-50);
    color: var(--gray-700);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.625;
}

::selection {
    background-color: rgba(227, 10, 23, 0.2);
    color: var(--gray-900);
}

a {
    color: var(--turkish-600);
    text-decoration: none;
    transition: color var(--transition-normal);
}

a:hover {
    color: var(--turkish-700);
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
    letter-spacing: -0.025em;
}

/* ===== Container Override (1440px content, always with side padding) ===== */
.container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 1400px) {
    .container,
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm {
        max-width: 1400px;
    }
}

/* ===== Section Spacing ===== */
.section-padding {
    padding: 2rem 0;
}

.section-padding-lg {
    padding: 3rem 0;
}

@media (min-width: 768px) {
    .section-padding {
        padding: 2.5rem 0;
    }
    .section-padding-lg {
        padding: 3.5rem 0;
    }
}

/* ===== Typography Utilities ===== */
.fw-extrabold {
    font-weight: 800 !important;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.text-balance {
    text-wrap: balance;
}

.leading-relaxed {
    line-height: 1.625;
}

.leading-tight {
    line-height: 1.2;
}

/* Font sizes */
.fs-7 { font-size: 0.875rem; } /* 14px */
.fs-8 { font-size: 0.75rem; }  /* 12px */
.fs-9 { font-size: 0.6875rem; } /* 11px */

/* Display headings for hero */
.display-hero {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .display-hero { font-size: 3.75rem; }
}

@media (min-width: 992px) {
    .display-hero { font-size: 4.5rem; }
}

/* ===== Color Utilities ===== */
.text-turkish         { color: var(--turkish-600) !important; }
.text-turkish-light   { color: var(--turkish-400) !important; }
.text-turkish-dark    { color: var(--turkish-800) !important; }
.text-gray-custom     { color: var(--gray-500) !important; }
.text-gray-400        { color: var(--gray-400) !important; }
.text-gray-300        { color: var(--gray-300) !important; }

.bg-turkish           { background-color: var(--turkish-600) !important; }
.bg-turkish-light     { background-color: var(--turkish-50) !important; }
.bg-turkish-100       { background-color: var(--turkish-100) !important; }
.bg-turkish-dark      { background-color: var(--turkish-900) !important; }
.bg-gray-50           { background-color: var(--gray-50) !important; }
.bg-gray-950          { background-color: var(--gray-950) !important; }

.border-turkish       { border-color: var(--turkish-600) !important; }
.border-turkish-light { border-color: var(--turkish-100) !important; }

/* ===== Line Clamp ===== */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== Aspect Ratios ===== */
.aspect-16-10 {
    aspect-ratio: 16 / 10;
}

.aspect-4-3 {
    aspect-ratio: 4 / 3;
}

.aspect-2-1 {
    aspect-ratio: 2 / 1;
}

/* ===== Page Header (Gradient Banner) ===== */
.page-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #991b1b 0%, #E30A17 50%, #b91c1c 100%);
    padding: 2.5rem 0;
    color: #fff;
}

@media (min-width: 768px) {
    .page-header {
        padding: 3.5rem 0;
    }
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 0%, rgba(255,255,255,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 100%, rgba(0,0,0,0.1) 0%, transparent 60%);
}

.page-header::after {
    display: none;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

/* Page header with background image */
.page-header-has-image {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .page-header-has-image {
        padding: 5rem 0;
    }
}

.page-header-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-header-has-image::before {
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 50%, rgba(0,0,0,0.55) 100%);
    z-index: 1;
}

.page-header-has-image h1,
.page-header-has-image p,
.page-header-has-image .section-label,
.page-header-has-image a {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.page-header-has-image .section-label {
    text-shadow: none;
}

/* ===== Section Headings ===== */
.section-heading {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    .section-heading {
        font-size: 2.25rem;
    }
}

.section-subheading {
    font-size: 1.125rem;
    color: var(--gray-500);
    margin-bottom: 2.5rem;
    max-width: 42rem;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    background-color: var(--turkish-50);
    color: var(--turkish-600);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    border: 1px solid var(--turkish-100);
}

.page-header .section-label {
    background-color: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}

/* ===== Cards ===== */
.tt-card {
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Ensure cards in columns have equal height */
.row > [class*="col-"] > .tt-card,
.row > [class*="col-"] > article.tt-card {
    height: 100%;
}

.tt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -12px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.03);
}

.tt-card .card-img-top {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.7s ease-out;
    flex-shrink: 0;
}

.tt-card:hover .card-img-top {
    transform: scale(1.08);
}

.tt-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-meta {
    font-size: 0.875rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

/* Author link styling */
a[href*="/author/"] {
    transition: color var(--transition-normal), opacity var(--transition-normal);
}

a[href*="/author/"]:hover {
    color: var(--turkish-600) !important;
    opacity: 0.9;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    letter-spacing: -0.025em;
    min-height: 2.8rem;
    display: flex;
    align-items: flex-start;
}

.card-title a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color var(--transition-normal);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title a:hover {
    color: var(--turkish-600);
}

.card-excerpt {
    color: var(--gray-500);
    font-size: 0.875rem;
    line-height: 1.625;
    margin-top: auto;
}

/* Card image placeholder */
.card-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
}

/* Floating tag on card image */
.floating-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    color: var(--gray-700);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Destination card text panel (contrast layer only behind text area) */
.destination-card-content {
    position: absolute;
    z-index: 2;
}

.destination-card-content::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: 0.75rem 0.75rem 0 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.74) 52%, rgba(0,0,0,0.28) 100%);
    backdrop-filter: blur(1.5px);
}

.destination-card-content > * {
    position: relative;
    z-index: 1;
}

.destination-card-content .text-white-50 {
    color: rgba(255, 255, 255, 0.92) !important;
}

/* ===== Badges ===== */
.tt-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    background-color: var(--turkish-50);
    color: var(--turkish-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid var(--turkish-100);
    text-decoration: none;
    transition: all var(--transition-normal);
}

.tt-badge:hover {
    background-color: var(--turkish-100);
    color: var(--turkish-700);
}

.tt-badge-destination {
    background-color: #fffbeb;
    color: #b45309;
    border-color: #fef3c7;
}

/* ===== Buttons ===== */
.btn-turkish {
    background: linear-gradient(135deg, var(--turkish-600), var(--turkish-700));
    color: #fff;
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 14px rgba(227, 10, 23, 0.25);
}

.btn-turkish:hover {
    background: linear-gradient(135deg, var(--turkish-700), var(--turkish-800));
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(227, 10, 23, 0.35);
}

.btn-turkish-outline {
    border: 2px solid var(--turkish-600);
    color: var(--turkish-600);
    background: transparent;
    padding: 0.75rem 1.75rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all var(--transition-normal);
}

.btn-turkish-outline:hover {
    background-color: var(--turkish-600);
    color: #fff;
}

.btn-ghost {
    color: var(--turkish-600);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-ghost:hover {
    background-color: var(--turkish-50);
    color: var(--turkish-700);
}

.btn-white-custom {
    background: #fff;
    color: var(--gray-900);
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    border: none;
}

.btn-white-custom:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: var(--gray-900);
}

/* ===== Header / Navbar ===== */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: all var(--transition-slow);
}

.header-inner {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    transition: all var(--transition-slow);
}

.header-inner.scrolled {
    background: rgba(255,255,255,0.95);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.navbar-brand-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.025em;
}

/* Nav link styling */
.tt-nav-link {
    color: var(--gray-600);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all var(--transition-normal);
    text-decoration: none;
    position: relative;
}

.tt-nav-link:hover {
    color: var(--turkish-600);
}

.tt-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--turkish-600);
    border-radius: 9999px;
    transition: all var(--transition-normal);
    transform: translateX(-50%);
}

.tt-nav-link:hover::after,
.tt-nav-link.active::after {
    width: 1.5rem;
}

.tt-nav-link.active {
    color: var(--turkish-600);
    font-weight: 700;
}

/* Desktop dropdown */
.tt-nav-dropdown {
    position: relative;
}

.tt-nav-dropdown .dropdown-menu {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scale(0.95);
    top: 100%;
    margin-top: 0.5rem;
    min-width: 14rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 20px 50px -12px rgba(0,0,0,0.15);
    border: 1px solid var(--gray-100);
    padding: 0.5rem 0;
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: all 200ms ease;
}

.tt-nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

.tt-nav-dropdown .dropdown-menu .dropdown-item {
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 400;
    transition: all 200ms ease;
    border-radius: 0;
}

.tt-nav-dropdown .dropdown-menu .dropdown-item:hover,
.tt-nav-dropdown .dropdown-menu .dropdown-item:focus {
    background-color: var(--turkish-50);
    color: var(--turkish-600);
}

.tt-nav-dropdown .dropdown-menu .dropdown-item.active {
    background-color: var(--turkish-50);
    color: var(--turkish-600);
    font-weight: 600;
}

.tt-nav-dropdown .dropdown-menu .dropdown-item.fw-semibold {
    color: var(--gray-700);
}

/* Logo icon */
.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, var(--turkish-500), var(--turkish-700));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(227, 10, 23, 0.2);
    transition: all var(--transition-normal);
}

.logo-icon:hover {
    box-shadow: 0 4px 14px rgba(227, 10, 23, 0.4);
    transform: scale(1.05);
}

/* Header spacer */
.header-spacer {
    height: 4rem;
}

/* Category archives: let hero image meet the fixed header (no white gap) */
body.category .header-spacer {
    height: 0;
}

body.category .page-header {
    padding-top: calc(1.5rem + 4rem);
    padding-bottom: 1.5rem;
}

@media (min-width: 768px) {
    body.category .page-header {
        padding-top: calc(2rem + 4rem);
        padding-bottom: 2rem;
    }
}

/* Tighten category archive spacing under header and above cards */
body.category .tt-breadcrumb {
    padding: 0.75rem 0;
}

body.category .section-padding.bg-gray-50 {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

body.category .tt-pagination {
    margin-top: 2rem;
}

@media (min-width: 768px) {
    body.category .section-padding.bg-gray-50 {
        padding-top: 2rem;
        padding-bottom: 4rem;
    }
}

/* Single destination content section: reduce vertical whitespace */
body.single-destination .section-padding.bg-gray-50 {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

@media (min-width: 768px) {
    body.single-destination .section-padding.bg-gray-50 {
        padding-top: 2rem;
        padding-bottom: 2.5rem;
    }
}

/* Contact + legal pages: reduce gap between top nav and breadcrumbs */
body.page-contact-us .page-header,
body.page-privacy-policy .page-header,
body.page-terms-and-conditions .page-header {
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}

@media (min-width: 768px) {
    body.page-contact-us .page-header,
    body.page-privacy-policy .page-header,
    body.page-terms-and-conditions .page-header {
        padding-top: 2rem;
        padding-bottom: 1.25rem;
    }
}

body.page-contact-us .section-padding.bg-gray-50,
body.page-privacy-policy .section-padding.bg-gray-50,
body.page-terms-and-conditions .section-padding.bg-gray-50 {
    padding-top: 0.75rem;
    padding-bottom: 2rem;
}

body.page-contact-us .tt-breadcrumb,
body.page-privacy-policy .tt-breadcrumb,
body.page-terms-and-conditions .tt-breadcrumb {
    padding-top: 0.25rem;
    padding-bottom: 0.5rem;
}

@media (min-width: 768px) {
    body.page-contact-us .section-padding.bg-gray-50,
    body.page-privacy-policy .section-padding.bg-gray-50,
    body.page-terms-and-conditions .section-padding.bg-gray-50 {
        padding-top: 1rem;
        padding-bottom: 2.5rem;
    }
    
    body.page-contact-us .tt-breadcrumb,
    body.page-privacy-policy .tt-breadcrumb,
    body.page-terms-and-conditions .tt-breadcrumb {
        padding-top: 0.5rem;
        padding-bottom: 0.75rem;
    }
}

/* Search overlay */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1060;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(4px);
    display: none;
}

.search-overlay.show {
    display: block;
}

.search-overlay .search-box {
    width: 100%;
    max-width: 42rem;
    margin: 20vh auto 0;
    background: #fff;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    animation: slideDown 0.3s ease-out;
}

.search-input {
    width: 100%;
    padding: 1rem 1.25rem 1rem 3.5rem;
    border-radius: 0.75rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    color: var(--gray-900);
    font-size: 1.125rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.search-input::placeholder {
    color: var(--gray-400);
}

.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 10, 23, 0.15);
    border-color: var(--turkish-500);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    top: 4rem;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    z-index: 1040;
    overflow-y: auto;
    display: none;
}

.mobile-menu.show {
    display: block;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    color: var(--gray-700);
    font-weight: 600;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    background-color: var(--turkish-50);
    color: var(--turkish-600);
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-500);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.mobile-submenu-link:hover,
.mobile-submenu-link.active {
    background-color: var(--turkish-50);
    color: var(--turkish-600);
    font-weight: 600;
}

/* Submenu arrow rotation */
.submenu-arrow {
    transition: transform var(--transition-normal);
}

.submenu-arrow.rotated {
    transform: rotate(180deg);
}

/* ===== Footer ===== */
.site-footer {
    background-color: var(--gray-950);
    position: relative;
    overflow: hidden;
}

.site-footer .footer-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: rgba(227, 10, 23, 0.1);
    border-radius: 50%;
    filter: blur(150px);
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: var(--gray-500);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-link:hover {
    color: #fff;
}

.footer-social {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all var(--transition-normal);
    text-decoration: none;
}

.footer-social:hover {
    background: var(--turkish-600);
    color: #fff;
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content-wrap {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
}

@media (min-width: 768px) {
    .hero-section {
        min-height: 72vh;
    }

    .hero-content-wrap {
        padding-top: 3.75rem;
        padding-bottom: 3.75rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gray-900), var(--turkish-900), var(--gray-900));
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="1"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
}

/* ===== Turkey Map — PNG + Pin Overlay ===== */
.hero-turkey-map {
    position: absolute;
    left: 75%;
    right: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 46%;
    max-width: 620px;
    z-index: 1;
    opacity: 0;
    animation: mapReveal 1.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

@keyframes mapReveal {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) translateX(30px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) translateX(0) scale(1);
    }
}

/* PNG map image */
.turkey-map-img {
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
    opacity: 0.15;
    user-select: none;
    -webkit-user-drag: none;
}

.hero-map-pointers {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    display: none;
}

.map-pointer {
    position: absolute;
    transform: translate(-50%, -100%);
}

.map-pointer-dot {
    position: relative;
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: #fff;
    border: 2px solid rgba(227, 10, 23, 0.95);
    box-shadow: 0 0 0 6px rgba(227, 10, 23, 0.18), 0 10px 20px rgba(0, 0, 0, 0.25);
    animation: mapPinPulse 2.2s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.map-pointer-dot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    width: 2px;
    height: 1.15rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0.95), rgba(255,255,255,0));
    transform: translateX(-50%);
}

.map-pointer-label {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 0.6rem);
    transform: translateX(-50%);
    white-space: nowrap;
    padding: 0.2rem 0.52rem;
    border-radius: 999px;
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(17, 24, 39, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(5px);
    animation: mapLabelFloat 3.2s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes mapPinPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(227, 10, 23, 0.2), 0 10px 20px rgba(0, 0, 0, 0.25);
    }
    50% {
        transform: scale(1.14);
        box-shadow: 0 0 0 10px rgba(227, 10, 23, 0.1), 0 12px 26px rgba(0, 0, 0, 0.35);
    }
}

@keyframes mapLabelFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-3px);
    }
}

/* Approximate destination placement on the Turkey hero map image */
.map-pointer-istanbul   { left: 16%; top: 34%; }
.map-pointer-ephesus    { left: 22%; top: 57%; }
.map-pointer-pamukkale  { left: 30%; top: 63%; }
.map-pointer-fethiye    { left: 34%; top: 74%; }
.map-pointer-antalya    { left: 44%; top: 78%; }
.map-pointer-cappadocia { left: 56%; top: 50%; }

/* ---- Responsive map sizing ---- */
@media (min-width: 992px) and (max-width: 1199px) {
    .hero-turkey-map {
        width: 40%;
        left: 73%;
        right: auto;
    }

    .map-pointer-label {
        font-size: 0.58rem;
        padding: 0.16rem 0.42rem;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .hero-turkey-map {
        width: 44%;
        left: 75%;
        right: auto;
    }
}

@media (min-width: 1400px) {
    .hero-turkey-map {
        width: 46%;
        left: 76%;
        right: auto;
    }
}

.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 2rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
}

@media (min-width: 768px) {
    .hero-stats { gap: 3rem; }
}

.hero-stats .stat-divider {
    width: 1px;
    height: 2.5rem;
    background: rgba(255,255,255,0.1);
}

.gradient-text {
    background: linear-gradient(135deg, var(--turkish-300), var(--turkish-400), #fbbf24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Pagination ===== */
.tt-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.tt-pagination a,
.tt-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all var(--transition-normal);
}

.tt-pagination a {
    color: var(--gray-500);
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.tt-pagination a:hover {
    background-color: var(--turkish-50);
    color: var(--turkish-600);
}

.tt-pagination .current {
    background: linear-gradient(135deg, var(--turkish-600), var(--turkish-700));
    color: #fff;
    box-shadow: 0 4px 14px rgba(227, 10, 23, 0.25);
}

/* ===== Entry Content (Prose) ===== */
.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: var(--gray-900);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.25rem; }

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content a {
    color: var(--turkish-600);
    font-weight: 600;
    text-decoration: none;
}

.entry-content a:hover {
    text-decoration: underline;
}

.entry-content img {
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.entry-content blockquote {
    border-left: 4px solid var(--turkish-500);
    background: rgba(254,242,242,0.5);
    border-radius: 0 1rem 1rem 0;
    padding: 1rem 1.5rem;
    font-style: normal;
    margin: 1.5rem 0;
}

.entry-content code {
    background: var(--gray-100);
    padding: 0.125rem 0.375rem;
    border-radius: 0.375rem;
    color: var(--turkish-700);
    font-size: 0.875em;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

/* Single post: related articles sidebar (thumbnail + title + meta cards) */
.single-related-sidebar {
    position: sticky;
    top: calc(4rem + 1rem);
}

.single-related-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.single-related-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.875rem;
    background: var(--gray-100);
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s ease, background 0.2s ease;
}

.single-related-card:hover {
    background: var(--gray-200);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.single-related-card-img-wrap {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--gray-200);
}

.single-related-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-related-card-img-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--gray-300);
}

.single-related-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.single-related-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.single-related-card:hover .single-related-card-title {
    color: var(--turkish-600);
}

.single-related-card-date {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 500;
    margin-top: 0.25rem;
}

@media (max-width: 991.98px) {
    .single-related-sidebar {
        position: static;
    }
}

/* ===== Category Card ===== */
.category-card {
    display: block;
    padding: 1.25rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--gray-100);
    text-align: center;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.category-card:hover {
    border-color: var(--turkish-200);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.category-card .icon-wrap {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.75rem;
    border-radius: 0.75rem;
    background: var(--turkish-50);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.category-card:hover .icon-wrap {
    background: var(--turkish-100);
    transform: scale(1.1);
}

.category-card .cat-name {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    transition: color var(--transition-normal);
}

.category-card:hover .cat-name {
    color: var(--turkish-600);
}

.category-card .cat-count {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* ===== Category Card — Image Variant ===== */
.category-card-img {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--gray-200);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
    min-height: 12.25rem;
}

.category-card-img::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--turkish-500), var(--turkish-300));
    z-index: 3;
}

.category-card-img:hover {
    transform: translateY(-3px);
    border-color: var(--turkish-200);
    box-shadow: 0 14px 30px -18px rgba(153, 27, 27, 0.45);
}

.category-card-bg {
    position: relative;
    display: block;
    width: calc(100% - 1.25rem);
    height: 7.25rem;
    margin: 0.625rem auto 0;
    border-radius: 0.75rem;
    object-fit: cover;
    transition: transform var(--transition-normal), filter var(--transition-normal);
}

.category-card-img:hover .category-card-bg {
    transform: scale(1.02);
    filter: saturate(1.08);
}

.category-card-img-overlay {
    display: none;
}

.category-card-img-content {
    position: relative;
    padding: 0.875rem 1rem 1rem;
    z-index: 2;
    background: #fff;
}

.category-card-img-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    letter-spacing: -0.015em;
    line-height: 1.3;
    transition: color var(--transition-normal);
}

.category-card-img:hover .category-card-img-name {
    color: var(--turkish-700);
}

.category-card-img-count {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ===== Dot separator ===== */
.dot-separator {
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 50%;
    background: var(--gray-300);
    display: inline-block;
}

/* ===== Newsletter/CTA section ===== */
.cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gray-900), var(--turkish-900), var(--gray-900));
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
}

.cta-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-weight: 500;
    backdrop-filter: blur(8px);
}

.cta-input::placeholder {
    color: rgba(255,255,255,0.3);
}

.cta-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.2);
}

/* ===== Comments ===== */
.comment-card {
    background: var(--gray-50);
    border-radius: 1rem;
    padding: 1.5rem;
}

.comment-card .comment-author {
    font-weight: 700;
    color: var(--gray-900);
    font-size: 0.875rem;
}

.comment-card .comment-date {
    font-size: 0.75rem;
    color: var(--gray-400);
    font-weight: 500;
}

.comment-card .comment-text {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.625;
}

.comment-reply-link {
    font-size: 0.875rem;
    color: var(--turkish-600);
    font-weight: 700;
}

.comment-reply-link:hover {
    color: var(--turkish-700);
}

/* ===== Form Inputs ===== */
.form-input-custom {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--gray-200);
    background: var(--gray-50);
    font-weight: 500;
    transition: all var(--transition-normal);
}

.form-input-custom:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 10, 23, 0.15);
    border-color: transparent;
}

/* ===== Breadcrumbs ===== */
.tt-breadcrumb {
    padding: 1.5rem 0;
    font-size: 0.875rem;
    color: var(--gray-400);
    font-weight: 500;
}

/* Single blog post: reduce gap between breadcrumb and article heading area */
body.single-post .tt-breadcrumb {
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
}

/* Single blog post: pull breadcrumbs closer to fixed top navigation */
body.single-post article > header.section-padding {
    padding-top: 0.5rem;
}

@media (min-width: 768px) {
    body.single-post article > header.section-padding {
        padding-top: 0.75rem;
    }
}

.tt-breadcrumb a {
    color: var(--gray-400);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.tt-breadcrumb a:hover {
    color: var(--turkish-600);
}

.tt-breadcrumb .active {
    color: var(--gray-900);
    font-weight: 700;
}

.breadcrumb-separator {
    color: var(--gray-300);
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out both;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out both;
}

.animate-slide-down {
    animation: slideDown 0.3s ease-out both;
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Utility Helpers ===== */
.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.5rem; height: 1.5rem; }
.icon-xl { width: 2.5rem; height: 2.5rem; }
.icon-2xl { width: 4rem; height: 4rem; }

.no-underline { text-decoration: none !important; }

/* Focus ring */
*:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(227, 10, 23, 0.3);
    border-radius: 0.25rem;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: var(--turkish-600);
    color: #fff;
    border-radius: 0.5rem;
}

.skip-link:focus {
    top: 1rem;
    color: #fff;
}

/* ===== Newsletter Feedback ===== */
.newsletter-msg {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.newsletter-msg--success {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.newsletter-msg--error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.cta-input.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* ===== Touch Target Sizing ===== */
.mobile-menu-link,
.mobile-submenu-link {
    min-height: 2.75rem; /* 44px */
}

.footer-social {
    min-width: 2.75rem;
    min-height: 2.75rem;
}

/* ===== Category Card Min Height (consistency in grid) ===== */
.category-card {
    min-height: 9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category-card-img {
    min-height: 12.25rem;
}

/* ===== Responsive Helpers ===== */
@media (max-width: 991.98px) {
    .hide-mobile { display: none !important; }
}

@media (min-width: 992px) {
    .hide-desktop { display: none !important; }
}
