/* ================================================
   TurkVillam - Villa Kiralama Sitesi
   Renk Paleti: Mavi tonları
   ================================================ */

:root {
    --tv-primary: #0369a1;
    --tv-primary-dark: #075985;
    --tv-primary-light: #0ea5e9;
    --tv-primary-50: #f0f9ff;
    --tv-primary-100: #e0f2fe;
    --tv-primary-200: #bae6fd;
    --tv-secondary: #1e293b;
    --tv-text: #1e293b;
    --tv-text-light: #64748b;
    --tv-text-lighter: #94a3b8;
    --tv-bg: #f8fafc;
    --tv-white: #ffffff;
    --tv-border: #e2e8f0;
    --tv-border-light: #f1f5f9;
    --tv-success: #10b981;
    --tv-warning: #f59e0b;
    --tv-danger: #ef4444;
    --tv-whatsapp: #25d366;
    --tv-whatsapp-dark: #128c7e;
    --tv-shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --tv-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --tv-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --tv-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --tv-shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --tv-radius: 12px;
    --tv-radius-sm: 8px;
    --tv-radius-lg: 16px;
    --tv-transition: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }

body.turk-villam {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--tv-text);
    background: var(--tv-bg);
    margin: 0;
    padding: 0;
}

a { color: inherit; }

.tv-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================
   HEADER
   ================================================ */

.tv-header {
    background: var(--tv-white);
    border-bottom: 1px solid var(--tv-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--tv-shadow-sm);
}

.tv-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
    gap: 24px;
}

.tv-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.tv-header__logo-icon {
    color: var(--tv-primary);
}

.tv-header__logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.tv-header__brand {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--tv-primary);
    letter-spacing: -0.5px;
}

.tv-header__nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tv-header__link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--tv-text);
    text-decoration: none;
    border-radius: var(--tv-radius-sm);
    transition: all var(--tv-transition);
}

.tv-header__link:hover {
    background: var(--tv-primary-50);
    color: var(--tv-primary);
}

.tv-header__link--active {
    color: var(--tv-primary);
    font-weight: 600;
}

.tv-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tv-header__phone {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--tv-primary-50);
    color: var(--tv-primary);
    text-decoration: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--tv-transition);
}

.tv-header__phone:hover {
    background: var(--tv-primary);
    color: #fff;
}

.tv-header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.tv-header__hamburger span {
    width: 24px;
    height: 2px;
    background: var(--tv-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.tv-header__hamburger--open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.tv-header__hamburger--open span:nth-child(2) {
    opacity: 0;
}
.tv-header__hamburger--open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.tv-mobile-menu {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--tv-white);
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
}

.tv-mobile-menu--open {
    display: block;
}

.tv-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tv-mobile-menu__nav a {
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--tv-text);
    text-decoration: none;
    border-radius: var(--tv-radius-sm);
    transition: background var(--tv-transition);
}

.tv-mobile-menu__nav a:hover {
    background: var(--tv-primary-50);
}

.tv-mobile-menu__phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--tv-primary) !important;
    font-weight: 600 !important;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--tv-border);
}

/* ================================================
   FOOTER
   ================================================ */

.tv-footer {
    background: var(--tv-secondary);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
    margin-top: 80px;
}

.tv-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.tv-footer__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.tv-footer__brand svg {
    color: var(--tv-primary-light);
}

.tv-footer__desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: rgba(255,255,255,0.6);
}

.tv-footer__col h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 16px;
}

.tv-footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tv-footer__col ul li {
    margin-bottom: 10px;
}

.tv-footer__col ul a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--tv-transition);
}

.tv-footer__col ul a:hover {
    color: #fff;
}

.tv-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
}

.tv-footer__bottom p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

@media (max-width: 900px) {
    .tv-header__nav,
    .tv-header__actions {
        display: none;
    }
    .tv-header__hamburger {
        display: flex;
    }
    .tv-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .tv-footer__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ================================================
   HERO SECTION
   ================================================ */

/* hero placeholder: inline style ile front-page.php içinde tanımlı */

.tv-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 60px 24px 80px;
    width: 100%;
    max-width: 1100px;
}

.tv-hero__title {
    color: var(--tv-text);
    font-size: 2.75rem;
    font-weight: 800;
    margin: 0 0 16px;
    letter-spacing: -0.5px;
}

.tv-hero__subtitle {
    color: var(--tv-text-light);
    font-size: 1.15rem;
    margin: 0 0 40px;
    font-weight: 400;
}

/* ================================================
   SEARCH BOX
   ================================================ */

.tv-search-box {
    background: var(--tv-white);
    border-radius: var(--tv-radius-lg);
    box-shadow: var(--tv-shadow-xl);
    padding: 8px;
    max-width: 1000px;
    margin: 0 auto;
}

.tv-search-box__form {
    display: flex;
    align-items: stretch;
    gap: 4px;
}

.tv-search-box__field {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--tv-radius);
    transition: background var(--tv-transition);
}

.tv-search-box__field:hover {
    background: var(--tv-primary-50);
}

.tv-search-box__field label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tv-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.tv-search-box__field label svg {
    color: var(--tv-primary);
}

.tv-search-box__field select,
.tv-search-box__field input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--tv-text);
    padding: 4px 0;
    outline: none;
    cursor: pointer;
}

.tv-search-box__field select {
    -webkit-appearance: none;
    appearance: none;
}

.tv-search-box__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--tv-primary);
    color: #fff;
    border: none;
    border-radius: var(--tv-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--tv-transition);
}

.tv-search-box__btn:hover {
    background: var(--tv-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--tv-shadow-md);
}

/* ================================================
   LISTING LAYOUT
   ================================================ */

.tv-main {
    padding: 40px 0 80px;
}

.tv-listing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tv-border);
}

.tv-listing-header h1,
.tv-listing-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--tv-text);
}

.tv-listing-header__count {
    color: var(--tv-text-light);
    font-size: 0.9rem;
    margin-left: 12px;
}

.tv-listing-header__sort select {
    padding: 8px 16px;
    border: 1px solid var(--tv-border);
    border-radius: var(--tv-radius-sm);
    background: var(--tv-white);
    font-size: 0.9rem;
    color: var(--tv-text);
    cursor: pointer;
    outline: none;
}

.tv-listing-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: start;
}

/* ================================================
   SIDEBAR FILTERS
   ================================================ */

.tv-sidebar {
    background: var(--tv-white);
    border-radius: var(--tv-radius);
    box-shadow: var(--tv-shadow);
    padding: 24px;
    position: sticky;
    top: 24px;
}

.tv-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--tv-border);
}

.tv-sidebar__header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.tv-sidebar__clear {
    background: none;
    border: none;
    color: var(--tv-primary);
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 500;
}

.tv-sidebar__clear:hover { text-decoration: underline; }

.tv-filter-group {
    margin-bottom: 24px;
}

.tv-filter-group__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tv-text);
    margin: 0 0 12px;
}

.tv-filter-group__title svg {
    color: var(--tv-primary);
}

.tv-filter-group__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Checkbox / Radio */
.tv-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background var(--tv-transition);
    font-size: 0.9rem;
}

.tv-checkbox:hover { background: var(--tv-primary-50); }

.tv-checkbox input { display: none; }

.tv-checkbox__mark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--tv-border);
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    transition: all var(--tv-transition);
}

.tv-checkbox input[type="radio"] + .tv-checkbox__mark {
    border-radius: 50%;
}

.tv-checkbox input:checked + .tv-checkbox__mark {
    background: var(--tv-primary);
    border-color: var(--tv-primary);
}

.tv-checkbox input:checked + .tv-checkbox__mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
}

.tv-checkbox__label { flex: 1; }
.tv-checkbox__count { color: var(--tv-text-lighter); font-size: 0.8rem; }

/* Price Range */
.tv-price-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tv-price-range__sep {
    color: var(--tv-text-lighter);
}

/* ================================================
   FORM ELEMENTS
   ================================================ */

.tv-input,
.tv-select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--tv-border);
    border-radius: var(--tv-radius-sm);
    font-size: 0.9rem;
    color: var(--tv-text);
    background: var(--tv-white);
    transition: border-color var(--tv-transition), box-shadow var(--tv-transition);
    outline: none;
}

.tv-input:focus,
.tv-select:focus {
    border-color: var(--tv-primary);
    box-shadow: 0 0 0 3px var(--tv-primary-200);
}

.tv-input--sm {
    padding: 8px 10px;
    font-size: 0.85rem;
}

.tv-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tv-text);
    margin-bottom: 6px;
}

.tv-form-group {
    margin-bottom: 16px;
}

/* ================================================
   BUTTONS
   ================================================ */

.tv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--tv-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--tv-transition);
    text-decoration: none;
    line-height: 1.4;
}

.tv-btn--primary {
    background: var(--tv-primary);
    color: #fff;
}

.tv-btn--primary:hover {
    background: var(--tv-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--tv-shadow-md);
}

.tv-btn--whatsapp {
    background: var(--tv-whatsapp);
    color: #fff;
}

.tv-btn--whatsapp:hover {
    background: var(--tv-whatsapp-dark);
    color: #fff;
    transform: translateY(-1px);
}

.tv-btn--block { width: 100%; }
.tv-btn--sm { padding: 8px 16px; font-size: 0.85rem; }
.tv-btn--lg { padding: 14px 28px; font-size: 1rem; }

/* ================================================
   VILLA CARD
   ================================================ */

.tv-villa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.tv-villa-card {
    background: var(--tv-white);
    border-radius: var(--tv-radius);
    overflow: hidden;
    box-shadow: var(--tv-shadow);
    transition: all 0.3s ease;
}

.tv-villa-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tv-shadow-lg);
}

.tv-villa-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.tv-villa-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.tv-villa-card:hover .tv-villa-card__image img {
    transform: scale(1.05);
}

.tv-villa-card__rating {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--tv-primary);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.tv-villa-card__content {
    padding: 16px 20px 20px;
}

.tv-villa-card__location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--tv-text-light);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.tv-villa-card__location svg { color: var(--tv-primary); }

.tv-villa-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
}

.tv-villa-card__title a {
    color: var(--tv-text);
    text-decoration: none;
    transition: color var(--tv-transition);
}

.tv-villa-card__title a:hover { color: var(--tv-primary); }

.tv-villa-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.tv-feature {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--tv-primary-50);
    color: var(--tv-text);
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
}

.tv-feature svg { color: var(--tv-primary); }

.tv-feature--highlight {
    background: #fef3c7;
    color: #92400e;
}

.tv-villa-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--tv-border-light);
}

.tv-price-amount {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--tv-primary);
}

.tv-price-period {
    font-size: 0.8rem;
    color: var(--tv-text-lighter);
    font-weight: 400;
}

/* ================================================
   NO RESULTS
   ================================================ */

.tv-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 24px;
}

.tv-no-results__icon { font-size: 3rem; margin-bottom: 16px; }
.tv-no-results h3 { font-size: 1.25rem; margin: 0 0 8px; }
.tv-no-results p { color: var(--tv-text-light); margin: 0; }

/* ================================================
   PAGINATION
   ================================================ */

.tv-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.tv-pagination__btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--tv-border);
    border-radius: var(--tv-radius-sm);
    background: var(--tv-white);
    color: var(--tv-text);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--tv-transition);
}

.tv-pagination__btn:hover,
.tv-pagination__btn--active {
    background: var(--tv-primary);
    color: #fff;
    border-color: var(--tv-primary);
}

/* ================================================
   SINGLE VILLA - GALLERY
   ================================================ */

.tv-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 20px 0;
    font-size: 0.9rem;
    color: var(--tv-text-light);
}

.tv-breadcrumb a {
    color: var(--tv-primary);
    text-decoration: none;
}

.tv-breadcrumb a:hover { text-decoration: underline; }
.tv-breadcrumb__sep { color: var(--tv-text-lighter); }
.tv-breadcrumb__current { color: var(--tv-text); font-weight: 500; }

.tv-gallery {
    margin-bottom: 32px;
}

.tv-gallery__main {
    position: relative;
    border-radius: var(--tv-radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #e2e8f0;
}

.tv-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--tv-shadow-md);
    transition: all var(--tv-transition);
    color: var(--tv-text);
}

.tv-gallery__nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.05);
}

.tv-gallery__nav--prev { left: 16px; }
.tv-gallery__nav--next { right: 16px; }

.tv-gallery__counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tv-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.tv-gallery__thumb {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border: 2px solid transparent;
    border-radius: var(--tv-radius-sm);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all var(--tv-transition);
    padding: 0;
    background: none;
}

.tv-gallery__thumb:hover,
.tv-gallery__thumb--active {
    opacity: 1;
    border-color: var(--tv-primary);
}

.tv-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ================================================
   SINGLE VILLA - DETAIL LAYOUT
   ================================================ */

.tv-detail-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.tv-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.tv-detail-header__title {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 8px;
}

.tv-detail-header__location {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--tv-text-light);
    font-size: 0.95rem;
}

.tv-detail-header__location svg { color: var(--tv-primary); }

.tv-rating-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--tv-primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--tv-radius-sm);
    font-weight: 700;
    font-size: 1rem;
}

.tv-rating-badge svg { color: #fbbf24; }

/* Specs */
.tv-detail-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
    padding: 20px;
    background: var(--tv-primary-50);
    border-radius: var(--tv-radius);
}

.tv-spec {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--tv-white);
    border-radius: var(--tv-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--tv-shadow-sm);
}

.tv-spec svg { color: var(--tv-primary); }

.tv-spec--highlight {
    background: #fef3c7;
    font-weight: 600;
}

/* Sections */
.tv-detail-section {
    margin-bottom: 32px;
}

.tv-detail-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--tv-primary-100);
}

.tv-detail-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--tv-text);
}

.tv-detail-address {
    color: var(--tv-text-light);
    margin: 0 0 16px;
    font-size: 0.95rem;
}

/* Amenities */
.tv-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.tv-amenity {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--tv-primary-50);
    border-radius: var(--tv-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

/* ================================================
   BOOKING CARD (Sidebar)
   ================================================ */

.tv-booking-card {
    background: var(--tv-white);
    border-radius: var(--tv-radius);
    box-shadow: var(--tv-shadow-lg);
    padding: 24px;
    position: sticky;
    top: 24px;
    border: 1px solid var(--tv-border);
}

.tv-booking-card__price {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--tv-border);
}

.tv-booking-card__amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tv-primary);
}

.tv-booking-card__period {
    font-size: 0.9rem;
    color: var(--tv-text-lighter);
}

/* Price Summary */
.tv-price-summary {
    margin: 16px 0;
    padding: 16px;
    background: var(--tv-primary-50);
    border-radius: var(--tv-radius-sm);
}

.tv-price-summary__row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--tv-text-light);
    margin-bottom: 8px;
}

.tv-price-summary__total {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tv-text);
    padding-top: 8px;
    border-top: 1px solid var(--tv-primary-200);
}

/* ================================================
   FLOATING ACTION BUTTON
   ================================================ */

.tv-fab {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
}

.tv-fab__btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--tv-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(3, 105, 161, 0.4);
    transition: all 0.3s ease;
    animation: tv-fab-pulse 2s infinite;
}

.tv-fab__btn:hover {
    background: var(--tv-primary-dark);
    transform: scale(1.05);
    box-shadow: 0 6px 28px rgba(3, 105, 161, 0.5);
    animation: none;
}

.tv-fab__icon {
    flex-shrink: 0;
}

@keyframes tv-fab-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(3, 105, 161, 0.4); }
    50% { box-shadow: 0 4px 30px rgba(3, 105, 161, 0.6); }
}

/* ================================================
   MODAL
   ================================================ */

.tv-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tv-modal--open {
    opacity: 1;
    visibility: visible;
}

.tv-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

.tv-modal__container {
    position: relative;
    background: var(--tv-white);
    border-radius: var(--tv-radius-lg);
    width: 100%;
    max-width: 440px;
    margin: 24px;
    box-shadow: var(--tv-shadow-xl);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.3s ease;
}

.tv-modal--open .tv-modal__container {
    transform: translateY(0) scale(1);
}

.tv-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--tv-border);
}

.tv-modal__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: var(--tv-text);
}

.tv-modal__title svg { color: var(--tv-primary); }

.tv-modal__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tv-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--tv-text-light);
    transition: all var(--tv-transition);
}

.tv-modal__close:hover {
    background: var(--tv-border);
    color: var(--tv-text);
}

.tv-modal__body {
    padding: 24px;
}

.tv-modal__desc {
    color: var(--tv-text-light);
    font-size: 0.95rem;
    margin: 0 0 20px;
}

.tv-modal__actions {
    margin-top: 8px;
}

.tv-modal__whatsapp-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--tv-text-lighter);
    margin: 12px 0 0;
}

/* ================================================
   LOADING STATE
   ================================================ */

.tv-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px;
    grid-column: 1 / -1;
}

.tv-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--tv-primary-100);
    border-top-color: var(--tv-primary);
    border-radius: 50%;
    animation: tv-spin 0.8s linear infinite;
}

@keyframes tv-spin {
    to { transform: rotate(360deg); }
}

/* ================================================
   MOBILE SIDEBAR TOGGLE
   ================================================ */

.tv-sidebar-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--tv-white);
    border: 1.5px solid var(--tv-border);
    border-radius: var(--tv-radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tv-text);
    cursor: pointer;
    margin-bottom: 16px;
}

/* ================================================
   RESPONSIVE
   ================================================ */

@media (max-width: 1024px) {
    .tv-detail-layout {
        grid-template-columns: 1fr;
    }
    .tv-booking-card {
        position: static;
    }
}

@media (max-width: 900px) {
    .tv-listing-layout {
        grid-template-columns: 1fr;
    }
    .tv-sidebar {
        position: static;
        display: none;
    }
    .tv-sidebar--open {
        display: block;
    }
    .tv-sidebar-toggle {
        display: flex;
    }
    .tv-search-box__form {
        flex-direction: column;
        gap: 0;
    }
    .tv-search-box__field {
        border-bottom: 1px solid var(--tv-border-light);
    }
    .tv-search-box__field:last-of-type {
        border-bottom: none;
    }
    .tv-search-box__btn {
        margin: 8px;
        justify-content: center;
    }
    .tv-hero__title {
        font-size: 1.75rem;
    }
    .tv-hero__subtitle {
        font-size: 1rem;
    }
    .tv-hero {
        min-height: auto;
    }
    .tv-villa-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .tv-container {
        padding: 0 16px;
    }
    .tv-listing-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }
    .tv-detail-header {
        flex-direction: column;
        gap: 12px;
    }
    .tv-detail-specs {
        padding: 16px;
        gap: 8px;
    }
    .tv-gallery__thumbs {
        gap: 6px;
    }
    .tv-gallery__thumb {
        width: 60px;
        height: 45px;
    }
    .tv-fab__text {
        display: none;
    }
    .tv-fab__btn {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    .tv-amenities-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================
   CONTACT PAGE — HERO
   ================================================ */

.tv-contact-hero {
    background-color: #cccccc;
    min-height: 260px;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}

.tv-contact-hero .tv-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 60px;
    padding-bottom: 36px;
    width: 100%;
}

.tv-contact-hero__left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tv-contact-hero__label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(0, 0, 0, 0.55);
    text-transform: uppercase;
}

.tv-contact-hero__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1e1e1e;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.tv-contact-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(0, 0, 0, 0.5);
}

.tv-contact-hero__breadcrumb a {
    color: rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: color var(--tv-transition);
}

.tv-contact-hero__breadcrumb a:hover {
    color: #1e1e1e;
}

.tv-contact-hero__sep {
    color: rgba(0, 0, 0, 0.3);
}

.tv-contact-hero__right {
    display: flex;
    align-items: flex-end;
    padding-bottom: 4px;
}

.tv-contact-hero__tagline {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tv-contact-hero__tagline-bar {
    display: block;
    width: 3px;
    height: 44px;
    background: var(--tv-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.tv-contact-hero__tagline div {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    font-weight: 700;
    color: #1e1e1e;
    line-height: 1.4;
}

/* ================================================
   CONTACT PAGE — INFO CARDS
   ================================================ */

.tv-contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 48px 0 40px;
}

.tv-contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 20px;
    background: var(--tv-white);
    border-radius: var(--tv-radius);
    box-shadow: var(--tv-shadow);
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--tv-border);
}

.tv-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--tv-shadow-lg);
    border-color: var(--tv-primary-200);
}

.tv-contact-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tv-contact-card__icon--phone {
    background: var(--tv-primary-50);
    color: var(--tv-primary);
}

.tv-contact-card__icon--instagram {
    background: #fdf2f8;
    color: #c026d3;
}

.tv-contact-card__icon--email {
    background: #f0fdf4;
    color: #16a34a;
}

.tv-contact-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.tv-contact-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--tv-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tv-contact-card__value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--tv-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ================================================
   CONTACT PAGE — FORM SECTION
   ================================================ */

.tv-contact-form-section {
    background: var(--tv-white);
    border-radius: var(--tv-radius-lg);
    box-shadow: var(--tv-shadow-md);
    padding: 40px 48px 48px;
    margin-bottom: 80px;
    border: 1px solid var(--tv-border);
}

.tv-contact-form-section__header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--tv-border-light);
}

.tv-contact-form-section__tag {
    display: inline-block;
    padding: 6px 16px;
    border: 1.5px solid var(--tv-text);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--tv-text);
    margin-bottom: 16px;
}

.tv-contact-form-section__desc {
    margin: 0;
    font-size: 0.95rem;
    color: var(--tv-text-light);
    line-height: 1.6;
}

.tv-contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tv-contact-form__group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tv-contact-form__group--half {
    max-width: 50%;
}

.tv-contact-form__group-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tv-text);
}

.tv-required {
    color: #e05252;
    font-weight: 400;
    font-size: 0.85em;
}

.tv-contact-form__cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tv-contact-form__field-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tv-contact-form__hint {
    font-size: 0.8rem;
    color: var(--tv-text-lighter);
}

.tv-contact-form__kvkk {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: var(--tv-bg);
    border-radius: var(--tv-radius-sm);
}

.tv-kvkk-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.tv-kvkk-check input[type="checkbox"] {
    display: none;
}

.tv-kvkk-check__box {
    width: 18px;
    height: 18px;
    border: 2px solid var(--tv-border);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
    transition: all var(--tv-transition);
    background: var(--tv-white);
}

.tv-kvkk-check input:checked + .tv-kvkk-check__box {
    background: var(--tv-primary);
    border-color: var(--tv-primary);
}

.tv-kvkk-check input:checked + .tv-kvkk-check__box::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 4px;
    height: 8px;
    border: 2px solid #fff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg);
}

.tv-kvkk-check__text {
    font-size: 0.875rem;
    color: var(--tv-text);
    line-height: 1.5;
}

.tv-link {
    color: var(--tv-primary);
    font-weight: 600;
    text-decoration: none;
}

.tv-link:hover {
    text-decoration: underline;
}

.tv-contact-form__withdraw {
    font-size: 0.8rem;
    color: var(--tv-text-lighter);
    margin: 4px 0 0;
}

.tv-contact-form__withdraw a {
    color: var(--tv-primary);
}

.tv-contact-form__submit {
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.tv-btn--submit {
    min-width: 33%;
    justify-content: center;
}

/* ================================================
   FORM VALIDATION STATES
   ================================================ */

.tv-input--error {
    border-color: var(--tv-danger) !important;
    background: #fff5f5;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.tv-input--valid {
    border-color: var(--tv-success);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.tv-field-error {
    display: none;
    font-size: 0.78rem;
    color: var(--tv-danger);
    margin-top: 4px;
    font-weight: 500;
}

.tv-field-error--visible {
    display: block;
}

/* ================================================
   ALERT
   ================================================ */

.tv-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: var(--tv-radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.tv-alert--success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.tv-alert--error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

/* ================================================
   CONTACT PAGE — RESPONSIVE
   ================================================ */

@media (max-width: 900px) {
    .tv-contact-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .tv-contact-form-section {
        padding: 24px;
    }
    .tv-contact-form__group--half {
        max-width: 100%;
    }
    .tv-contact-hero__title {
        font-size: 1.75rem;
    }
}

@media (max-width: 640px) {
    .tv-contact-hero .tv-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        padding-top: 40px;
        padding-bottom: 28px;
    }
    .tv-contact-form__cols {
        grid-template-columns: 1fr;
    }
    .tv-contact-form-section {
        padding: 20px 16px;
    }
}

/* ================================================
   REGION SLIDER (above footer)
   ================================================ */

.tv-region-slider {
    background: var(--tv-white);
    padding: 56px 0 64px;
}

.tv-region-slider__title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--tv-text);
    margin: 0 0 32px;
    letter-spacing: -0.3px;
}

.tv-region-slider__title::before,
.tv-region-slider__title::after {
    content: '';
    display: inline-block;
    width: 48px;
    height: 1px;
    background: var(--tv-border);
    vertical-align: middle;
    margin: 0 16px;
}

.tv-region-slider__wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tv-region-slider__outer {
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.tv-region-slider__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    width: max-content;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.tv-region-card {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    height: 260px;
    border-radius: var(--tv-radius-lg);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--tv-shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tv-region-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--tv-shadow-xl);
}

.tv-region-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.tv-region-card:hover img {
    transform: scale(1.06);
}

.tv-region-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 40%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

.tv-region-card__name {
    position: absolute;
    bottom: 16px;
    left: 16px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.tv-region-slider__arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tv-white);
    border: 1.5px solid var(--tv-border);
    border-radius: 50%;
    cursor: pointer;
    color: var(--tv-text);
    box-shadow: var(--tv-shadow-sm);
    transition: all var(--tv-transition);
}

.tv-region-slider__arrow:hover {
    background: var(--tv-primary);
    border-color: var(--tv-primary);
    color: #fff;
    box-shadow: var(--tv-shadow-md);
}

.tv-region-slider__arrow:disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 900px) {
    .tv-region-card {
        width: 160px;
        height: 210px;
    }
}

@media (max-width: 640px) {
    .tv-region-slider__title::before,
    .tv-region-slider__title::after {
        display: none;
    }
    .tv-region-card {
        width: 140px;
        height: 185px;
    }
    .tv-region-slider__arrow {
        width: 32px;
        height: 32px;
    }
}

/* ================================================
   HERO RESPONSIVE
   ================================================ */

@media (max-width: 900px) {
    .tv-hero__title {
        font-size: 1.75rem;
    }
    .tv-hero__subtitle {
        font-size: 1rem;
    }
    .tv-hero-placeholder {
        min-height: auto;
    }
}

/* ================================================
   ADMIN STYLES (overrides for wp-admin)
   ================================================ */

.turk-villam-meta-table th {
    width: 160px;
    font-weight: 600;
}
