﻿:root {
    --primary: #2563eb;
    --text: #0f172a;
    --muted: #6b7280;
    --line: #e5e7eb;
    --radius: 16px;
    --shadow: 0 6px 24px rgba(0,0,0,.06);
}

body {
    margin: 0;
    font-family: 'Poppins',sans-serif;
    color: var(--text);
    background: #fff;
}

/* Hero */
.hero-bg {
    height: 300px;
    background: url('https://c4.wallpaperflare.com/wallpaper/883/492/904/the-kur%C5%9Funlu-waterfall-with-turquoise-green-water-forest-tree-19-km-from-antalya-turkey-hd-wallpaper-for-desktop-1920%C3%971200-wallpaper-preview.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-title {
    font-size: 40px;
    margin: 0;
}

.hero-sub {
    font-size: 16px;
    opacity: .9;
}

/* Topbar */
.topbar {
    max-width: 1200px;
    margin: 30px auto 20px;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    box-shadow: var(--shadow);
}

.filter-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-ghost {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: #fff;
}

    .btn-ghost:hover {
        background: #f9fafb;
    }

.sort-form select {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 6px 10px;
}

.result-text {
    color: var(--muted);
    font-size: 15px;
}

/* Tour Grid */
.tour-grid {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 16px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(360px,1fr));
    gap: 20px;
}

.tour-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: row;
    box-shadow: var(--shadow);
    transition: .2s;
}

    .tour-card:hover {
        transform: translateY(-3px);
    }

.tour-image {
    position: relative;
    flex: 0 0 45%;
    overflow: hidden;
}

    .tour-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.map-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    box-shadow: var(--shadow);
}

.tour-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.stars i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    margin-right: 3px;
}

.stars .off {
    background: #d1d5db;
}

.tour-title {
    margin: 0 0 8px;
    font-size: 20px;
}

.tour-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    font-size: 14px;
    color: var(--muted);
}

    .tour-meta li {
        margin-bottom: 2px;
    }

.tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.tag {
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
}

.tour-bottom {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
}

    .btn-primary:hover {
        background: #1d4ed8;
    }

.price small {
    color: var(--muted);
    display: block;
}

.amount {
    font-weight: 700;
    font-size: 18px;
}

/* Explore */
.explore {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 16px;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 18px;
}

.explore-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: .25s;
}

    .explore-card:hover {
        transform: translateY(-4px);
    }

    .explore-card img {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
    }

.explore-body {
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
}

.muted {
    color: var(--muted);
}

/* Responsive */
@media(max-width:768px) {
    .tour-card {
        flex-direction: column;
    }

    .tour-image {
        flex: unset;
        height: 220px;
    }
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.35);
    display: none;
    z-index: 100;
}

    .modal.is-open {
        display: block;
    }

.dialog {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -4px 16px rgba(0,0,0,.1);
    padding: 20px;
    max-height: 80vh;
    overflow: auto;
}

.head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.f-group {
    margin-bottom: 14px;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 10px;
    margin: 4px;
    background: #f9fafb;
}

.price-row {
    display: flex;
    gap: 8px;
}

    .price-row input {
        flex: 1;
        padding: 8px;
        border: 1px solid var(--line);
        border-radius: 8px;
    }

.btn-primary, .btn-ghost {
    display: inline-block;
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
}

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

.btn-ghost {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
}

.f-actions {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 10px;
}
