/* Modern Blois Guide UI CSS */

:root {
    --primary: #5D3EBC; /* Getir Purple */
    --primary-light: #6c4bce;
    --secondary: #FFD300; /* Getir Yellow */
    --dark: #1F2024;
    --light: #F8F9FA;
    --white: #ffffff;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --border-color: #ebecf0;
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(93, 62, 188, 0.2); /* Purple shadow */
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Outfit', sans-serif !important;
    background-color: var(--light);
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- Navbar --- */
.modern-nav {
    background: rgba(255, 255, 255, 0.95) !important;
    /* backdrop-filter: blur(10px) !important; - Mobil menü (fixed position) bug'ına yol açtığı için kaldırıldı */
    box-shadow: var(--shadow-sm) !important;
    border-bottom: 1px solid var(--border-color) !important;
    position: relative;
    z-index: 9999;
}
.header-main .top-bar {
    background: transparent !important;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
}
.horizontal-main {
    background: transparent !important;
}
/* Nav layout düzelt — d-md-flex float:right'ı etkisiz kılıyordu, logo+nav alt alta diziliyordu */
.horizontal-mainwrapper {
    display: flex !important;
    align-items: center;
}
.desktoplogo {
    float: none !important;
    flex-shrink: 0;
    padding: 8px 0 !important;
    margin-right: 10px;
}
.desktoplogo img {
    width: 180px !important;
    height: auto;
    display: block;
}
nav.horizontalMenu {
    float: none !important;
    flex: 1;
    display: block !important;
    font-size: 14px !important;
}
/* Nav items horizontal padding küçült — 9 item tek satıra sığsın */
.horizontalMenu > .horizontalMenu-list > li > a {
    padding-left: 8px !important;
    padding-right: 8px !important;
}
/* Dropdown / megamenu pozisyonu — yeni nav bar yüksekliğine göre */
.horizontalMenu > .horizontalMenu-list > li > .horizontal-megamenu,
.horizontalMenu > .horizontalMenu-list > li > ul.sub-menu {
    top: 94px;
}
.logo-modern {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.btn-modern {
    background: linear-gradient(135deg, #FFE54C, var(--secondary)) !important;
    color: var(--primary) !important; /* Purple text on yellow button */
    border-radius: 50px !important;
    padding: 8px 24px !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255, 211, 0, 0.3) !important;
    transition: var(--transition) !important;
}
.btn-modern:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(255, 211, 0, 0.5) !important; color: var(--primary) !important; }

/* --- Stories Widget --- */
.stories-container {
    padding: 20px 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: -15px; /* Hero'ya bitişik olsun */
}
.story-item {
    display: inline-block;
    text-align: center;
    margin-right: 20px;
    cursor: pointer;
}
.story-ring {
    width: 70px; height: 70px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    margin: 0 auto 5px;
}
.story-img {
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 2px solid white;
    object-fit: cover;
}
.story-title { font-size: 12px; font-weight: 500; color: var(--text-muted); }

/* --- Hero & Search Tabs --- */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 0 100px;
    background: #3d2a8a;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(93, 62, 188, 0.88), rgba(71, 46, 149, 0.95));
    z-index: 1;
}

/* Inner Page Hero */
.inner-hero-section {
    position: relative;
    padding: 60px 0;
    background-size: cover !important;
    background-position: center !important;
}
.inner-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(93, 62, 188, 0.9), rgba(71, 46, 149, 0.95)); /* Getir Purple */
}
.inner-hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

/* Contact List */
.contact-list-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}
.contact-list-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 16px;
}
.contact-list-text {
    font-size: 15px;
    color: var(--text-main);
    font-weight: 500;
}
.contact-list-text a {
    color: var(--text-main);
    text-decoration: none;
}
.contact-list-text a:hover {
    color: var(--primary);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}
.hero-content h1 { font-weight: 800; font-size: 3rem; margin-bottom: 10px; }
.hero-content p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px; }

.search-wrapper {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-lg);
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    max-width: 900px;
    margin: 0 auto;
}
.search-nav-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-bottom: none !important;
    gap: 5px;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}
.search-nav-tabs .nav-link {
    border: none !important;
    border-radius: 50px !important;
    color: white !important;
    opacity: 0.8;
    font-weight: 500;
    padding: 8px 20px !important;
    background: transparent !important;
}
.search-nav-tabs .nav-link.active {
    background: white !important;
    color: var(--primary) !important;
    opacity: 1;
    box-shadow: var(--shadow-sm);
}
.search-form-row {
    background: white;
    border-radius: var(--radius-md);
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
}
.search-form-row .form-group { margin-bottom: 0 !important; }
.search-form-row .form-control {
    border: none !important;
    background: var(--light) !important;
    border-radius: 8px !important;
    height: 50px !important;
    box-shadow: none !important;
}
.search-form-row .btn {
    height: 50px;
    border-radius: 8px !important;
    font-weight: 600;
}

/* --- Small Categories (Carousel Alternative) --- */
.small-cats-wrapper {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    padding: 0 30px;
}
.small-cats-wrapper .owl-carousel {
    overflow: visible;
}
.small-cat-card {
    background: white !important;
    border-radius: var(--radius-md) !important;
    padding: 20px 10px !important;
    text-align: center !important;
    box-shadow: var(--shadow-md) !important;
    transition: var(--transition) !important;
    color: var(--text-main) !important;
    text-decoration: none !important;
    display: block !important;
    border: none !important;
}
.small-cat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg) !important; color: var(--primary) !important; }
.small-cat-card i { font-size: 28px !important; color: var(--primary) !important; margin-bottom: 10px; display:block; }
.small-cat-card h5 { font-size: 13px !important; font-weight: 600 !important; margin: 0; }

/* --- Section Titles --- */
.modern-title {
    text-align: center;
    margin-bottom: 40px;
}
.modern-title h1, .modern-title h2 { font-weight: 800; color: var(--dark); font-size: 2rem; margin-bottom:10px; }
.modern-title p { color: var(--text-muted); font-size:1.1rem; }

/* --- Popular Businesses (Vitrin) --- */
.vitrin-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration:none !important;
}
.vitrin-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.vitrin-img-wrapper {
    width: 80px; height: 80px;
    margin: 0 auto 15px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.vitrin-img-wrapper img { width: 100%; height: 100%; object-fit: contain; }
.vitrin-card h6 { font-weight: 700; color: var(--dark); font-size: 14px; margin: 0; text-decoration:none !important; }

/* --- Sidebar & Main Content Layout --- */
.sidebar-widget {
    background: white;
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}
.sidebar-widget .card-header {
    background: transparent;
    border-bottom: 2px solid var(--light);
    padding: 0 0 10px 0;
    margin-bottom: 15px;
}
.sidebar-widget .card-title {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--dark) !important;
    margin:0 !important;
}
.sidebar-widget .card-title i { color: var(--primary); margin-right: 8px; }
.sidebar-widget .card-body { padding: 0; }

.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list li { margin-bottom: 10px; border:none !important; }
.cat-list a {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 5px 0;
}
.cat-list a:hover { color: var(--primary); transform: translateX(5px); }
.cat-badge { background: var(--light) !important; color: var(--primary) !important; padding: 2px 8px !important; border-radius: 12px !important; font-size: 12px !important; border:none; }
.badgetext { align-self: flex-start !important; flex-shrink: 0 !important; }

/* Blog / Fırsat Mini Cards in Sidebar */
.mini-card {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}
.mini-card:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.mini-img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.mini-info h6, .mini-info h4 { font-size: 13px !important; font-weight: 600 !important; margin: 0 0 5px 0 !important; color: var(--dark) !important; line-height: 1.2 !important; }
.mini-info a { color: var(--dark); text-decoration: none; }
.mini-info a:hover { color: var(--primary); }
.mini-info span { font-size: 11px; color: var(--text-muted); }

/* --- Main Content Cards --- */
.main-card {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}
.main-card-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}
.main-card-header h3 { font-size: 1.2rem; font-weight: 700; margin: 0; color: var(--dark); }

/* Stats row */
.stat-box {
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius-md);
    transition: var(--transition);
    height: 100%;
}
.stat-box:hover { background: var(--primary); color: white; transform: translateY(-5px); box-shadow: var(--shadow-md); }
.stat-box:hover h4, .stat-box:hover h6, .stat-box:hover p { color: white !important; }
.stat-icon { font-size: 30px; margin-bottom: 10px; color: var(--secondary); }
.stat-box:hover .stat-icon { color: white; }
.stat-box h4 { font-size: 24px !important; font-weight: 800 !important; margin: 0; color: var(--dark) !important; }
.stat-box h6 { font-size: 13px !important; margin: 0 0 5px 0 !important; opacity: 0.9 !important; font-weight:600; color:var(--text-muted); }

/* Listing Item */
.list-item {
    display: flex;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
.list-item:hover { background: #fcfcfd; }
.list-item:last-child { border-bottom: none; }
.list-img { width: 80px; height: 80px; border-radius: var(--radius-md); object-fit: contain; margin-right: 20px; border:1px solid #eee; padding:5px; }
.list-content { flex: 1; display:flex; flex-direction:column; justify-content:center; }
.list-title { font-size: 1.1rem; font-weight: 700; color: var(--dark); margin: 0 0 5px 0; text-decoration: none; display: inline-block; }
.list-title:hover { color: var(--primary); }
.list-meta { display: flex; gap: 15px; font-size: 12px; color: var(--text-muted); margin-top:5px; }

/* --- Footer --- */
.modern-footer {
    background: var(--dark) !important;
    color: rgba(255,255,255,0.7) !important;
    padding: 60px 0 20px !important;
}
.modern-footer p { color: rgba(255,255,255,0.7) !important; }
.footer-title { color: white !important; font-weight: 700 !important; font-size: 1.1rem !important; margin-bottom: 20px !important; text-transform: uppercase; letter-spacing: 1px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; border:none; padding:0; }
.footer-links a { color: rgba(255,255,255,0.7) !important; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-light) !important; padding-left: 5px; }
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.1); border-radius: 50%; color: white !important; margin-right: 8px; transition: var(--transition); }
.social-icons a:hover { background: var(--primary); transform: translateY(-3px); }

/* --- Mobile Adjustments --- */
@media (max-width: 768px) {
    .search-wrapper {
        padding: 5px;
    }
    .search-nav-tabs {
        flex-wrap: wrap;
        justify-content: center;
        padding: 5px;
        gap: 6px;
    }
    .search-nav-tabs .nav-item {
        flex: 1 1 auto;
    }
    .search-nav-tabs .nav-link {
        white-space: nowrap;
        font-size: 12px;
        padding: 8px 12px !important;
        display: block;
        text-align: center;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        border-radius: 8px !important;
    }
    .search-nav-tabs .nav-link.active {
        background: white !important;
        color: var(--primary) !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    }
    .search-form-row {
        flex-direction: column;
        padding: 8px;
        gap: 8px;
    }
    .search-form-row .form-group, .search-form-row .btn {
        width: 100%;
        flex: none !important;
    }
    .search-form-row .btn {
        margin-top: 5px;
    }
}

/* --- News Grid Cards (actualites-blois) --- */
.news-card-link {
    text-decoration: none !important;
    display: block;
    height: 100%;
}
.news-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}
.news-card-img {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    height: 200px;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.news-card:hover .news-card-img img {
    transform: scale(1.05);
}
.news-cat-badge {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: var(--primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}
.news-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-date {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.news-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--dark) !important;
    line-height: 1.4 !important;
    margin-bottom: 8px !important;
    flex: 1;
}
.news-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 12px;
}
.news-read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-top: auto;
}
.news-card:hover .news-read-more {
    color: var(--primary-light);
}
