/* FILE: /assets/css/style.css
    DESC: Custom Design System. Framework kullanılmamıştır.
*/

:root {
    /* Renk Paleti */
    --c-primary: #0a192f;   /* Koyu Lacivert (Trust) */
    --c-secondary: #c5a059; /* Altın Sarısı (Premium) */
    --c-bg: #f8f9fa;        /* Kırık Beyaz */
    --c-text: #2d3436;      /* Koyu Gri Metin */
    --c-white: #ffffff;
    
    /* Fontlar */
    --font-main: 'Inter', sans-serif;
    
    /* Spacing & Borders */
    --radius-md: 12px;
    --shadow-soft: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s ease;
}

/* Reset */
* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }
body { font-family: var(--font-main); background-color: var(--c-bg); color: var(--c-text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* -----------------------------------------------------------
   OBFUSCATED CLASS NAMES (GÜVENLİK İÇİN)
   djt = Layout/Wrappers
   zmh = Components/Cards
   djx = Grid/Structure
   zyn = Interactive/Buttons
----------------------------------------------------------- */

/* Layout Containers */
.djt-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.djt-section { padding: 80px 0; }

/* Header & Nav */
.djt-header-wrap {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: var(--c-primary);
    color: var(--c-white);
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}
.djt-header-wrap.scrolled { padding: 10px 0; box-shadow: 0 5px 20px rgba(0,0,0,0.2); }

.djt-nav-flex { display: flex; justify-content: space-between; align-items: center; }
.djt-logo { font-size: 1.5rem; font-weight: 700; letter-spacing: -1px; color: var(--c-secondary); }

/* Buttons */
.zyn-btn-primary {
    background: var(--c-secondary);
    color: var(--c-primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--c-secondary);
    cursor: pointer;
    transition: var(--transition);
}
.zyn-btn-primary:hover { background: transparent; color: var(--c-secondary); }
.zyn-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; filter: grayscale(1); }

/* --- SEARCH AREA (UPDATED) --- */
.zmh-search-hero {
    position: relative;
    background: var(--c-white);
    padding: 12px 25px; /* Buton kalktığı için padding dengelendi */
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center; /* Dikey ortalama */
    margin-top: 30px;
    max-width: 600px;
    border: 1px solid transparent; /* Focus için hazırlık */
    transition: var(--transition);
}
/* Inputa tıklayınca tüm kutu parlar (Premium UX) */
.zmh-search-hero:focus-within {
    border-color: var(--c-secondary);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.zmh-input-field {
    flex: 1;
    border: none;
    padding: 0 15px;
    font-size: 1.05rem;
    font-family: var(--font-main);
    background: transparent;
    color: var(--c-text);
}
.zmh-clear-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #ccc;
    display: none; /* JS ile block yapılacak */
    padding: 5px;
    transition: var(--transition);
    border-radius: 50%;
}
.zmh-clear-btn:hover {
    color: #ff6b6b; /* Kırmızımsı uyarı rengi */
    background-color: rgba(255, 107, 107, 0.1);
    transform: rotate(90deg); /* Şık dönme efekti */
}

/* Cards (Grid) */
.djx-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.zmh-card-item {
    background: var(--c-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    opacity: 0; /* For Scroll Reveal */
    transform: translateY(30px); /* For Scroll Reveal */
}
.zmh-card-item.revealed { opacity: 1; transform: translateY(0); }

.zmh-card-item:hover { transform: translateY(-5px); border-color: var(--c-secondary); }

.zmh-card-img { height: 200px; object-fit: cover; width: 100%; }
.zmh-card-body { padding: 25px; }
.zmh-card-title { font-size: 1.25rem; margin-bottom: 10px; color: var(--c-primary); }
.zmh-badge { 
    display: inline-block; font-size: 0.75rem; background: var(--c-primary); 
    color: var(--c-secondary); padding: 4px 8px; border-radius: 4px; margin-right: 5px; 
}

/* Animations */
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Sticky Footer */
.djt-mobile-sticky {
    display: none;
    position: fixed; bottom: 0; left: 0; width: 100%;
    background: var(--c-white); z-index: 999;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 10px;
}
@media (max-width: 768px) {
    .djt-mobile-sticky { display: flex; gap: 10px; }
    .djt-mobile-sticky button { flex: 1; padding: 10px; font-size: 0.9rem; }
}

/* --- CITIES PAGE STYLES --- */

/* Mini Hero (Daha kısa üst alan) */
.djt-hero-mini {
    background: linear-gradient(135deg, var(--c-primary) 0%, #1a253a 100%);
    padding: 120px 0 60px 0; /* Header payı dahil */
    text-align: center;
    color: var(--c-white);
    margin-bottom: 40px;
}

/* Horizontal Scroll Container (Sponsorlu Şehirler için Carousel) */
.djt-scroll-snap {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Mobil akıcılık için */
}
/* Scrollbar'ı gizle ama fonksiyonu koru */
.djt-scroll-snap::-webkit-scrollbar { height: 6px; }
.djt-scroll-snap::-webkit-scrollbar-thumb { background: #ccc; border-radius: 10px; }
.djt-scroll-snap::-webkit-scrollbar-track { background: transparent; }

/* City Card Design */
.djx-city-card {
    background: var(--c-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    display: flex;
    flex-direction: column;
}
/* Grid görünümü için */
.djx-grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* Carousel içindeki kartların boyutu sabit olmalı */
.djt-scroll-snap .djx-city-card {
    min-width: 280px;
    scroll-snap-align: start;
}

.djx-city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.zmh-city-img-wrap {
    height: 180px;
    overflow: hidden;
    position: relative;
}
.zmh-city-img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.djx-city-card:hover .zmh-city-img-wrap img { transform: scale(1.1); }

.zmh-city-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.zmh-city-title { font-size: 1.2rem; font-weight: 700; color: var(--c-primary); margin-bottom: 5px; }
.zmh-city-meta { font-size: 0.85rem; color: #666; margin-bottom: 15px; }

.zmh-link-arrow {
    margin-top: auto; /* En alta itmek için */
    color: var(--c-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex; align-items: center; gap: 5px;
}
.djx-city-card:hover .zmh-link-arrow i { transform: translateX(5px); transition: 0.3s; }

/* Sponsored Badge */
.zmh-badge-sponsor {
    position: absolute; top: 10px; left: 10px;
    background: var(--c-secondary); color: var(--c-primary);
    font-size: 0.7rem; font-weight: bold;
    padding: 4px 10px; border-radius: 20px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* --- CITY DETAIL & FILTER STYLES --- */

/* 2-Column Layout */
.djt-layout-sidebar {
    display: flex;
    gap: 30px;
    margin-top: 40px;
    position: relative;
}

/* Sidebar (Sol Taraf) */
.djt-sidebar {
    width: 280px;
    flex-shrink: 0;
}
.djt-content-area {
    flex: 1;
}

/* Filter Box Design */
.zmh-filter-box {
    background: var(--c-white);
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 20px;
}
.zmh-filter-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--c-primary);
    display: flex; justify-content: space-between;
}

/* Checkbox Styling */
.zyn-check-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #555;
}
.zyn-check-group input {
    margin-right: 10px;
    accent-color: var(--c-secondary); /* Checkbox rengi */
    width: 16px; height: 16px;
}
.zyn-check-group:hover { color: var(--c-secondary); }

/* Range Slider (Basit) */
.zmh-range-slider { width: 100%; }

/* Mobile Filter Toggle */
.djt-mobile-filter-btn {
    display: none;
    width: 100%;
    padding: 15px;
    background: var(--c-white);
    border: 1px solid #ddd;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    border-radius: 8px;
    cursor: pointer;
}

/* Course Card (Detailed List Version) */
.zyn-course-card-horiz {
    display: flex;
    background: var(--c-white);
    border: 1px solid #eee;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 20px;
    transition: var(--transition);
}
.zyn-course-card-horiz:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
    border-color: var(--c-secondary);
}
.zyn-c-img { width: 240px; object-fit: cover; }
.zyn-c-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }

/* Responsive */
@media (max-width: 992px) {
    .djt-layout-sidebar { flex-direction: column; }
    .djt-sidebar { 
        width: 100%; 
        display: none; /* Mobilde başlangıçta gizli */
    }
    .djt-sidebar.active { display: block; animation: fadeInUp 0.3s; }
    .djt-mobile-filter-btn { display: block; }
    
    .zyn-course-card-horiz { flex-direction: column; }
    .zyn-c-img { width: 100%; height: 200px; }
}

/* --- DETAIL PAGE STYLES --- */

/* Breadcrumb */
.djt-breadcrumb { padding: 20px 0; font-size: 0.9rem; color: #666; }
.djt-breadcrumb a { color: var(--c-primary); font-weight: 600; }
.djt-breadcrumb i { font-size: 0.7rem; margin: 0 5px; color: #ccc; }

/* Detail Grid Layout */
.djt-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Sol Geniş, Sağ Dar */
    gap: 40px;
    margin-bottom: 60px;
}

/* Gallery */
.zmh-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 30px;
}
.zmh-gallery-main {
    grid-column: span 4;
    height: 400px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f0f0f0;
}
.zmh-gallery-thumb {
    height: 80px;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);
    object-fit: cover;
    width: 100%;
}
.zmh-gallery-thumb:hover, .zmh-gallery-thumb.active { opacity: 1; border: 2px solid var(--c-secondary); }

/* Tabs (Sekmeler) */
.zyn-tabs-nav {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 30px;
    overflow-x: auto; /* Mobilde taşarsa kaydır */
}
.zyn-tab-btn {
    padding: 15px 30px;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    font-family: var(--font-main);
}
.zyn-tab-btn:hover { color: var(--c-primary); }
.zyn-tab-btn.active { color: var(--c-primary); border-color: var(--c-secondary); }

.zyn-tab-content { display: none; animation: fadeInUp 0.5s ease; }
.zyn-tab-content.active { display: block; }

/* Features List */
.zmh-feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.zmh-feature-list li {
    display: flex; align-items: center; font-size: 0.95rem; color: #444;
}
.zmh-feature-list li i { color: var(--c-secondary); margin-right: 10px; font-size: 1.1rem;}

/* Sidebar Card (Sticky) */
.djt-sidebar-sticky {
    position: sticky;
    top: 100px; /* Header yüksekliğine göre ayar */
    background: var(--c-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid #eee;
}

/* Mobile Sticky Footer (Bottom Bar) */
.zyn-mobile-actions {
    display: none; /* Desktopta gizli */
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: var(--c-white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 2000;
    padding: 10px 15px;
    justify-content: space-between;
    gap: 10px;
}
.zyn-action-btn {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--c-primary);
    background: #f0f2f5;
    text-align: center;
}
.zyn-action-btn.primary { background: var(--c-secondary); color: var(--c-primary); font-weight: bold; }
.zyn-action-btn i { font-size: 1.2rem; margin-bottom: 4px; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .djt-detail-grid { grid-template-columns: 1fr; }
    .djt-sidebar-sticky { display: none; } /* Mobilde sidebar kalkar, alt bar gelir */
    .zyn-mobile-actions { display: flex; }
    .zmh-gallery-main { height: 250px; }
    .zmh-gallery-grid { gap: 5px; }
    .zmh-feature-list { grid-template-columns: 1fr; }
}

/* --- COURSE CARD SPECIFICS --- */

.zmh-meta-row {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.zmh-meta-item { display: flex; align-items: center; gap: 5px; }
.zmh-meta-item i { color: var(--c-secondary); }

.zmh-price-tag {
    font-weight: 700;
    color: var(--c-primary);
    font-size: 1.1rem;
}

/* Action Icons Circle */
.zyn-icon-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #eee;
    color: #555;
    transition: var(--transition);
    background: #fff;
}
.zyn-icon-btn:hover { background: var(--c-secondary); color: white; border-color: var(--c-secondary); }
.zyn-icon-btn.whatsapp { color: #25D366; border-color: #25D366; }
.zyn-icon-btn.whatsapp:hover { background: #25D366; color: white; }

/* --- ANA SAYFA YENİ BLOKLAR (style.css altına ekle) --- */

/* Feature Box (Neden Biz?) */
.zmh-feat-box {
    background: var(--c-white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}
.zmh-feat-box:hover { transform: translateY(-5px); border-color: var(--c-secondary); }
.zmh-feat-icon {
    font-size: 2.5rem; color: var(--c-secondary); margin-bottom: 20px;
    display: inline-block;
}

/* Accordion (Sık Sorulan Sorular) */
.zmh-accordion-item {
    background: var(--c-white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
}
.zmh-accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 600; color: var(--c-primary);
    background: #fff;
    transition: var(--transition);
}
.zmh-accordion-header:hover { background: #f9f9f9; }
.zmh-accordion-header i { transition: transform 0.3s ease; color: #ccc; }
.zmh-accordion-item.active .zmh-accordion-header { color: var(--c-secondary); }
.zmh-accordion-item.active .zmh-accordion-header i { transform: rotate(180deg); color: var(--c-secondary); }

.zmh-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    color: #666;
    line-height: 1.6;
}
.zmh-accordion-item.active .zmh-accordion-body {
    padding: 0 20px 20px 20px; /* Açılınca padding ver */
}

/* Blog Card (Carousel için) */
.zmh-blog-card {
    min-width: 300px; /* Carousel için genişlik */
    scroll-snap-align: start;
    background: var(--c-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex; flex-direction: column;
}
.zmh-blog-img { height: 180px; object-fit: cover; width: 100%; transition: 0.5s; }
.zmh-blog-card:hover .zmh-blog-img { transform: scale(1.05); }
.zmh-blog-date { font-size: 0.8rem; color: #999; margin-bottom: 5px; }

/* Alternatif Arkaplanlı Bölüm */
.djt-section-alt { background-color: #f0f2f5; }