/* ============================================
   GYG Tur Rehberi — Public Styles
   GetYourGuide: Blue #004AB5, Orange #FF5533
   ============================================ */

:root {
    --gyg-blue:     #004AB5;
    --gyg-blue-dk:  #003A91;
    --gyg-blue-lt:  #E8F0FE;
    --gyg-orange:   #FF5533;
    --gyg-orange-dk:#E6421F;
    --gyg-dark:     #1A1A2E;
    --gyg-card-bg:  #ffffff;
    --gyg-border:   #E5E7EB;
    --gyg-text:     #333;
    --gyg-muted:    #666;
    --gyg-radius:   12px;
    --gyg-shadow:   0 4px 24px rgba(0,0,0,.08);
    --gyg-tr:       0.22s ease;
}

/* ================================================
   FİLTRE BAR
   ================================================ */
.gyg-filter-bar {
    background: #f7f8fc;
    border: 1px solid var(--gyg-border);
    border-radius: var(--gyg-radius);
    padding: 18px 20px;
    margin-bottom: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.gyg-filter-search { flex: 0 0 100%; }
.gyg-filter-selects { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 8px; }
.gyg-filter-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.gyg-filter-input {
    padding: 9px 13px; border: 1px solid var(--gyg-border); border-radius: 8px;
    font-size: 14px; background: #fff; color: var(--gyg-text);
    transition: border var(--gyg-tr); min-width: 150px;
}
.gyg-filter-input:focus { outline: none; border-color: var(--gyg-blue); }
#gyg-search { width: 100%; }
.gyg-featured-toggle { font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 6px; }
.gyg-btn-reset {
    padding: 9px 16px; background: #fff; border: 1px solid var(--gyg-border);
    border-radius: 8px; cursor: pointer; font-size: 13px; color: var(--gyg-muted);
    transition: all var(--gyg-tr);
}
.gyg-btn-reset:hover { background: #fee; border-color: #e88; color: #c33; }
.gyg-results-info { font-size: 13px; color: var(--gyg-muted); margin-bottom: 12px; min-height: 20px; }

/* ================================================
   TUR GRID
   ================================================ */
.gyg-tour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

/* ================================================
   TUR KART
   ================================================ */
.gyg-tour-card {
    border-radius: var(--gyg-radius); overflow: hidden; background: var(--gyg-card-bg);
    box-shadow: var(--gyg-shadow); transition: transform var(--gyg-tr), box-shadow var(--gyg-tr);
    display: flex; flex-direction: column;
}
.gyg-tour-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(0,74,181,.14); }
.gyg-tour-card.gyg-featured { border: 2px solid var(--gyg-orange); }
.gyg-card-inner { display: flex; flex-direction: column; text-decoration: none; color: inherit; flex: 1; }

.gyg-card-image { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #e8eaf0; }
.gyg-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gyg-tour-card:hover .gyg-card-image img { transform: scale(1.05); }
.gyg-card-no-image { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 48px; }

.gyg-badge-tour {
    position: absolute; top: 10px; left: 10px; background: var(--gyg-orange); color: #fff;
    border-radius: 20px; padding: 4px 12px; font-size: 11px; font-weight: 700;
    letter-spacing: .3px; text-transform: uppercase; box-shadow: 0 2px 8px rgba(255,85,51,.4); z-index: 2;
}

.gyg-card-body { padding: 16px 18px 14px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.gyg-card-meta-top { display: flex; gap: 12px; flex-wrap: wrap; }
.gyg-meta-loc, .gyg-meta-dur { font-size: 12px; color: var(--gyg-muted); }
.gyg-meta-loc { color: var(--gyg-blue); font-weight: 600; }
.gyg-card-title { font-size: 16px; font-weight: 700; margin: 0; color: var(--gyg-dark); line-height: 1.35; }
.gyg-card-excerpt { font-size: 13px; color: var(--gyg-text); line-height: 1.5; margin: 0; flex: 1; }

.gyg-card-highlights { list-style: none; padding: 0; margin: 4px 0 0; }
.gyg-card-highlights li { font-size: 12px; color: #16A34A; padding: 2px 0; font-weight: 500; }

.gyg-card-footer { margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--gyg-border); display: flex; align-items: center; justify-content: space-between; }
.gyg-card-rating { display: flex; align-items: center; gap: 6px; }
.gyg-stars { display: inline-flex; gap: 1px; }
.gyg-star.filled { color: #FF5533; }
.gyg-star.half   { color: #FF5533; opacity: .6; }
.gyg-star.empty  { color: #ddd; }
.gyg-rating-num { font-size: 14px; font-weight: 700; color: var(--gyg-dark); }
.gyg-rating-num small { font-weight: 400; color: var(--gyg-muted); font-size: 12px; }

.gyg-card-cta {
    font-size: 13px; font-weight: 600; color: var(--gyg-blue);
    transition: color var(--gyg-tr);
}
.gyg-tour-card:hover .gyg-card-cta { color: var(--gyg-blue-dk); }

/* ================================================
   GYG BOOK BUTTON (Kart + Single)
   ================================================ */
.gyg-card-action { padding: 0 18px 16px; }
.gyg-book-btn {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
    background: var(--gyg-blue); color: #fff !important; text-decoration: none !important;
    font-size: 14px; font-weight: 700; padding: 11px 20px; border-radius: 50px;
    border: none; cursor: pointer; transition: all var(--gyg-tr); letter-spacing: .3px;
}
.gyg-book-btn:hover {
    background: var(--gyg-blue-dk); box-shadow: 0 4px 16px rgba(0,74,181,.3);
    transform: translateY(-1px); color: #fff !important;
}
.gyg-book-btn svg { transition: transform .3s; }
.gyg-book-btn:hover svg { transform: translateX(3px); }
.gyg-book-btn-lg { font-size: 16px; padding: 15px 28px; background: var(--gyg-orange); }
.gyg-book-btn-lg:hover { background: var(--gyg-orange-dk); box-shadow: 0 4px 16px rgba(255,85,51,.35); }

/* ================================================
   PAGINATION
   ================================================ */
.gyg-pagination, .gyg-pagination-ajax { text-align: center; margin: 24px 0; }
.gyg-pagination-ajax .gyg-page-btn {
    display: inline-block; margin: 0 3px; padding: 7px 14px;
    border: 1px solid var(--gyg-border); border-radius: 7px; cursor: pointer;
    background: #fff; font-size: 14px; transition: all var(--gyg-tr);
}
.gyg-pagination-ajax .gyg-page-btn:hover,
.gyg-pagination-ajax .gyg-page-btn.active { background: var(--gyg-blue); color: #fff; border-color: var(--gyg-blue); }
.gyg-no-results { grid-column: 1/-1; text-align: center; padding: 60px 20px; color: var(--gyg-muted); }

/* Powered by (PHP rendered) */
.gyg-powered-text {
    text-align: center; margin-top: 20px; font-size: 11px;
    color: var(--gyg-muted); letter-spacing: .5px;
}

/* ================================================
   SINGLE TUR SAYFASI — HERO
   ================================================ */
.gyg-single-hero { position: relative; height: 420px; overflow: hidden; border-radius: var(--gyg-radius); margin-bottom: 32px; }
.gyg-hero-img { width: 100%; height: 100%; object-fit: cover; }
.gyg-hero-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 28px 32px;
    background: linear-gradient(to top, rgba(0,0,0,.78) 0%, transparent 100%);
    color: #fff;
}
.gyg-tour-title { font-size: 30px; font-weight: 800; margin: 8px 0 10px; line-height: 1.2; }
.gyg-hero-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.gyg-badge {
    background: rgba(255,255,255,.22); backdrop-filter: blur(6px); border-radius: 20px;
    padding: 4px 14px; font-size: 12px; font-weight: 600; border: 1px solid rgba(255,255,255,.3);
}
.gyg-badge-orange { background: rgba(255,85,51,.7); border-color: rgba(255,85,51,.5); }
.gyg-badge-cat { background: rgba(0,74,181,.5); }
.gyg-badge-type { background: rgba(255,255,255,.15); }
.gyg-hero-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; opacity: .9; margin-top: 8px; }

/* ================================================
   SINGLE — BODY LAYOUT
   ================================================ */
.gyg-single-body { display: grid; grid-template-columns: 1fr 360px; gap: 32px; }
@media (max-width: 960px) { .gyg-single-body { grid-template-columns: 1fr; } }

/* ================================================
   SINGLE — SOL İÇERİK SEKSİYONLARI
   ================================================ */
.gyg-section { margin-bottom: 36px; }
.gyg-section h2 {
    font-size: 20px; font-weight: 700; margin-bottom: 16px; color: var(--gyg-dark);
    border-bottom: 2px solid var(--gyg-border); padding-bottom: 8px;
}
.gyg-content { font-size: 15px; line-height: 1.7; color: var(--gyg-text); }
.gyg-content p { margin-bottom: 12px; }

/* Öne Çıkanlar Grid */
.gyg-highlights-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.gyg-highlight-item {
    background: #f0fdf4; border-radius: 8px; padding: 10px 14px;
    font-size: 13px; color: #166534; font-weight: 500;
    display: flex; align-items: center; gap: 8px;
}
.gyg-hl-icon { color: #16A34A; font-weight: 700; font-size: 16px; flex-shrink: 0; }

/* Timeline — Tur Programı */
.gyg-timeline { position: relative; padding-left: 40px; }
.gyg-timeline::before {
    content: ''; position: absolute; left: 16px; top: 4px; bottom: 4px;
    width: 2px; background: var(--gyg-blue-lt);
}
.gyg-timeline-item { position: relative; margin-bottom: 16px; display: flex; align-items: flex-start; gap: 14px; }
.gyg-timeline-dot {
    position: absolute; left: -40px; top: 0;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--gyg-blue); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,74,181,.3);
}
.gyg-timeline-content {
    background: #f7f8fc; border-radius: 8px; padding: 12px 16px;
    font-size: 14px; color: var(--gyg-text); line-height: 1.5; flex: 1;
    border-left: 3px solid var(--gyg-blue-lt);
}

/* Dahil / Dahil Değil */
.gyg-include-exclude { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .gyg-include-exclude { grid-template-columns: 1fr; } }
.gyg-inc-col h4 { font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.gyg-inc-col ul { list-style: none; padding: 0; margin: 0; }
.gyg-inc-col li { padding: 6px 0; font-size: 14px; border-bottom: 1px solid #f3f4f6; display: flex; align-items: center; gap: 8px; }
.gyg-inc-col li:last-child { border-bottom: none; }
.gyg-inc-yes::before { content: '✅'; font-size: 13px; }
.gyg-inc-no::before  { content: '❌'; font-size: 13px; }

/* Bilgi Kutuları */
.gyg-info-box {
    padding: 16px 20px; border-radius: var(--gyg-radius);
    font-size: 14px; line-height: 1.6;
}
.gyg-info-green { background: #f0fdf4; border-left: 4px solid #16A34A; color: #166534; }
.gyg-info-yellow { background: #FFFBEB; border-left: 4px solid #F59E0B; color: #92400E; }

/* Galeri */
.gyg-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gyg-gallery-link { display: block; border-radius: 8px; overflow: hidden; aspect-ratio: 4/3; }
.gyg-gallery-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.gyg-gallery-link:hover img { transform: scale(1.07); }

/* Video */
.gyg-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: var(--gyg-radius); }
.gyg-video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ================================================
   SINGLE — SAĞ SİDEBAR
   ================================================ */
.gyg-booking-card {
    background: var(--gyg-card-bg); border: 2px solid var(--gyg-blue);
    border-radius: var(--gyg-radius); padding: 24px; box-shadow: var(--gyg-shadow);
    margin-bottom: 20px; text-align: center;
}
.gyg-booking-rating {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    margin-bottom: 12px; font-size: 14px; color: var(--gyg-dark);
}
.gyg-booking-rating small { color: var(--gyg-muted); font-size: 12px; }
.gyg-booking-powered {
    font-size: 11px; color: var(--gyg-muted); margin-top: 10px;
    display: flex; align-items: center; justify-content: center; gap: 4px;
}

/* Sidebar Bilgi Blokları */
.gyg-sidebar-block {
    background: #f7f8fc; border-radius: var(--gyg-radius);
    padding: 18px; margin-bottom: 16px;
}
.gyg-sidebar-block h4 { font-size: 14px; margin: 0 0 12px; color: var(--gyg-dark); font-weight: 700; }

.gyg-sb-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 8px 0; border-bottom: 1px solid #e9ebf0; font-size: 13px;
}
.gyg-sb-row:last-child { border-bottom: none; }
.gyg-sb-label { color: var(--gyg-muted); }
.gyg-sb-row strong { color: var(--gyg-dark); }

.gyg-term-link {
    display: inline-block; margin: 2px 3px 2px 0; padding: 4px 12px;
    background: var(--gyg-blue-lt); border-radius: 20px; font-size: 12px;
    color: var(--gyg-blue); text-decoration: none; transition: all var(--gyg-tr);
}
.gyg-term-link:hover { background: var(--gyg-blue); color: #fff; }
.gyg-type-tag {
    background: #FFF1EE; color: var(--gyg-orange); border-radius: 20px;
    padding: 3px 12px; font-size: 12px; font-weight: 500;
}

/* Sticky CTA at bottom of sidebar */
.gyg-sidebar-sticky-cta {
    position: sticky; bottom: 20px;
    margin-top: 8px;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 640px) {
    .gyg-filter-selects { flex-direction: column; }
    .gyg-filter-input { width: 100%; min-width: 0; }
    .gyg-single-hero { height: 260px; }
    .gyg-tour-title { font-size: 22px; }
    .gyg-tour-grid { grid-template-columns: 1fr; }
    .gyg-timeline { padding-left: 36px; }
    .gyg-timeline-dot { left: -36px; width: 28px; height: 28px; font-size: 11px; }
    .gyg-highlights-grid { grid-template-columns: 1fr; }
}

/* ================================================
   KONUM AUTOCOMPLETE
   ================================================ */
.gyg-location-wrap {
    position: relative;
    min-width: 200px;
}
.gyg-location-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--gyg-card-bg);
    border: 1px solid var(--gyg-border);
    border-radius: var(--gyg-radius);
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 999;
    max-height: 260px;
    overflow-y: auto;
}
.gyg-location-dropdown.open { display: block; }

.gyg-loc-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 13px;
    color: var(--gyg-text);
    border-bottom: 1px solid #f0f0f7;
    transition: background .12s;
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.gyg-loc-item:last-child { border-bottom: none; }
.gyg-loc-item:hover,
.gyg-loc-item.active { background: var(--gyg-blue-lt); }
.gyg-loc-item strong { color: var(--gyg-blue); font-weight: 600; }
.gyg-loc-breadcrumb {
    font-size: 11px;
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gyg-loc-count {
    margin-left: auto;
    font-size: 11px;
    color: #bbb;
    flex-shrink: 0;
}
.gyg-loc-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    cursor: pointer;
    font-size: 18px;
    color: #aaa;
    line-height: 1;
    padding: 2px 4px;
    z-index: 2;
}
.gyg-loc-clear:hover { color: #c33; }
.gyg-loc-empty,
.gyg-loc-loading {
    padding: 12px 14px;
    font-size: 13px;
    color: #999;
    text-align: center;
}
@media (max-width: 640px) {
    .gyg-location-wrap { min-width: 0; width: 100%; }
}
