/* ========================================
   PiknikYerleri - Manuel CSS
   Renkler: #2B542C (koyu yeşil), #DFF0D8 (açık yeşil)
   ======================================== */

/* --- Global Font Boyutları --- */
body {
    font-size: 16px;
    line-height: 1.6;
}

/* Tailwind text-sm override: minimum 14px -> 15px */
.text-sm { font-size: 15px !important; line-height: 1.5 !important; }
.text-xs { font-size: 13px !important; }
.text-base { font-size: 16px !important; }
.text-lg { font-size: 18px !important; }
.text-xl { font-size: 20px !important; }
.text-2xl { font-size: 24px !important; }
.text-3xl { font-size: 30px !important; }

/* Kart içerikleri */
.text-stone-600, .text-stone-700 {
    font-size: inherit;
    line-height: 1.6;
}

/* Navbar linkleri */
nav a, nav button { font-size: 15px !important; }

/* Breadcrumb */
nav ol { font-size: 14px; }

/* Tablo/liste içerikleri */
td, th { font-size: 15px; }


/* --- Hero Arama Barı --- */
.hero-search-card {
    background: white;
    border-radius: 12px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
@media (min-width: 640px) {
    .hero-search-card { flex-direction: row; }
}

.hero-search-card .search-select-wrap {
    position: relative;
    flex-shrink: 0;
}
@media (min-width: 640px) {
    .hero-search-card .search-select-wrap { width: 192px; }
}

.hero-search-card .search-select-wrap .icon-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #4a8a3c;
    pointer-events: none;
}

.hero-search-card .search-select-wrap .icon-right {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #a8a29e;
    font-size: 11px;
    pointer-events: none;
}

.hero-search-card select,
.hero-search-card input[type="text"] {
    width: 100%;
    height: 48px;
    padding: 0 16px 0 36px;
    background: #fafaf9;
    border: 1px solid #e7e5e4;
    border-radius: 8px;
    font-size: 15px;
    font-family: 'Inter', system-ui, sans-serif;
    color: #44403c;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.hero-search-card select:focus,
.hero-search-card input[type="text"]:focus {
    border-color: #7ab866;
    box-shadow: 0 0 0 2px rgba(122,184,102,0.2);
}
.hero-search-card input[type="text"]::placeholder {
    color: #a8a29e;
}

.hero-search-card .search-input-wrap {
    position: relative;
    flex: 1;
}
.hero-search-card .search-input-wrap .icon-left {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #a8a29e;
    pointer-events: none;
}

.hero-search-card .search-btn {
    height: 48px;
    padding: 0 32px;
    background: #2B542C;
    color: white;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Inter', system-ui, sans-serif;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-shrink: 0;
    transition: background 0.2s;
}
.hero-search-card .search-btn:hover {
    background: #3a7030;
}

/* --- Anasayfa Kartları --- */
.home-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}
@media (min-width: 640px) {
    .home-section { padding: 0 24px; }
}
@media (min-width: 1024px) {
    .home-section { padding: 0 32px; }
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: -32px;
    position: relative;
    z-index: 10;
}
@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.category-card {
    background: white;
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    padding: 24px 16px;
    text-align: center;
    transition: border-color 0.2s, transform 0.2s;
    text-decoration: none;
    color: inherit;
    display: block;
}
.category-card:hover { border-color: #7ab866; transform: translateY(-2px); }
.category-card .cat-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px; font-size: 22px;
}
.category-card h3 { font-size: 15px; font-weight: 600; color: #1c1917; margin: 0; }
.category-card p { font-size: 13px; color: #78716c; margin: 4px 0 0; }

.place-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .place-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .place-grid { grid-template-columns: 1fr 1fr 1fr; } }

.place-card {
    display: block;
    background: white;
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-decoration: none;
    color: inherit;
}
.place-card:hover { border-color: #7ab866; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.place-card .card-img {
    width: 100%; height: 180px; object-fit: cover; display: block;
    background: #f5f5f4;
}
.place-card .card-body { padding: 16px 18px; }
.place-card h3 { font-size: 16px; font-weight: 600; color: #1c1917; margin: 0 0 6px; }
.place-card:hover h3 { color: #2B542C; }
.place-card .card-loc { font-size: 14px; color: #78716c; margin-bottom: 6px; }
.place-card .card-desc { font-size: 14px; color: #57534e; line-height: 1.5; }
.place-card .card-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.place-card .card-tag { font-size: 11px; background: #f5f5f4; color: #57534e; padding: 3px 10px; border-radius: 50px; }
.place-card .card-badge { display: inline-block; font-size: 11px; font-weight: 600; padding: 2px 10px; border-radius: 6px; }
.card-badge-free { background: #DFF0D8; color: #2B542C; }
.card-badge-type { background: #e0e7ff; color: #3730a3; }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1c1917;
    font-family: 'Inter', system-ui, sans-serif;
}
.section-header a {
    font-size: 14px;
    color: #2B542C;
    font-weight: 500;
    text-decoration: none;
}
.section-header a:hover { text-decoration: underline; }

.city-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}
@media (min-width: 640px) { .city-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .city-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .city-grid { grid-template-columns: repeat(6, 1fr); } }
@media (min-width: 1280px) { .city-grid { grid-template-columns: repeat(8, 1fr); } }

.city-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fafaf9;
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    padding: 10px 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, background 0.2s;
}
.city-chip:hover { border-color: #7ab866; background: #f2f8f2; }
.city-chip .plate { font-size: 12px; font-family: monospace; color: #a8a29e; width: 20px; text-align: right; }
.city-chip:hover .plate { color: #2B542C; }
.city-chip .cname { font-size: 14px; font-weight: 500; color: #44403c; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.city-chip:hover .cname { color: #2B542C; }
.city-chip .ccount { font-size: 12px; font-weight: 600; color: #a8a29e; }
.city-chip:hover .ccount { color: #2B542C; }

/* --- Arama Sayfası --- */
.search-hero {
    background: #234423;
    margin-top: -64px;
    padding: 90px 0 40px;
    text-align: center;
}
.search-hero h1 {
    color: white;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 24px;
    font-family: 'Inter', system-ui, sans-serif;
}
@media (min-width: 640px) {
    .search-hero h1 { font-size: 32px; }
}

.search-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.search-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', system-ui, sans-serif;
    text-decoration: none;
}
.search-tab:hover { background: rgba(255,255,255,0.1); color: white; }
.search-tab.active { background: white; color: #234423; border-color: white; font-weight: 600; }

.search-filter-bar {
    background: white;
    border-bottom: 1px solid #e7e5e4;
    padding: 12px 0;
}
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid #e7e5e4;
    background: white;
    color: #57534e;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', system-ui, sans-serif;
}
.filter-pill:hover { border-color: #7ab866; color: #2B542C; }
.filter-pill.active { background: #DFF0D8; color: #2B542C; border-color: #7ab866; font-weight: 600; }

.filter-group-label {
    font-size: 11px;
    font-weight: 700;
    color: #a8a29e;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}
.filter-sep-v {
    display: inline-block;
    width: 1px;
    height: 20px;
    background: #e7e5e4;
    margin: 0 4px;
    align-self: center;
}

.result-card {
    display: block;
    background: white;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    transition: border-color 0.2s;
    text-decoration: none;
    color: inherit;
}
.result-card:hover { border-color: #7ab866; }
.result-card .card-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f5f5f4;
    overflow: hidden;
}
.result-card .card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.result-card:hover .card-thumb img { transform: scale(1.05); }
.result-card .card-thumb-empty {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ecfdf5;
    color: #bbf7d0;
    font-size: 36px;
}
.result-card .card-body { padding: 16px 18px; }
.result-card h3 { font-size: 16px; font-weight: 600; color: #1c1917; margin: 0 0 6px; }
.result-card:hover h3 { color: #2B542C; }
.result-card .location { font-size: 14px; color: #78716c; margin-bottom: 8px; }
.result-card .desc { font-size: 14px; color: #57534e; line-height: 1.5; }
.result-card .badge { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.result-card .badge-free  { background: #DFF0D8; color: #2B542C; }
.result-card .badge-blog  { background: #e0e7ff; color: #3730a3; }
.result-card .badge-type  { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.result-card .badge-bbq   { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }
.result-card .badge-diff-orta { background: #fff7ed; color: #c2410c; border: 1px solid #fdba74; }
.result-card .badge-diff-zor  { background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }

.blog-result-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: white;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    padding: 16px 20px;
    transition: border-color 0.2s;
    text-decoration: none;
    color: inherit;
}
.blog-result-card:hover { border-color: #7ab866; }
.blog-result-card .blog-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}
.blog-result-card h3 { font-size: 15px; font-weight: 600; color: #1c1917; margin: 0 0 4px; }
.blog-result-card:hover h3 { color: #2B542C; }
.blog-result-card .excerpt { font-size: 13px; color: #78716c; line-height: 1.4; }

.results-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .results-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .results-grid { grid-template-columns: 1fr 1fr 1fr; } }

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1c1917;
    margin-bottom: 16px;
    font-family: 'Inter', system-ui, sans-serif;
}

/* --- Article Content (blog/place) --- */
.article-content { font-size: 16px; line-height: 1.7; color: #44403c; }
.article-content p { margin-bottom: 1.25rem; }
.article-content h2 { font-size: 1.4rem; font-weight: 700; color: #1c1917; margin-top: 2rem; margin-bottom: 0.75rem; }
.article-content h3 { font-size: 1.2rem; font-weight: 600; color: #292524; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.article-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-content ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-content li { margin-bottom: 0.35rem; font-size: 16px; }
.article-content a { color: #2B542C; text-decoration: underline; }
.article-content a:hover { color: #3a7030; }
.article-content strong { color: #1c1917; }
@media (min-width: 640px) {
    .article-content { font-size: 17px; }
    .article-content h2 { font-size: 1.5rem; }
    .article-content h3 { font-size: 1.3rem; }
}

/* --- Planner Wizard --- */
.planner-card { background: #fff; border: 1px solid #e7e5e4; }
.planner-card-header { border-radius: 16px 16px 0 0; padding: 24px 28px; }
.planner-card-body { border-radius: 0 0 16px 16px; border-top: 0; }
.planner-step-bar { height: 6px; border-radius: 99px; flex: 1; transition: background 0.2s; }

.planner-search-wrap { position: relative; }
.planner-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #a8a29e;
    font-size: 14px;
    pointer-events: none;
    z-index: 2;
}
.planner-search-input {
    width: 100%;
    padding: 14px 16px 14px 40px;
    border: 1px solid #d6d3d1;
    border-radius: 12px;
    font-size: 15px;
    color: #1c1917;
    background: #fff;
    outline: none;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}
.planner-search-input:focus { border-color: #16a34a; }
.planner-search-input::placeholder { color: #a8a29e; }

.planner-dropdown {
    position: absolute;
    left: 0; right: 0; top: 100%;
    margin-top: 4px;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 30;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: none;
}
.planner-dropdown.is-open { display: block; }

.planner-select-wrap { position: relative; }
.planner-select-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #a8a29e;
    font-size: 12px;
    pointer-events: none;
}
.planner-select {
    width: 100%;
    padding: 12px 40px 12px 14px;
    border: 1px solid #d6d3d1;
    border-radius: 12px;
    font-size: 15px;
    color: #1c1917;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif;
}
.planner-select:focus { border-color: #16a34a; }

/* Step 1: İl + İlçe yan yana (desktop) */
.planner-location-row { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 768px) {
    .planner-location-row { flex-direction: row; }
    .planner-location-row > * { flex: 1; }
}

/* Step 3: Toggles 2x2 grid (desktop) */
.planner-toggles { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 768px) {
    .planner-toggles { grid-template-columns: 1fr 1fr; }
}

.planner-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #fafaf9;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    cursor: pointer;
    user-select: none;
    transition: border-color 0.2s;
}
.planner-toggle-row:hover { border-color: #d6d3d1; }

.planner-toggle-track {
    position: relative;
    width: 40px; height: 24px;
    border-radius: 99px;
    background: #d6d3d1;
    transition: background 0.2s;
    flex-shrink: 0;
}
.planner-toggle-knob {
    position: absolute;
    top: 2px; left: 2px;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.planner-btn {
    width: 100%;
    padding: 14px;
    background: #15803d;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    transition: background 0.2s;
}
.planner-btn:hover { background: #166534; }
.planner-btn-outline {
    width: 100%;
    padding: 14px;
    background: #fff;
    color: #15803d;
    border: 1px solid #15803d;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
    transition: background 0.2s;
}
.planner-btn-outline:hover { background: #f0fdf4; }

/* Sonuç grid */
.planner-results-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) { .planner-results-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .planner-results-grid { grid-template-columns: 1fr 1fr 1fr; } }

.planner-result-card {
    display: block;
    background: #fff;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s;
}
.planner-result-card:hover { border-color: #7ab866; }

/* ========================================
   Mobile Menu (slide-out panel)
   ======================================== */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: #fff;
    z-index: 10000;
    padding: 72px 0 16px;
    box-shadow: -4px 0 16px rgba(0,0,0,.12);
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
}
.mobile-menu-panel.is-open { transform: translateX(0); }
.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    color: #1c1917;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid #f5f5f4;
    transition: background .15s;
}
.mobile-menu-link:hover { background: #f5f5f4; color: #2B542C; }
.mobile-menu-link i { color: #4a8a3c; font-size: 18px; width: 22px; text-align: center; }
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
}
.mobile-menu-overlay.is-open { opacity: 1; pointer-events: auto; }
/* Desktop: hide mobile menu completely */
@media (min-width: 768px) {
    .mobile-menu-panel,
    .mobile-menu-overlay {
        display: none !important;
    }
}
