/* ============================================================
   İlyada Tur — Otel Arşiv Sayfası CSS
   Dosya: /wp-content/themes/Yasin TRavel/archive-otel.css
   ============================================================ */

:root {
    --site-yellow: #fecb00;
    --navy: #003580;
    --bg-light: #f7f7f7;
    --border: #eee;
    --shadow: 0 4px 15px rgba(0,0,0,.06);
    --red: #d90429;
    --green: #27ae60;
}

.ilyada-main-container {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    padding-bottom: 60px;
    min-height: 100vh;
}

/* ---- HERO ---- */
.hotel-hero.kucukkuyu-bg {
    background-image: url('https://ilyadatur.com/wp-content/uploads/2026/04/im_hotelzimmer.1400x740.jpg');
    background-size: cover;
    background-position: center 30%;
    color: #fff;
    padding: 80px 20px;
    text-align: center;
    position: relative;
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,53,128,.45); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero-content h1 { font-size: 36px; font-weight: 700; margin: 0 0 10px; color: #fff; }
.hero-content p  { font-size: 16px; opacity: .9; margin: 0; }

/* ---- FİLTRE WRAPPER ---- */
.ilyada-filter-wrapper {
    max-width: 1200px;
    margin: -40px auto 0;
    background: #fff;
    padding: 0 24px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    position: relative; z-index: 20;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0;
    min-height: 80px;
}

.modern-filter-form {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
    padding: 16px 0;
}

.filter-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 160px;
}
.filter-col-search {
    min-width: 200px;
    flex: 1.5;
}
.filter-col-btn {
    flex: 0 0 auto;
    min-width: auto;
}

.filter-label {
    font-size: 12px; font-weight: 700; color: #555;
    display: flex; align-items: center; gap: 5px;
    white-space: nowrap; line-height: 1;
}
.filter-label-hidden { visibility: hidden; }
.filter-label .dashicons { font-size: 14px; color: var(--navy); }

/* ---- ARAMA INPUT ---- */
.search-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.search-icon {
    position: absolute;
    left: 11px;
    width: 15px; height: 15px;
    stroke: #aaa;
    pointer-events: none;
    flex-shrink: 0;
}
.search-text-input {
    padding-left: 34px !important;
    padding-right: 30px !important;
}
.search-text-input:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(0,53,128,.08);
}
.search-clear-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: #aaa;
    padding: 2px 4px;
    line-height: 1;
    border-radius: 3px;
    transition: color .15s;
}
.search-clear-btn:hover { color: #333; }

.filter-select {
    height: 42px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px; color: #333;
    width: 100%;
    box-sizing: border-box;
    appearance: auto;
}

.btn-modern-search {
    height: 42px;
    padding: 0 22px;
    background: var(--site-yellow); color: var(--navy);
    border: none; border-radius: 8px;
    font-weight: 700; cursor: pointer; font-size: 14px;
    display: flex; align-items: center; gap: 6px;
    font-family: 'Poppins', sans-serif;
    transition: background .2s; white-space: nowrap;
    flex-shrink: 0; line-height: 1;
}
.btn-modern-search:hover { background: #f0c000; }
.btn-modern-search .dashicons { font-size: 15px; width: 15px; height: 15px; line-height: 1; display: flex; align-items: center; }

/* ---- SONUÇ SAYACI ---- */
.results-info {
    max-width: 1200px;
    margin: 16px auto -10px;
    padding: 0 15px;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 12px;
}
.results-info strong { color: var(--navy); }
.clear-filters-btn {
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 12px;
    color: #888;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all .15s;
}
.clear-filters-btn:hover { border-color: var(--red); color: var(--red); }

/* ---- GÖRÜNÜM KONTROLLERİ ---- */
.view-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding: 0 0 19px 16px;
    border-left: 1px solid #eee;
    margin-left: 12px;
}
.view-toggle-group, .col-toggle-group {
    display: flex; align-items: center;
    border: 1px solid #ddd; border-radius: 8px;
    overflow: hidden; height: 42px;
}
.view-btn, .col-btn {
    height: 42px; padding: 0 11px;
    background: #fff; border: none;
    border-right: 1px solid #ddd;
    cursor: pointer; color: #888;
    font-size: 13px; font-weight: 600;
    font-family: 'Poppins', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 5px;
    transition: background .18s, color .18s;
    white-space: nowrap; flex-shrink: 0;
}
.view-btn:last-child, .col-btn:last-child { border-right: none; }
.view-btn.active, .col-btn.active { background: var(--navy); color: #fff; }
.view-btn:hover:not(.active), .col-btn:hover:not(.active) { background: #f0f4ff; color: var(--navy); }

/* ---- GRID ---- */
.hotel-modern-grid {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    position: relative; z-index: 5;
    display: grid; gap: 22px;
    transition: all .25s;
}
.hotel-modern-grid.grid-4 { grid-template-columns: repeat(4, 1fr); }
.hotel-modern-grid.grid-3 { grid-template-columns: repeat(3, 1fr); }
.hotel-modern-grid.list-mode { grid-template-columns: 1fr; gap: 14px; }

/* ---- GRID KARTI ---- */
.modern-card.card-grid-item {
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid var(--border);
    display: flex; flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}
.modern-card.card-grid-item:hover { transform: translateY(-6px); box-shadow: 0 12px 30px rgba(0,0,0,.1); }

.card-image-link { display: block; text-decoration: none; }
.card-image-area {
    height: 190px; background-size: cover; background-position: center;
    position: relative; overflow: hidden; transition: transform .4s;
}
.card-image-link:hover .card-image-area { transform: scale(1.03); }
.card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.08) 0%, transparent 45%, rgba(0,0,0,.35) 100%);
}
.tag-icon { width: 11px; height: 11px; display: inline-block; vertical-align: middle; margin-right: 3px; flex-shrink: 0; }
.location-tag {
    position: absolute; top: 12px; left: 12px;
    background: #fff; padding: 4px 10px 4px 8px; border-radius: 20px;
    font-size: 11px; font-weight: 700; color: var(--navy); z-index: 5;
    display: flex; align-items: center; gap: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.star-badge {
    position: absolute; top: 12px; right: 12px;
    background: rgba(0,0,0,.55); color: var(--site-yellow);
    padding: 3px 9px; border-radius: 20px; font-size: 11px; z-index: 5;
    backdrop-filter: blur(2px);
}
.konsept-tag {
    position: absolute; bottom: 12px; left: 12px;
    background: rgba(255,255,255,.92); color: #333;
    padding: 4px 10px 4px 8px; border-radius: 6px;
    font-size: 11px; font-weight: 700;
    border-left: 3px solid var(--site-yellow); z-index: 5;
    display: flex; align-items: center; gap: 4px;
}
.konsept-tag .tag-icon { stroke: var(--navy); }

.card-details { padding: 14px 14px 16px; flex-grow: 1; display: flex; flex-direction: column; }
.card-details h3 {
    font-size: 14px; margin: 0 0 8px; color: #1a1a1a; line-height: 1.4;
    overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.card-details h3 a { color: inherit; text-decoration: none; }
.card-details h3 a:hover { color: var(--navy); }
.card-meta-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.card-meta-item { display: flex; align-items: center; gap: 4px; font-size: 11px; color: #666; }
.card-meta-item svg { width: 12px; height: 12px; flex-shrink: 0; stroke: var(--navy); opacity: .75; }
.card-puan-row { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; }
.puan-badge { background: #008009; color: #fff; padding: 2px 8px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.puan-label { font-size: 12px; color: #666; }
.price-header-area { margin-bottom: 12px; }
.price-label { font-size: 11px; color: #888; display: flex; align-items: center; gap: 4px; margin-bottom: 2px; }
.price-label svg { width: 13px; height: 13px; stroke: #aaa; }
.price-amount { font-size: 19px; font-weight: 800; color: #1a1a1a; }
.fiyat-yok { font-size: 12px; font-weight: 600; color: #e74c3c; }
.btn-card-action {
    display: flex; align-items: center; justify-content: center; gap: 7px;
    background: var(--navy); color: #fff !important; text-decoration: none !important;
    padding: 11px; border-radius: 9px; font-weight: 700; font-size: 13px;
    margin-top: auto; transition: background .2s, transform .1s;
}
.btn-card-action svg { width: 15px; height: 15px; stroke: #fff; flex-shrink: 0; }
.btn-card-action:hover { background: #00265a; transform: scale(1.01); }

/* ---- LİSTE KARTI ---- */
.modern-card.card-list-item {
    background: #fff; border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid var(--border);
    display: flex; flex-direction: row; align-items: stretch;
    transition: box-shadow .2s, transform .2s;
}
.modern-card.card-list-item:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); transform: translateY(-2px); }
.list-img-wrap { width: 220px; flex-shrink: 0; position: relative; overflow: hidden; display: block; text-decoration: none; }
.list-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; display: block; }
.list-img-wrap:hover img { transform: scale(1.04); }
.list-star-badge { position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,.55); color: var(--site-yellow); padding: 3px 9px; border-radius: 20px; font-size: 11px; }
.list-details { flex: 1; padding: 18px 20px; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.list-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; margin-bottom: 10px; }
.list-header h3 { font-size: 17px; margin: 0 0 6px; color: #1a1a1a; }
.list-header h3 a { color: inherit; text-decoration: none; }
.list-header h3 a:hover { color: var(--navy); }
.list-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.list-puan { display: flex; flex-direction: column; align-items: center; gap: 3px; flex-shrink: 0; }
.list-excerpt { font-size: 13px; color: #777; line-height: 1.6; }
.list-price-action { width: 160px; flex-shrink: 0; padding: 18px 16px; border-left: 1px solid #eee; display: flex; flex-direction: column; justify-content: center; background: #fafbff; }

/* ---- BANNER ---- */
.register-banner {
    background: var(--navy);
    padding: 28px 32px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 20px; flex-wrap: wrap;
    max-width: 1200px; margin: 0 auto 40px; border-radius: 14px;
}
.banner-left { display: flex; align-items: center; gap: 16px; }
.banner-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: var(--site-yellow); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.banner-icon svg { width: 26px; height: 26px; stroke: var(--navy); }
.banner-text h3 { font-size: 18px; font-weight: 700; color: #fff; margin: 0 0 4px; font-family: 'Poppins', sans-serif; }
.banner-text p { font-size: 13px; color: rgba(255,255,255,0.7); margin: 0; line-height: 1.5; }
.banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-register {
    padding: 11px 22px; background: var(--site-yellow); color: var(--navy);
    border: none; border-radius: 8px; font-weight: 700; font-size: 14px;
    cursor: pointer; font-family: 'Poppins', sans-serif; white-space: nowrap;
    display: flex; align-items: center; gap: 7px; transition: background .2s;
}
.btn-register:hover { background: #f0c000; }
.btn-register svg { width: 16px; height: 16px; stroke: var(--navy); }
.btn-duzelt {
    padding: 11px 20px; background: transparent; color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.3); border-radius: 8px;
    font-size: 13px; font-weight: 600; cursor: pointer;
    font-family: 'Poppins', sans-serif; white-space: nowrap; transition: all .2s;
}
.btn-duzelt:hover { border-color: #fff; color: #fff; }

/* ---- MODAL ---- */
.ilyada-modal-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.6); z-index: 99999;
    align-items: center; justify-content: center; padding: 20px;
}
.ilyada-modal-overlay.open { display: flex; }
.ilyada-modal-box {
    background: #fff; border-radius: 16px;
    width: 100%; max-width: 560px;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
    font-family: 'Poppins', sans-serif;
}
.ilyada-modal-header {
    background: var(--navy); padding: 20px 24px;
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 2;
}
.ilyada-modal-header-left { display: flex; align-items: center; gap: 12px; }
.ilyada-modal-icon {
    width: 38px; height: 38px; background: var(--site-yellow);
    border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.ilyada-modal-icon svg { width: 20px; height: 20px; stroke: var(--navy); }
.ilyada-modal-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.ilyada-modal-subtitle { font-size: 12px; color: rgba(255,255,255,0.65); }
.ilyada-modal-close {
    width: 32px; height: 32px; border-radius: 6px;
    background: rgba(255,255,255,0.1); border: none; color: #fff;
    cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.ilyada-modal-close:hover { background: rgba(255,255,255,0.2); }
.ilyada-modal-tabs {
    display: flex; border-bottom: 1px solid #eee; background: #f9f9f9;
}
.ilyada-tab {
    flex: 1; padding: 12px; text-align: center; font-size: 13px; font-weight: 600;
    cursor: pointer; color: #888; border: none; border-bottom: 3px solid transparent;
    background: none; font-family: 'Poppins', sans-serif; transition: all .2s;
}
.ilyada-tab.active { color: var(--navy); border-bottom-color: var(--navy); background: #fff; }
.ilyada-modal-body { padding: 20px 24px; }
.ilyada-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.ilyada-form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 12px; }
.ilyada-form-full { grid-column: 1 / -1; }
.ilyada-form-label {
    font-size: 12px; font-weight: 700; color: #555;
    display: flex; align-items: center; gap: 4px;
}
.ilyada-form-label svg { width: 13px; height: 13px; stroke: var(--navy); flex-shrink: 0; }
.req { color: var(--red); }
.ilyada-form-input, .ilyada-form-select, .ilyada-form-textarea {
    height: 42px; padding: 0 12px;
    border: 1px solid #ddd; border-radius: 8px;
    font-family: 'Poppins', sans-serif; font-size: 13px; color: #333; width: 100%;
    box-sizing: border-box; transition: border-color .2s, box-shadow .2s;
}
.ilyada-form-textarea { height: 90px; padding: 10px 12px; resize: vertical; }
.ilyada-form-input:focus, .ilyada-form-select:focus, .ilyada-form-textarea:focus {
    outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(0,53,128,.08);
}
.ilyada-form-note { font-size: 11px; color: #aaa; margin-top: 4px; display: block; }
.ilyada-modal-footer {
    padding: 16px 24px; border-top: 1px solid #eee;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: #fafafa; position: sticky; bottom: 0;
}
.ilyada-privacy-note {
    font-size: 11px; color: #aaa;
    display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}
.ilyada-privacy-note svg { width: 13px; height: 13px; stroke: #aaa; flex-shrink: 0; }
.ilyada-btn-submit {
    padding: 10px 24px; background: var(--navy); color: #fff;
    border: none; border-radius: 8px; font-weight: 700; font-size: 14px;
    cursor: pointer; font-family: 'Poppins', sans-serif;
    display: flex; align-items: center; gap: 7px; transition: background .2s;
    white-space: nowrap;
}
.ilyada-btn-submit:hover { background: #00265a; }
.ilyada-btn-submit svg { width: 15px; height: 15px; stroke: #fff; flex-shrink: 0; }

/* ---- BAŞARI / HATA ---- */
.ilyada-success-screen, .ilyada-error-screen {
    padding: 44px 24px; text-align: center;
}
.ilyada-success-icon, .ilyada-error-icon {
    width: 68px; height: 68px; border-radius: 50%;
    background: #e8f8ef; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
}
.ilyada-error-icon { background: #fef0f0; }
.ilyada-success-icon svg, .ilyada-error-icon svg { width: 34px; height: 34px; }
.ilyada-success-title { font-size: 20px; font-weight: 700; color: #1a1a1a; margin-bottom: 10px; }
.ilyada-success-msg { font-size: 13px; color: #777; line-height: 1.7; max-width: 340px; margin: 0 auto 20px; }
.ilyada-success-detail {
    background: #f0f4ff; border-radius: 10px; padding: 14px 18px;
    font-size: 13px; color: var(--navy); text-align: left; margin-bottom: 22px;
    display: inline-block; width: 100%; box-sizing: border-box;
}
.ilyada-success-detail p { margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.ilyada-success-detail p:last-child { margin: 0; }
.ilyada-btn-close-success {
    padding: 11px 32px; background: var(--navy); color: #fff;
    border: none; border-radius: 8px; font-weight: 700; font-size: 14px;
    cursor: pointer; font-family: 'Poppins', sans-serif; transition: background .2s;
}
.ilyada-btn-close-success:hover { background: #00265a; }

/* ---- MOBİL ---- */
@media (max-width: 1100px) { .hotel-modern-grid.grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) {
    .hotel-modern-grid.grid-4, .hotel-modern-grid.grid-3 { grid-template-columns: repeat(2, 1fr); }
    .col-toggle-group { display: none !important; }
}
@media (max-width: 700px) {
    .ilyada-filter-wrapper { margin: -25px 12px 0; padding: 12px 16px; flex-direction: column; align-items: stretch; gap: 10px; min-height: auto; }
    .modern-filter-form { flex-direction: column; align-items: stretch; padding: 0; gap: 8px; width: 100%; }
    .filter-col, .filter-col-search { min-width: 0; width: 100%; }
    .filter-label-hidden { display: none; }
    .btn-modern-search { width: 100%; justify-content: center; }
    .view-controls { width: 100%; justify-content: flex-end; padding: 0; border-left: none; border-top: 1px solid #eee; padding-top: 10px; margin-left: 0; }
    .col-toggle-group { display: none !important; }
    .register-banner { flex-direction: column; align-items: flex-start; padding: 20px; }
    .banner-actions { width: 100%; }
    .btn-register, .btn-duzelt { flex: 1; justify-content: center; }
    .ilyada-form-row { grid-template-columns: 1fr; }
    .ilyada-modal-footer { flex-direction: column; align-items: stretch; }
    .ilyada-btn-submit { justify-content: center; }
}
@media (max-width: 600px) {
    .hero-content h1 { font-size: 24px; }
    .hotel-modern-grid.grid-4, .hotel-modern-grid.grid-3 { grid-template-columns: 1fr; }
    .list-img-wrap { width: 130px; }
    .list-price-action { width: 120px; padding: 12px; }
}
@media (max-width: 480px) {
    .modern-card.card-list-item { flex-direction: column; }
    .list-img-wrap { width: 100%; height: 180px; }
    .list-price-action { width: 100%; border-left: none; border-top: 1px solid #eee; flex-direction: row; align-items: center; justify-content: space-between; }
}
