/* ============================================================
   PREMIUM STYLE SYSTEM — Firma Rehberi Platformu
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
    /* Brand Colors — Kırmızı/Turuncu/Pembe Karışımı */
    --primary:        #e63946;
    --primary-dark:   #c1121f;
    --primary-light:  #fff0f0;
    --secondary:      #f72585;
    --accent-pink:    #f72585;
    --accent-orange:  #fb8500;
    --accent-green:   #2dc653;
    --accent-cyan:    #06aed5;
    --accent-red:     #e63946;
    --accent-purple:  #7209b7;

    /* Neutrals */
    --gray-50:  #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    /* Semantic */
    --text-primary:   #1e293b;
    --text-secondary: #64748b;
    --text-muted:     #94a3b8;
    --border-color:   #e2e8f0;
    --bg-page:        #f8fafc;
    --bg-card:        #ffffff;

    /* Shadows */
    --shadow-xs:  0 1px 2px rgba(0,0,0,0.05);
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg:  0 8px 32px rgba(0,0,0,0.10);
    --shadow-xl:  0 16px 48px rgba(0,0,0,0.12);

    /* Radius */
    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);

    /* Legacy compat */
    --primary-color: #e63946;
    --secondary-color: #64748b;
    --success-color: #2dc653;
    --info-color: #06aed5;
    --warning-color: #fb8500;
    --danger-color: #e63946;
    --light-color: #f8fafc;
    --dark-color: #1e293b;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-page);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--text-primary); line-height: 1.3; }
a { color: var(--primary); transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; }

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 12px;
    display: inline-block;
    margin-bottom: 6px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ===== CARDS — PREMIUM ===== */
.card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background: var(--bg-card);
    overflow: hidden;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.card:hover .card-img-top { transform: scale(1.04); }
.card-body { padding: 1.25rem; }
.card-title { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.card-text { font-size: 0.875rem; color: var(--text-secondary); }

/* ===== BADGES ===== */
.badge-premium {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 10px; border-radius: var(--radius-full);
    font-size: 0.7rem; font-weight: 700; letter-spacing: 0.3px;
}

/* ===== BUTTONS ===== */
.btn { border-radius: var(--radius-full); font-weight: 600; transition: var(--transition); }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none; color: #fff;
    box-shadow: 0 4px 12px rgba(230,57,70,0.3);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(230,57,70,0.4); color: #fff; }
.btn-outline-primary { border: 2px solid var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }

/* ===== FORMS ===== */
.form-control, .form-select {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--bg-card);
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(67,97,238,0.1);
    outline: none;
}

/* ===== REKLAM ALANLARI ===== */
.reklam-alani {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 12px;
    margin: 1.5rem 0;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}
.reklam-placeholder {
    padding: 2rem;
    background: var(--gray-50);
    border: 2px dashed var(--gray-200);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-weight: 500;
}
.reklam-alani img { max-width: 100%; height: auto; border-radius: var(--radius-md); }

/* ===== TOP HEADER (legacy compat) ===== */
.top-header { border-bottom: 1px solid var(--border-color); }
.top-header a { color: var(--text-secondary); transition: var(--transition); }
.top-header a:hover { color: var(--text-primary); text-decoration: none; }

/* Reklam Alanları */
.reklam-alani {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin: 1.5rem 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.reklam-placeholder {
    padding: 2rem;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    color: #6c757d;
    font-weight: 500;
}

.reklam-alani img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.reklam-alani.top-banner {
    margin: 1rem 0;
}

.reklam-alani.sidebar {
    margin-bottom: 1rem;
}

/* Üst reklam alanı */
.top-ad-container {
    padding: 0;
    height: 60px;
    line-height: 60px;
    overflow: hidden;
}

.top-banner-ad {
    padding: 0;
}

.top-banner-ad div {
    height: 54px;
    padding: 3px 0;
    overflow: hidden;
}

.top-banner-ad h1 {
    font-size: 1.8rem;
    line-height: 1.2;
    margin-bottom: 0;
}

.top-banner-ad p {
    font-size: 0.6rem;
    margin-top: 0;
    line-height: 1;
}

/* Mobil görünüm için */
@media (max-width: 768px) {
    .top-ad-container {
        height: 50px;
        line-height: 50px;
    }
    
    .top-banner-ad div {
        height: 44px;
    }
    
    .top-banner-ad h1 {
        font-size: 1.3rem;
    }
    
    .top-banner-ad p {
        font-size: 0.5rem;
    }
}

@media (max-width: 576px) {
    .top-ad-container {
        height: 40px;
        line-height: 40px;
    }
    
    .top-banner-ad div {
        height: 34px;
        padding: 2px 0;
    }
    
    .top-banner-ad h1 {
        font-size: 1rem;
        line-height: 1;
    }
    
    .top-banner-ad p {
        font-size: 0.4rem;
    }
}

/* Kartlar */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.card-img-top {
    border-radius: 10px 10px 0 0;
    height: 200px;
    object-fit: cover;
}

/* Öne Çıkan Mekanlar */
.featured-places .card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.featured-places .card:hover {
    transform: translateY(-5px);
}

.featured-places .card-img-top {
    height: 200px;
    object-fit: cover;
}

.featured-places .card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.featured-places .card-text {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.featured-places .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 8px 20px;
    font-size: 0.9rem;
}

.featured-places .btn-primary:hover {
    background-color: #0056b3;
}

/* Son Sorular */
.recent-questions {
    background: white;
    border-radius: 10px;
    padding: 1rem;
}

.recent-questions .list-group-item {
    border: none;
    padding: 0.5rem 0;
}

.recent-questions .list-group-item a {
    color: var(--dark-color);
    text-decoration: none;
}

.recent-questions .list-group-item a:hover {
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e9ecef;
}

.footer-heading {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #e9ecef;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.contact-info li i {
    color: var(--primary-color);
    width: 20px;
}

.newsletter .form-control {
    border-radius: 4px 0 0 4px;
    border: 1px solid #ced4da;
    height: 42px;
}

.newsletter .btn {
    border-radius: 0 4px 4px 0;
    height: 42px;
}

.footer-bottom {
    background-color: #f1f3f5;
    border-top: 1px solid #e9ecef;
}

.payment-methods {
    opacity: 0.9;
    transition: all 0.3s ease;
    max-width: 150px;
    height: auto;
}

.payment-methods:hover {
    opacity: 1;
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .site-header {
        padding: 0.5rem 0;
    }
    
    .main-menu .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    .how-it-works-top .row {
        flex-direction: column;
    }
    
    .how-it-works-top h5 {
        text-align: center;
        margin: 1rem 0;
    }
    
    .step-item {
        margin-bottom: 10px;
    }
    
    /* Mobil ekran için buton düzenlemeleri */
    .button-group {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-btn {
        height: 60px;
        width: 80px;
        margin-bottom: 5px;
        padding: 5px !important;
    }
    
    .header-btn i {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .header-btn span {
        font-size: 0.6rem;
    }
    
    /* Mobil görünüm için reklam alanı ayarları */
    .top-banner-ad h1, .bottom-banner-ad h1 {
        font-size: 1.8rem !important;
    }
    
    .top-banner-ad p, .bottom-banner-ad p {
        font-size: 0.7rem !important;
    }
    
    /* Mobil görünüm için arama kutusu */
    .search-box {
        width: 100%;
    }
    
    /* Mobil görünüm için üst menü logosu ve arama kutusu */
    .site-header .row {
        flex-direction: column;
    }
    
    .site-header .col-md-3, 
    .site-header .col-md-5,
    .site-header .col-md-4 {
        width: 100%;
        margin-bottom: 10px;
        text-align: center;
    }
    
    .site-header .col-md-4 {
        text-align: center;
    }
    
    /* Footer mobil görünüm düzenlemeleri */
    .footer-heading {
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .button-group {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .button-group .header-btn {
        width: 110px;
        height: 65px;
        margin-bottom: 10px;
    }
    
    /* Çok küçük ekranlar için reklam alanı düzenlemeleri */
    .top-banner-ad h1, .bottom-banner-ad h1 {
        font-size: 1.5rem !important;
    }
    
    .top-banner-ad p, .bottom-banner-ad p {
        font-size: 0.6rem !important;
    }
    
    /* Slider içeriği küçük ekranlarda düzenleme */
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slide-inner {
        height: 40vh;
    }
    
    /* Ana menü mobil görünüm iyileştirmeleri */
    .navbar-nav {
        padding: 0.5rem;
    }
    
    .dropdown-menu {
        border: none;
        background-color: rgba(0, 0, 0, 0.03);
        padding: 0;
    }
    
    /* Mobil görünümde görsellerin boyutları */
    .event-card .card-img-top,
    .featured-places .card-img-top {
        height: 150px;
    }
}

/* Extra small - Çok küçük ekranlar için ek düzenlemeler */
@media (max-width: 360px) {
    .top-banner-ad h1, .bottom-banner-ad h1 {
        font-size: 1.2rem !important;
        padding: 5px 0 !important;
    }
    
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    
    .header-btn {
        margin-bottom: 5px;
        width: 100%;
        max-width: 150px;
    }
}

/* ===== HERO SLIDER — PREMIUM ===== */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    box-shadow: var(--shadow-xl);
}
.main-slider { position: relative; overflow: hidden; width: 100%; height: 480px; }
.main-slider .swiper-slide { width: 100%; height: 100%; position: relative; overflow: hidden; }
.slide-inner {
    position: relative; width: 100%; height: 480px;
    background-size: cover; background-position: center; background-repeat: no-repeat;
    display: flex; align-items: center; justify-content: center;
}
.slide-inner::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.65) 0%, rgba(67,97,238,0.25) 100%);
    z-index: 1;
}
.slide-content {
    position: relative; z-index: 2; color: #fff;
    text-align: center; max-width: 80%; padding: 20px;
}
.slide-content h2 {
    font-size: 2.8rem; font-weight: 800; margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    letter-spacing: -0.5px;
}
.slide-content p {
    font-size: 1.15rem; margin-bottom: 28px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
    opacity: 0.9;
}
.swiper-button-next, .swiper-button-prev {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    width: 48px; height: 48px;
    border-radius: 50%;
    color: #fff !important;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.2);
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.08);
}
.swiper-button-next:after, .swiper-button-prev:after { font-size: 18px; font-weight: 700; }
.swiper-pagination-bullet { width: 10px; height: 10px; background: rgba(255,255,255,0.5); opacity: 1; }
.swiper-pagination-bullet-active { background: #fff; width: 28px; border-radius: 5px; }

@media (max-width: 991px) { .main-slider, .slide-inner { height: 380px; } .slide-content h2 { font-size: 2rem; } }
@media (max-width: 767px) { .main-slider, .slide-inner { height: 300px; } .slide-content h2 { font-size: 1.6rem; } }
@media (max-width: 576px) {
    .main-slider, .slide-inner { height: 240px; }
    .slide-content h2 { font-size: 1.3rem; }
    .swiper-button-next, .swiper-button-prev { display: none !important; }
}

/* ===== FIRMA / MEKAN KARTLARI — PREMIUM ===== */
.firma-card, .featured-places .card, .event-card {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
    background: var(--bg-card);
}
.firma-card:hover, .featured-places .card:hover, .event-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}
.firma-card .card-img-top,
.featured-places .card-img-top,
.event-card .card-img-top {
    height: 200px; object-fit: cover;
    transition: transform 0.4s ease;
}
.firma-card:hover .card-img-top,
.featured-places .card:hover .card-img-top,
.event-card:hover .card-img-top { transform: scale(1.05); }
.one-cikan-badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    background: linear-gradient(135deg, var(--accent-orange), #e67e00);
    color: #fff; font-size: 0.68rem; font-weight: 800;
    padding: 3px 10px; border-radius: var(--radius-full);
    letter-spacing: 0.3px; text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(251,133,0,0.4);
}
.rating-badge {
    display: inline-flex; align-items: center; gap: 4px;
    background: rgba(255,193,7,0.12); color: #b45309;
    border: 1px solid rgba(255,193,7,0.3);
    padding: 2px 8px; border-radius: var(--radius-full);
    font-size: 0.75rem; font-weight: 700;
}
.rating-badge i { color: #f59e0b; font-size: 0.7rem; }

/* ===== ANLAŞMALI FİRMALAR SLİDER ===== */
.anlasmali-firmalar-slider {
    padding: 10px 0 40px;
    position: relative; overflow: hidden;
    margin: 0 auto;
}
.anlasmali-firmalar-slider .swiper-pagination { bottom: 0; }
.anlasmali-firmalar-slider .swiper-button-next,
.anlasmali-firmalar-slider .swiper-button-prev {
    color: var(--primary); top: 45%;
    width: 38px; height: 38px;
    background: var(--bg-card);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}
.anlasmali-firmalar-slider .swiper-button-next:after,
.anlasmali-firmalar-slider .swiper-button-prev:after { font-size: 16px; font-weight: 700; }
.anlasmali-firmalar-slider .swiper-button-next { right: 10px; }
.anlasmali-firmalar-slider .swiper-button-prev { left: 10px; }

.firma-card {
    transition: all 0.3s ease;
    height: 100%;
}

.firma-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: 1.6rem; font-weight: 800; color: var(--text-primary);
    position: relative; padding-bottom: 12px; display: inline-block; margin-bottom: 6px;
}
.section-title::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 40px; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}
.section-subtitle { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 0; }

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff; position: relative; overflow: hidden;
    border-radius: var(--radius-xl); padding: 4rem 2rem;
}
.cta-section h2 { font-weight: 800; position: relative; z-index: 1; }
.cta-section p { opacity: 0.85; position: relative; z-index: 1; }
.cta-section .btn-light {
    background: #fff; color: var(--primary); border: none;
    font-weight: 700; padding: 12px 28px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2); position: relative; z-index: 1;
}
.cta-section .btn-light:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

/* ===== KATEGORİ KARTLARI ===== */
.category-card { display: block; text-decoration: none; color: var(--text-primary); transition: var(--transition); }
.category-card:hover { transform: translateY(-5px); color: var(--primary); }
.category-card .card { border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); transition: var(--transition); border-radius: var(--radius-lg); }
.category-card:hover .card { box-shadow: var(--shadow-lg); border-color: transparent; }
.category-card .card-body { padding: 2rem; text-align: center; }
.category-card .fa-4x { transition: transform 0.3s ease; }
.category-card:hover .fa-4x { transform: scale(1.15); }

/* ===== DEĞERLENDİRME SİSTEMİ ===== */
.starrating { display: flex; flex-direction: row-reverse; justify-content: flex-start; margin-bottom: 20px; }
.starrating .rating { display: inline-flex; background: var(--gray-50); padding: 15px; border-radius: var(--radius-md); box-shadow: var(--shadow-xs); }
.starrating input { display: none; }
.starrating label { color: var(--gray-300); cursor: pointer; font-size: 30px; padding: 0 5px; transition: var(--transition); }
.starrating label:hover, .starrating label:hover ~ label, .starrating input:checked ~ label { color: #f59e0b; transform: scale(1.2); }
.rating-overall { font-size: 48px; font-weight: 800; color: var(--text-primary); text-align: center; line-height: 1; }
.rating-stars { text-align: center; color: #f59e0b; font-size: 20px; margin: 10px 0; }
.rating-count { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 15px; }
.rating-bar { display: flex; align-items: center; margin-bottom: 5px; }
.rating-label { flex: 0 0 40px; font-size: 14px; color: var(--text-muted); }
.rating-progress { flex: 1; height: 8px; margin: 0 10px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.rating-progress-bar { height: 100%; background: linear-gradient(90deg, #f59e0b, #fbbf24); border-radius: 4px; }
.rating-percent { flex: 0 0 40px; font-size: 14px; color: var(--text-muted); text-align: right; }

/* ===== SCROLL TO TOP ===== */
.scroll-to-top, #back-to-top {
    position: fixed; bottom: 28px; right: 22px;
    width: 42px; height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 0.9rem;
    opacity: 0; visibility: hidden; transition: var(--transition);
    box-shadow: 0 4px 16px rgba(67,97,238,0.4); z-index: 1039; border: none; cursor: pointer;
}
.scroll-to-top.active, #back-to-top.show { opacity: 1; visibility: visible; }
.scroll-to-top:hover, #back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(67,97,238,0.5); color: #fff; }

/* ===== SIDEBAR MENÜ ===== */
.sidebar-nav-link {
    display: flex; align-items: center; gap: 12px;
    padding: 10px 14px; color: var(--text-primary); text-decoration: none;
    border-radius: var(--radius-md); font-size: 0.88rem; font-weight: 600;
    transition: var(--transition); margin-bottom: 2px;
}
.sidebar-nav-link:hover { background: var(--primary-light); color: var(--primary); transform: translateX(3px); }
.sidebar-nav-link i { width: 20px; text-align: center; font-size: 1rem; color: var(--primary); }

/* ===== KATEGORİ MENÜ ===== */
.category-menu-container {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 8px; margin: 15px 0; padding: 12px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto; scrollbar-width: none;
}
.category-menu-container::-webkit-scrollbar { display: none; }
.category-menu-item {
    display: flex; align-items: center; padding: 7px 14px;
    background: var(--gray-50); border-radius: var(--radius-full);
    transition: var(--transition); text-decoration: none; color: var(--text-primary);
    border: 1.5px solid var(--border-color); font-size: 0.83rem; font-weight: 600; white-space: nowrap;
}
.category-menu-item:hover { background: var(--primary-light); color: var(--primary); border-color: #c5d0ff; transform: translateY(-1px); }
.category-menu-item i { margin-right: 6px; color: var(--primary); font-size: 0.85rem; }

/* ===== PAGINATION ===== */
.pagination .page-link {
    border-radius: var(--radius-md) !important; margin: 0 2px;
    border: 1.5px solid var(--border-color); color: var(--text-primary);
    font-weight: 600; font-size: 0.88rem; transition: var(--transition);
}
.pagination .page-link:hover { background: var(--primary-light); color: var(--primary); border-color: var(--primary); }
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: transparent; color: #fff;
    box-shadow: 0 4px 12px rgba(230,57,70,0.3);
}

/* ===== ALERTS ===== */
.alert { border-radius: var(--radius-md); border: none; font-weight: 500; }
.alert-success { background: rgba(45,198,83,0.1); color: #166534; }
.alert-danger { background: rgba(230,57,70,0.1); color: #991b1b; }
.alert-info { background: rgba(6,174,213,0.1); color: #0c4a6e; }
.alert-warning { background: rgba(251,133,0,0.1); color: #92400e; }

/* ===== UTILITY ===== */
.text-gradient { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bg-gradient-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.hover-lift { transition: var(--transition); }
.hover-lift:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.divider-gradient { height: 3px; border: none; background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent); margin: 2rem 0; }

/* ===== SKELETON LOADING ===== */
.skeleton { background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%); background-size: 200% 100%; animation: skeleton-loading 1.5s infinite; border-radius: var(--radius-md); }
@keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .category-menu-container { flex-wrap: nowrap; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
    .category-menu-item { flex: 0 0 auto; }
    .filter-section { padding: 1rem; }
    .cta-section { padding: 2.5rem 1.5rem; border-radius: var(--radius-lg); }
}
@media (max-width: 576px) { .section-title { font-size: 1.3rem; } }

/* Popüler Kategoriler */
.category-card {
    display: block;
    text-decoration: none;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    color: var(--primary-color);
}

.category-card .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.category-card:hover .card {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.category-card .card-body {
    padding: 2rem;
}

.category-card .fa-4x {
    transition: transform 0.3s ease;
}

.category-card:hover .fa-4x {
    transform: scale(1.2);
}

/* Son Yorumlar */
.recent-reviews .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

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

.recent-reviews .card-text {
    font-style: italic;
    color: #555;
    position: relative;
    padding-left: 1rem;
}

.recent-reviews .card-text::before {
    content: """;
    font-size: 2rem;
    position: absolute;
    left: 0;
    top: -0.5rem;
    color: var(--primary-color);
    opacity: 0.3;
}

/* CTA Bölümü */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png');
    opacity: 0.05;
}

.cta-section h2 {
    font-weight: 700;
}

.cta-section .btn-primary {
    background: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-section .btn-primary:hover {
    background: rgba(255,255,255,0.9);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
}

/* Etkinlik Kartları */
.event-card {
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

.event-card .card-img-top {
    height: 200px;
    object-fit: cover;
}

.event-category {
    position: absolute;
    top: 10px;
    right: 10px;
}

.event-date {
    color: #0d6efd;
    font-weight: bold;
}

/* Etkinlik Filtreleri */
.filter-section {
    background: #f8f9fa;
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-section .form-label {
    font-weight: 500;
    color: #212529;
}

@media (max-width: 992px) {
    .button-group {
        justify-content: center;
        margin-top: 15px;
    }
}

.category-menu-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.category-menu-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.category-menu-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    background-color: #f8f9fa;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
    border: 1px solid #e9ecef;
    min-width: 120px;
    justify-content: center;
}

.category-menu-item:hover {
    background-color: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    color: #0d6efd;
}

.category-menu-item i {
    margin-right: 8px;
    color: #0d6efd;
    font-size: 1rem;
}

/* Mobil cihazlar için uyarlama */
@media (max-width: 768px) {
    .category-menu-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 10px 0;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
    }
    
    .category-menu-item {
        flex: 0 0 auto;
        min-width: 100px;
        padding: 8px 12px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    /* Üst menü düzenlemeleri */
    .top-header .list-inline {
        justify-content: center;
        padding: 0;
        margin: 0;
    }
    
    .top-header .list-inline-item {
        margin-bottom: 5px;
    }
}

/* Hamburger Menü Butonu */
.menu-toggle-btn {
    width: 40px;
    height: 40px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle-btn i {
    font-size: 1.5rem;
    color: #0d6efd;
}

.menu-toggle-btn:hover {
    background-color: #e9ecef;
}

/* Kenar Çekmece Menü Stilleri */
.offcanvas-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.offcanvas-title {
    font-weight: 600;
    color: #333;
}

.sidebar-nav {
    margin-top: 10px;
}

.sidebar-nav-item {
    margin-bottom: 12px;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border-radius: 10px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-nav-link:hover {
    background-color: #e9ecef;
    color: #0d6efd;
    transform: translateX(5px);
}

.sidebar-nav-link i {
    margin-right: 12px;
    font-size: 1.2rem;
    min-width: 25px;
    color: #0d6efd;
}

.sidebar-footer {
    margin-top: 20px;
}

.sidebar-footer .sidebar-nav-link {
    background-color: #fff;
    border: 1px solid #e9ecef;
}

.sidebar-footer .sidebar-nav-item {
    margin-bottom: 10px;
}

@media (max-width: 576px) {
    .menu-toggle-btn {
        width: 36px;
        height: 36px;
    }
    
    .menu-toggle-btn i {
        font-size: 1.3rem;
    }
}

/* Blog ve Etkinlik Sayfaları Ortak Stilleri */
.blog-page .container-fluid.bg-danger,
.blog-detail-page .container-fluid.bg-danger,
.event-detail-page .container-fluid.bg-danger {
    margin-bottom: 20px !important;
}

.category-menu-container {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
}

/* Ana menü stillerini düzelt */
.main-header {
    margin-bottom: 0 !important;
}

/* Değerlendirme Sistemi */
.starrating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.starrating .rating {
    display: inline-flex;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.starrating input {
    display: none;
}

.starrating label {
    color: #ddd;
    cursor: pointer;
    font-size: 30px;
    padding: 0 5px;
    transition: all 0.3s ease;
}

.starrating label i {
    transition: all 0.2s ease;
}

.starrating label:hover,
.starrating label:hover ~ label,
.starrating input:checked ~ label {
    color: #ffc107;
    transform: scale(1.2);
}

.starrating label:hover i,
.starrating label:hover ~ label i,
.starrating input:checked ~ label i {
    text-shadow: 0 0 5px rgba(255, 193, 7, 0.5);
}

/* Değerlendirme puanlarının etiketleri */
.rating-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
    padding: 0 5px;
    width: 100%;
    max-width: 200px;
}

.rating-labels .low {
    font-size: 12px;
    color: #6c757d;
}

.rating-labels .high {
    font-size: 12px;
    color: #6c757d;
    text-align: right;
}

.review-list {
    margin-top: 20px;
}

.review-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.reviewer-info {
    display: flex;
    align-items: center;
}

.reviewer-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.reviewer-name {
    font-weight: bold;
}

.review-rating {
    color: #ffc107;
}

.review-date {
    font-size: 0.85rem;
    color: #6c757d;
}

.review-content {
    margin-top: 5px;
}

/* Değerlendirme İstatistikleri */
.rating-stats {
    background-color: #f9f9f9;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
}

.rating-overall {
    font-size: 48px;
    font-weight: bold;
    color: #333;
    text-align: center;
    line-height: 1;
}

.rating-stars {
    text-align: center;
    color: #ffc107;
    font-size: 20px;
    margin: 10px 0;
}

.rating-count {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 15px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.rating-label {
    flex: 0 0 40px;
    font-size: 14px;
    color: #6c757d;
}

.rating-progress {
    flex: 1;
    height: 10px;
    margin: 0 10px;
    background-color: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.rating-progress-bar {
    height: 100%;
    background-color: #ffc107;
    border-radius: 5px;
}

.rating-percent {
    flex: 0 0 40px;
    font-size: 14px;
    color: #6c757d;
    text-align: right;
} 

/* ===== BLOG DETAY — Premium İçerik Stilleri ===== */
.blog-content {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #334155;
    font-family: inherit;
}
.blog-content h1, .blog-content h2, .blog-content h3,
.blog-content h4, .blog-content h5, .blog-content h6 {
    color: #1e293b;
    font-weight: 800;
    margin-top: 36px;
    margin-bottom: 14px;
    line-height: 1.3;
}
.blog-content h2 { font-size: 1.5rem; }
.blog-content h3 { font-size: 1.25rem; }
.blog-content h4 { font-size: 1.1rem; }
.blog-content p { margin-bottom: 20px; }
.blog-content ul, .blog-content ol {
    margin-bottom: 20px;
    padding-left: 28px;
}
.blog-content li { margin-bottom: 8px; line-height: 1.7; }
.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 24px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: block;
}
.blog-content a {
    color: var(--primary, #e63946);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}
.blog-content a:hover { border-bottom-color: var(--primary, #e63946); }
.blog-content blockquote {
    background: #fff8f8;
    border-left: 4px solid var(--primary, #e63946);
    padding: 18px 22px;
    margin: 28px 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
    font-size: 1.05rem;
}
.blog-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 22px;
    border-radius: 12px;
    overflow-x: auto;
    font-size: 0.88rem;
    margin: 24px 0;
    line-height: 1.6;
}
.blog-content code {
    background: #f1f5f9;
    color: var(--primary, #e63946);
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.88rem;
}
.blog-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}
.blog-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.blog-content th {
    background: var(--primary, #e63946);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    font-size: 0.9rem;
}
.blog-content td {
    padding: 11px 16px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
}
.blog-content tr:last-child td { border-bottom: none; }
.blog-content tr:nth-child(even) td { background: #f8fafc; }
.blog-content hr {
    border: none;
    border-top: 2px solid #f1f5f9;
    margin: 32px 0;
}
