/* ==========================================================
   AYTEKİN METAL - MASTER CSS (ÖN YÜZ & ADMIN DARK THEME)
   ========================================================== */

/* 1. Pürüzsüz Menü Kaydırma & Mavi Scrollbar */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    overflow-x: clip;
    /* Sticky mekanizmasını bozmadan yatay taşmayı engeller */
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 2. Temalar ve Renk Paleti (Logo & Aksan Renk Uyumu) */
:root {
    --primary: #1E73BE;
    --primary-dark: #12528C;
    --primary-light: rgba(30, 115, 190, 0.12);
    --secondary: #8D9297;
    --secondary-dark: #6C757D;
    --secondary-light: rgba(141, 146, 151, 0.15);

    /* Aksan Renkleri */
    --accent-amber: #F59E0B;
    --accent-amber-glow: rgba(245, 158, 11, 0.35);
    --whatsapp: #25D366;

    /* Light Theme */
    --bg-main: #FFFFFF;
    --bg-card: #F8FAFC;
    --bg-glass: rgba(255, 255, 255, 0.95);
    --text-main: #0F172A;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 20px 30px -10px rgba(15, 23, 42, 0.12);
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-main: #0B1120;
    --bg-card: #151F32;
    --bg-glass: rgba(21, 31, 50, 0.95);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border-color: #233148;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.6);
}

/* 3. Sıfırlama ve Temel Kurallar */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: clip;
    /* Body seviyesinde taşmayı keser, sticky header'ı korur */
    width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 4. Header & Navigasyon */
header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
}

.logo img {
    height: 56px;
    width: auto;
    display: block;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s ease;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 5. Mobil Menü */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    padding: 4px;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.05rem;
}

/* 6. Hero Alanı */
.hero {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(30, 115, 190, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
        var(--bg-main);
    padding: 80px 0 100px 0;
    border-bottom: 1px solid var(--border-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-text h1 .highlight {
    color: var(--primary);
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-glass-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.hero-glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.hero-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary), var(--accent-amber));
}

.hero-glass-card .num {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-amber);
    display: block;
}

.hero-glass-card .label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}

/* 7. Rozetler & Başlıklar */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--secondary-light);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.badge-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-amber);
    box-shadow: 0 0 6px var(--accent-amber-glow);
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 45px auto;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 8px;
}

/* 8. 4'lü Grid Mimarisi & Bento Kartlar */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-amber));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(30, 115, 190, 0.4);
}

.card:hover::before {
    opacity: 1;
}

.card-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.card-icon-wrapper svg {
    width: 26px;
    height: 26px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 2;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 16px;
}

/* 9. Butonlar */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(30, 115, 190, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 115, 190, 0.45);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(141, 146, 151, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(141, 146, 151, 0.45);
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-amber) 0%, #D97706 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 14px var(--accent-amber-glow);
    white-space: nowrap;
    gap: 8px;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.55);
}

/* 10. Gece / Gündüz Butonu */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
}

.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(15deg);
}

.theme-toggle .sun-icon {
    display: block;
}

.theme-toggle .moon-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: block;
}

/* 11. BÖLÜM ARKA PLAN RİTMİ & DEGRADELER */
.section-alt {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.section-primary-soft {
    background: linear-gradient(180deg, rgba(30, 115, 190, 0.08) 0%, rgba(30, 115, 190, 0.02) 100%);
    border-top: 1px solid rgba(30, 115, 190, 0.12);
    border-bottom: 1px solid rgba(30, 115, 190, 0.12);
}

[data-theme="dark"] .section-primary-soft {
    background: linear-gradient(180deg, rgba(30, 115, 190, 0.15) 0%, rgba(11, 17, 32, 0.8) 100%);
    border-color: rgba(30, 115, 190, 0.2);
}

/* 12. KURUMSAL / HAKKIMIZDA BÖLÜMÜ STİLLERİ & ALTIN SARISI VURGULAR */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-main-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #ffffff;
    padding: 18px 24px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-experience-badge .badge-num {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.about-experience-badge .badge-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    max-width: 120px;
}

.about-content h2 {
    font-size: 2rem;
    margin: 15px 0 20px 0;
    color: var(--text-main);
    line-height: 1.3;
}

.about-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1rem;
}

.about-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 25px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--bg-card);
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--accent-amber);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-feature-item .feature-icon {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
}

.about-feature-item:hover {
    border-color: var(--accent-amber);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.about-feature-item h4 {
    font-size: 0.95rem;
    margin: 0 0 3px 0;
    color: var(--text-main);
}

.about-feature-item small {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: block;
}

/* 13. 6 | 6 FAQ Layout */
.faq-grid-6-6 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.faq-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.faq-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-card h3 {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-card h3 svg {
    flex-shrink: 0;
}

/* 14. Dönüşüm Odaklı CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px 40px;
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 60px 0;
    box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-banner p {
    color: #94A3B8;
    max-width: 600px;
    margin: 0 auto 25px auto;
    font-size: 1.1rem;
}

/* 15. İletişim Alanı, Yatay Kutular ve Form Stilleri */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    align-items: start;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 100%;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px 20px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.info-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover {
    transform: translateX(6px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.info-card:hover::before {
    opacity: 1;
}

.info-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--primary);
    fill: none;
    stroke-width: 2;
}

.info-content h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.info-content p,
.info-content a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
}

.info-content a:hover {
    color: var(--primary);
}

.contact-map-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    flex-grow: 1;
    min-height: 200px;
}

.contact-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: block;
    border: none;
}

[data-theme="dark"] .contact-map-card iframe {
    filter: grayscale(80%) invert(90%) hue-rotate(180deg);
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-group label {
    display: block;
    width: 100%;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.form-control {
    display: block;
    width: 100%;
    padding: 13px 16px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 110px;
}

/* 16. Pop-Up Alert Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-lg);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 17. Sabit Floating Butonlar (Taşma Korumalı & Animasyonlu) */
.fixed-btn {
    position: fixed;
    bottom: 25px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

.scroll-top {
    right: 20px;
    background-color: var(--primary);
    color: #FFFFFF;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}

.scroll-top.active {
    opacity: 1;
    visibility: visible;
}

.whatsapp-btn {
    left: 20px;
    background-color: var(--whatsapp);
    color: #FFFFFF;
    animation: pulse-whatsapp 2s infinite, shake-whatsapp 5s infinite 2s;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

@keyframes shake-whatsapp {

    0%,
    100% {
        transform: rotate(0deg);
    }

    10%,
    30% {
        transform: rotate(-10deg);
    }

    20%,
    40% {
        transform: rotate(10deg);
    }

    50% {
        transform: rotate(0deg);
    }
}

/* 18. Responsiveness & Kırılımlar */
@media (max-width: 1024px) {

    .hero-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .grid-4,
    .faq-grid-6-6 {
        grid-template-columns: repeat(2, 1fr);
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-experience-badge {
        bottom: 12px;
        right: 12px;
        padding: 12px 18px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
    }

    /* Mobilde 'Hemen Ara' yazısını gizle */
    .btn-cta span {
        display: none !important;
    }

    /* Butonu dairesel telefon ikonuna çevir */
    .btn-cta {
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 38px !important;
        box-sizing: border-box !important;
    }

    .btn-cta svg {
        margin: 0 !important;
        width: 18px !important;
        height: 18px !important;
    }

    .about-features-grid {
        grid-template-columns: 1fr;
    }

    .about-main-img {
        height: 280px;
    }

    /* Taşan Floating Butonları Ekrana Hapset */
    .fixed-btn {
        width: 44px;
        height: 44px;
        bottom: 16px;
    }

    .scroll-top {
        right: 14px !important;
    }

    .whatsapp-btn {
        left: 14px !important;
    }
}

@media (max-width: 640px) {

    .grid-4,
    .faq-grid-6-6 {
        grid-template-columns: 1fr;
    }

    .hero-glass-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 1.9rem;
    }

    .logo img {
        height: 44px;
    }
}

/* 19. Özel Temizlik ve Yardımcı Sınıflar */
.hero-action-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.section-padding-default {
    padding: 80px 20px;
}

.section-padding-alt {
    padding: 80px 0;
}

.card-district-link {
    text-decoration: none;
    color: inherit;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.card-district-title {
    font-weight: 700;
    font-size: 0.95rem;
}

.card-summary-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 10px 0 20px 0;
}

.card-btn-align {
    margin-top: auto;
}

.card-center-align {
    text-align: center;
}

.card-ref-title {
    font-size: 1rem;
    margin-top: 8px;
}

/* Yorum Yıldızları Altın Işıma */
.card-review-rating {
    color: var(--accent-amber);
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.card-review-text {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.card-review-author {
    font-size: 0.95rem;
    margin-top: 16px;
    font-weight: 700;
    color: var(--primary);
}

.faq-answer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 6px;
}

.btn-cta-primary {
    padding: 14px 28px;
}

.btn-cta-whatsapp {
    background-color: var(--whatsapp);
    padding: 14px 28px;
}

.cta-banner-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-full-width {
    width: 100%;
}

/* ==========================================================
   ADMIN DASHBOARD - SAAS DESIGN & FULL RESPONSIVE
   ========================================================== */

.admin-layout {
    display: flex;
    min-height: 100vh;
    position: relative;
}

.admin-sidebar {
    width: 260px;
    background-color: var(--bg-card);
    border-right: 1px solid var(--border-color);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 1050;
    transition: transform 0.3s ease;
}

.admin-brand {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-brand h3 {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 800;
}

.admin-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.admin-menu li.active a,
.admin-menu a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    transform: translateX(4px);
}

.admin-content {
    flex-grow: 1;
    padding: 30px;
    background-color: var(--bg-main);
    overflow-y: auto;
    width: 100%;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.admin-mobile-toggle {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-main);
    cursor: pointer;
}

.admin-table-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.admin-table th {
    background: var(--bg-card);
    padding: 16px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.admin-table td {
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.file-upload-box {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    background: var(--bg-main);
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.file-upload-box:hover {
    border-color: var(--primary);
}

body[data-theme="dark"] .admin-sidebar {
    background-color: #151F32;
    border-right-color: #233148;
}

body[data-theme="dark"] .admin-content {
    background-color: #0B1120;
}

body[data-theme="dark"] .admin-table-container,
body[data-theme="dark"] .admin-table th {
    background-color: #151F32;
    border-color: #233148;
}

body[data-theme="dark"] .admin-table td {
    border-color: #233148;
    color: #F8FAFC;
}

body[data-theme="dark"] .file-upload-box {
    background-color: #0B1120;
    border-color: #233148;
}

/* ==========================================
   DETAY SAYFALARI (BLOG / HİZMET / İLÇE) RESPONSIVE FIX
   ========================================== */

/* Masaüstü Genel Düzen */
.detail-layout,
.detail-grid,
.blog-detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.detail-content,
.blog-content {
    min-width: 0;
    /* İçerik taşmalarını ve kelime kırılmalarını engeller */
}

.detail-content h1,
.blog-content h1 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 20px;
    word-break: break-word;
}

.detail-sidebar {
    position: sticky;
    top: 90px;
}

/* Tablet ve Mobilde Tek Sütuna Düşürme */
@media (max-width: 992px) {

    .detail-layout,
    .detail-grid,
    .blog-detail-grid {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }

    .detail-content,
    .blog-content {
        width: 100% !important;
    }

    .detail-content h1,
    .blog-content h1 {
        font-size: 1.65rem !important;
    }

    .detail-sidebar {
        width: 100% !important;
        position: static !important;
        order: 2;
        /* Kartın içeriğin altına inmesini sağlar */
    }

    .detail-sidebar .card,
    .detail-sidebar>div {
        width: 100% !important;
        max-width: 100% !important;
    }
}