/* ============================================================
   İnci Yazılım — Public Site Stilleri
   Bootstrap 5 üzerine özelleştirmeler
   ============================================================ */

:root {
    --primary: #111111;
    --primary-dark: #0a0a0a;
    --secondary: #f59e0b;
    --dark: #0a0a0a;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #1e293b;
}

/* ── Bootstrap Primary Override (saf siyah/koyu gri) ──── */
.btn-primary {
    background-color: #111111;
    border-color: #111111;
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
    background-color: #222222;
    border-color: #222222;
    color: #fff;
}
.btn-outline-primary {
    color: #111111;
    border-color: #333333;
}
.btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active {
    background-color: #111111;
    border-color: #111111;
    color: #fff;
}
.text-primary { color: #333333 !important; }
.bg-primary { background-color: #111111 !important; }
.badge.bg-primary { background-color: #111111 !important; }

/* ── Form Focus Stilleri ─────────────────────────────────── */
.form-control:focus, .form-select:focus {
    border-color: #999;
    box-shadow: 0 0 0 0.2rem rgba(0, 0, 0, 0.08);
}

/* ── Navbar ──────────────────────────────────────────────── */
.navbar { padding: 12px 0; background: #0a0a0a !important; }
.bg-dark { background-color: #0a0a0a !important; }
.navbar-brand { font-size: 20px; }
.navbar .nav-link { font-weight: 500; padding: 8px 16px !important; }
.navbar .nav-link.active { color: #f59e0b !important; }

/* ── Hero Section ────────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #1a1a1a 100%);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

/* Hero Background Slider */
.hero-slider-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 0;
}

.hero-slide-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    animation: heroKenBurns 20s ease-in-out infinite alternate;
}

.hero-slide-img.active { opacity: 1; }

@keyframes heroKenBurns {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1%, -1%); }
}

.hero-slider-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(12,18,32,0.82) 0%, rgba(31,40,64,0.75) 50%, rgba(46,54,81,0.7) 100%);
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 2;
}

.hero-section .container { position: relative; z-index: 3; }

.hero-section h1 {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
}

.hero-section .lead {
    font-size: 1rem;
    opacity: 0.9;
    max-width: 600px;
}

.hero-badges {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    opacity: 0.8;
}

.hero-badge i { font-size: 20px; color: var(--secondary); }

/* ── Stats Section ───────────────────────────────────────── */
.stats-section {
    background: var(--dark);
    color: #fff;
    padding: 30px 0;
}

.stat-item { text-align: center; padding: 12px 8px; }

.stat-item .stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: #d4a853;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.stat-item .stat-suffix {
    font-size: 2rem;
    color: var(--secondary);
}

.stat-item .stat-label {
    font-size: 14px;
    color: #b0b0b0;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-item .stat-icon {
    font-size: 28px;
    color: #d4a853;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* ── Section Titles ──────────────────────────────────────── */
.section-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
}

.section-subtitle {
    font-size: 0.95rem;
    color: #888888;
    margin-bottom: 32px;
}

.section-padding { padding: 48px 0; }

/* ── Project Cards ───────────────────────────────────────── */
/* Kart tamamını tıklanabilir yapan overlay link */
.card-link-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 5;
}

.project-card {
    border-radius: 16px;
    overflow: hidden;
    border: none;
    position: relative;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    background: #0a0a0a;
    height: 100%;
    min-height: 320px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.06);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    isolation: isolate;
}
.project-card .project-card-img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    border-radius: inherit;
}
.project-card .project-card-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(8, 8, 12, 0.9) 0%, rgba(8, 8, 12, 0.5) 50%, transparent 100%);
    z-index: 2;
    transition: height 0.4s ease;
}
.project-card:hover .project-card-img::after {
    height: 80%;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2), 0 8px 20px rgba(0,0,0,0.1);
}

.project-card .project-card-img > img:not(.overlay-logo) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 1s ease;
}
.project-card:hover .project-card-img > img:not(.overlay-logo) {
    transform: scale(1.05);
}

/* Card slider */
.project-card .project-card-img > img.card-slide {
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
}
.project-card .project-card-img > img.card-slide.active {
    opacity: 1;
}
/* Fallback for cards without project-card-img wrapper */
.project-card > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Logo overlay on all cards (universal) */
.overlay-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 100px;
    height: auto !important;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    z-index: 3;
    filter: none !important;
}
.project-card:hover .overlay-logo,
.service-card-v2:hover .overlay-logo,
.blog-card:hover .overlay-logo {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(1);
}

.project-card .card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    z-index: 3;
    color: #fff;
}
.project-card .card-body::before {
    content: '';
    position: absolute;
    bottom: calc(100% - 4px);
    left: 20px;
    width: 32px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), #fbbf24);
    border-radius: 2px;
}

.project-card .card-title {
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    color: #fff;
}
.project-card .card-body p,
.project-card .card-body .text-muted {
    color: rgba(255,255,255,0.7) !important;
}
.project-card .card-body .badge {
    background: rgba(255,255,255,0.15) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.2) !important;
    backdrop-filter: blur(4px);
    font-size: 0.7rem;
}

/* ── Service Cards ───────────────────────────────────────── */
.service-card {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
    background: #fff;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.service-card .icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8edf5, #d0d9eb);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 22px;
    color: var(--primary);
}

/* ── Team Cards ──────────────────────────────────────────── */
.team-card {
    text-align: center;
    padding: 32px 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: transform 0.3s;
}

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

.team-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
}

.team-card .initial {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: 700;
    margin: 0 auto 16px;
}

/* ── Blog Cards ──────────────────────────────────────────── */
.blog-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: transform 0.3s;
    position: relative;
    cursor: pointer;
    height: 100%;
}

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

.blog-card > img,
.blog-card > a > img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ── Before/After Slider ─────────────────────────────────── */
.ba-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: ew-resize;
    user-select: none;
    max-width: 100%;
}

.ba-slider .ba-before-img {
    display: block;
    width: 100%;
    height: auto;
}

.ba-slider .ba-after-img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inset(0 0 0 50%);
}

.ba-slider .ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}

.ba-slider .ba-handle::after {
    content: '◀ ▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.ba-slider .ba-label {
    position: absolute;
    bottom: 16px;
    padding: 4px 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    z-index: 5;
}

.ba-label-before { left: 16px; }
.ba-label-after { right: 16px; }

/* ── Contact Section ─────────────────────────────────────── */
.contact-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 32px 24px;
    text-align: center;
}

.contact-card i {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 16px;
}

/* ── Contact Info Cards (iletisim.php) ───────────────────── */
.contact-info-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 24px 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.contact-info-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 15px;
    color: #fff;
}

/* ── CTA Section ─────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

/* ── Filter Buttons ──────────────────────────────────────── */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    background: #fff;
    color: #888888;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ── Mobile Sticky Bar ───────────────────────────────────── */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    z-index: 1050;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.15);
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    color: #fff;
}

.call-btn { background: #1a1a1a; }
.whatsapp-btn { background: #25d366; }

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    color: #fff;
    z-index: 9998;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.cookie-banner a { color: #d4a853; text-decoration: none; }
.cookie-banner a:hover { text-decoration: underline; }
[data-theme="dark"] .cookie-banner { background: rgba(0, 0, 0, 0.95); }

/* Footer copyright linklerinde alt çizgi kaldır */
footer a { text-decoration: none; }
footer a:hover { text-decoration: none; opacity: 0.85; }

/* Sticky bar olunca footer'a boşluk */
@media (max-width: 991.98px) {
    footer.bg-dark { padding-bottom: 56px !important; }
}

/* ── Page Header ─────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    color: #fff;
    padding: 32px 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 1.8rem;
    font-weight: 800;
}

.page-hero .breadcrumb-item a { color: #999999; text-decoration: none; }
.page-hero .breadcrumb-item.active { color: #fff; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: #888888; }

/* ── Animations ──────────────────────────────────────────── */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Prose Content ───────────────────────────────────────── */
.prose h2 { font-size: 1.5rem; font-weight: 700; margin-top: 32px; margin-bottom: 12px; }
.prose h3 { font-size: 1.25rem; font-weight: 600; margin-top: 24px; margin-bottom: 8px; }
.prose p { line-height: 1.8; margin-bottom: 16px; }
.prose ul, .prose ol { margin-bottom: 16px; padding-left: 24px; }
.prose li { margin-bottom: 4px; line-height: 1.6; }
.prose img { max-width: 100%; height: auto; border-radius: 8px; margin: 16px 0; }

/* ── "Neden Biz" Feature Cards ──────────────────────────── */
.feature-card {
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 28px 20px;
    text-align: center;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
}

.feature-card .feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: #fff;
}

.feature-card h5 { font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: #888888; margin-bottom: 0; }

/* ── Why Us Cards (index.php) ──────────────────────────── */
.why-us-card {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 36px 24px;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.why-us-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(46,54,81,0.12);
    border-color: rgba(46,54,81,0.2);
}

.why-us-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 20px;
    color: #fff;
    box-shadow: 0 4px 16px rgba(46,54,81,0.3);
}

/* ── Kat Karşılığı CTA (index.php) ─────────────────────── */
.kat-karsiligi-cta {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #222222 100%);
    color: #fff;
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.kat-karsiligi-cta::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}

.kat-karsiligi-cta::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -40px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}

.kat-karsiligi-cta .container {
    position: relative;
    z-index: 1;
}

/* ── Kat Karşılığı CTA (arsa-degerlendirme page) ────────── */
/* ── Neden Biz İkon Daireleri ──────────────────────────── */
.neden-biz-icon {
    background: #f0f0f0;
    color: #333;
}
[data-theme="dark"] .neden-biz-icon {
    background: #222;
    color: #ccc;
}

.arsa-cta-section {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
    color: #fff;
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.arsa-cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.arsa-cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
}

/* ── Service Card V2 (with cover image) ──────────────────── */
.service-card-v2 {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    cursor: pointer;
    height: 100%;
    position: relative;
}

.service-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.service-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card-img > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, filter 0.5s;
}

.service-card-v2:hover .service-card-img > img:first-child {
    transform: scale(1.08);
    filter: brightness(0.4);
}

.service-card-img-placeholder {
    background: linear-gradient(135deg, #e8edf5, #d0d9eb);
}

.service-card-img-placeholder .icon-box {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2a2a2a, #3a3a3a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}

.service-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 12px;
}

.service-card-icon-float {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

.service-card-body {
    padding: 24px;
}

/* ── Team Social Links ───────────────────────────────────── */
.team-social-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.team-social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.team-social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Blog Card Image ─────────────────────────────────────── */
.blog-card-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.blog-card-img > a > img,
.blog-card-img > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, filter 0.5s;
}

.blog-card:hover .blog-card-img > a > img,
.blog-card:hover .blog-card-img > img:first-child {
    transform: scale(1.08);
    filter: brightness(0.4);
}

/* ── Arsa Değerlendirme Page ────────────────────────────── */
.arsa-info-card {
    background: linear-gradient(135deg, var(--dark), var(--primary-dark));
    color: #fff;
    border-radius: 16px;
    padding: 32px 24px;
    margin-bottom: 24px;
}

.arsa-info-card h4 { font-weight: 700; margin-bottom: 16px; }

.arsa-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.arsa-step .step-num {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--secondary);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
}

.arsa-step .step-text {
    font-size: 15px;
    line-height: 1.5;
}

.arsa-step .step-text strong {
    display: block;
    margin-bottom: 2px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.benefit-item:last-child { border-bottom: none; }
.benefit-item i { font-size: 20px; color: var(--secondary); }

/* ── Project Status Badge ───────────────────────────────── */
.project-status {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.project-status.completed { background: rgba(22, 163, 74, 0.9); color: #fff; }
.project-status.in_progress { background: rgba(234, 179, 8, 0.9); color: #000; }
.project-status.planned { background: rgba(59, 130, 246, 0.9); color: #fff; }

/* ── Service Card with Image ────────────────────────────── */
.service-img-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.service-img-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.service-img-card .service-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.service-img-card .card-body {
    padding: 20px;
}

.service-img-card .service-icon-overlay {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ── Contact Page Map ───────────────────────────────────── */
.map-section iframe {
    width: 100%;
    min-height: 350px;
    border: none;
    border-radius: 0;
}

/* ── Working Hours ──────────────────────────────────────── */
.hours-list { list-style: none; padding: 0; margin: 0; }
.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
}
.hours-list li:last-child { border-bottom: none; }
.hours-list .day { font-weight: 600; }
.hours-list .closed { color: #ef4444; }

/* ── Gallery Grid ───────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.gallery-grid img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
}

.gallery-grid img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/* ── Genel ───────────────────────────────────────────────── */
a { color: var(--primary); }
.text-primary { color: var(--primary) !important; }
.bg-primary { background-color: var(--primary) !important; }
.btn-primary { background: var(--primary); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); color: #fff; }
.btn-success { background: #059669; border-color: #059669; }
.btn-success:hover { background: #047857; border-color: #047857; }

/* ── Smooth scroll ──────────────────────────────────────── */
html { scroll-behavior: smooth; }

/* ── Image overlay for project cards ────────────────────── */
.img-overlay-wrapper {
    position: relative;
    overflow: hidden;
}

.img-overlay-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    pointer-events: none;
}

/* ── Google Maps embed ──────────────────────────────────── */
.ratio-21x9 iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ── Navbar Logo ────────────────────────────────────────── */
.navbar-brand img.brand-logo {
    height: 40px;
    width: auto;
}

/* ── Splash Screen ─────────────────────────────────────── */
.splash-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.splash-screen.splash-exit {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.splash-screen.splash-hidden {
    display: none;
}

.splash-logo-container {
    text-align: center;
}

.splash-logo-container img {
    width: 280px;
    max-width: 70vw;
    animation: splashLogoIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.splash-line {
    width: 0;
    height: 2px;
    background: var(--secondary);
    margin: 24px auto 0;
    animation: splashLineIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

.splash-tagline {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 16px;
    opacity: 0;
    animation: splashFadeIn 0.5s ease 0.9s forwards;
}

@keyframes splashLogoIn {
    0% { opacity: 0; transform: scale(0.7) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes splashLineIn {
    0% { width: 0; }
    100% { width: 80px; }
}

@keyframes splashFadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ── Hero Floating Logo ────────────────────────────────── */
.hero-floating-logo {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
    opacity: 0.04;
    pointer-events: none;
    z-index: 3;
}

/* ── Scroll Progress Bar ──────────────────────────────── */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), #fbbf24);
    z-index: 10000;
    width: 0%;
    transition: width 0.1s linear;
}

/* ── Page Hero Floating Logo ─────────────────────────── */
.page-hero {
    position: relative;
    overflow: hidden;
}
.page-hero .hero-bg-logo {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    max-height: 80%;
    width: auto;
    opacity: 0.04;
    pointer-events: none;
}

/* ── 3D Card Tilt ────────────────────────────────────── */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}
.tilt-card .tilt-inner {
    transition: transform 0.1s ease;
}

/* ── Page Transition ──────────────────────────────────── */
.page-transition {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.page-transition.active {
    opacity: 1;
    pointer-events: all;
}
.page-transition img {
    width: 120px;
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}
.page-transition.active img {
    opacity: 1;
    transform: scale(1);
}

/* ── Typewriter Efekti ───────────────────────────────────── */
.typewriter-text {
    border-right: 3px solid var(--secondary);
    display: inline;
    animation: blink-caret 0.75s step-end infinite;
}
@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: var(--secondary); }
}

/* ── Tilt 3D Kart ───────────────────────────────────────── */
.tilt-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* ── Odometer Sayaç ─────────────────────────────────────── */
.odometer-value {
    display: inline-flex;
    gap: 2px;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2;
}
.odometer-digit {
    display: inline-block;
}
.odometer-digit-inner {
    display: flex;
    flex-direction: column;
}
.odometer-digit-inner span {
    display: block;
    height: 1.2em;
    line-height: 1.2;
}

/* ── Gradient Animasyonu ────────────────────────────────── */
.hero-section.gradient-animated {
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 100% 0%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 50%; }
}

/* ── Magnetic Button ────────────────────────────────────── */
.magnetic-zone {
    display: inline-block;
    padding: 8px;
}
.magnetic-btn-wrap {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ── Reveal on Scroll ───────────────────────────────────── */
.reveal-on-scroll {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transition: clip-path 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.8s ease;
}
.reveal-on-scroll.reveal-right {
    clip-path: inset(0 0 0 100%);
}
.reveal-on-scroll.revealed {
    clip-path: inset(0 0% 0 0);
    opacity: 1;
}
.reveal-on-scroll.reveal-right.revealed {
    clip-path: inset(0 0 0 0%);
}

/* ── Project Carousel (Auto-sliding) ───────────────────── */
.project-carousel {
    margin-bottom: 2rem;
}
.carousel-viewport {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}
.carousel-track {
    position: relative;
    width: 100%;
    height: 440px;
}
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}
.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
}

/* Nav buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    backdrop-filter: blur(4px);
    opacity: 0;
}
.carousel-viewport:hover .carousel-btn { opacity: 1; }
.carousel-btn:hover { background: rgba(0,0,0,0.7); transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }

/* Dots */
.carousel-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}
.carousel-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}
.carousel-dot:hover { background: rgba(255,255,255,0.5); }

/* Counter badge */
.carousel-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
    backdrop-filter: blur(4px);
}

/* Progress bar */
.carousel-viewport::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--secondary);
    z-index: 3;
    animation: carouselProgress 5s linear infinite;
}
@keyframes carouselProgress {
    from { width: 0; }
    to { width: 100%; }
}

/* Thumbnails */
.carousel-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 0 4px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) transparent;
}
.carousel-thumbs::-webkit-scrollbar { height: 4px; }
.carousel-thumbs::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 4px; }

.carousel-thumb {
    flex: 0 0 100px;
    height: 70px;
    border-radius: 8px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}
.carousel-thumb:hover { opacity: 0.8; transform: translateY(-2px); }
.carousel-thumb.active {
    opacity: 1;
    border-color: var(--secondary);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* ── Lightbox ──────────────────────────────────────────── */
.lightbox-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    backdrop-filter: blur(8px);
}

.lightbox-overlay.active { opacity: 1; visibility: visible; }

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.lightbox-close:hover { background: rgba(255,255,255,0.3); transform: rotate(90deg); }

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-nav.prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-nav.next:hover { transform: translateY(-50%) translateX(3px); }

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 500;
}

.lightbox-thumbs {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    max-width: 80vw;
    overflow-x: auto;
    padding: 8px;
    scrollbar-width: none;
}

.lightbox-thumbs::-webkit-scrollbar { display: none; }

.lightbox-thumb {
    flex: 0 0 60px;
    height: 42px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.3s;
    border: 2px solid transparent;
}

.lightbox-thumb:hover { opacity: 0.7; }
.lightbox-thumb.active { opacity: 1; border-color: var(--secondary); }

/* ══════════════════════════════════════════════════════════
   Dark Theme — Public Site
   ══════════════════════════════════════════════════════════ */
[data-theme="dark"] {
    --dark: #0a0a0a;
    --primary-dark: #1a1a1a;
    --page-bg: #0a0a0a;
    --card-bg: #161616;
    --card-border: #2a2a2a;
    --text-primary: #e8e8e8;
    --text-secondary: #b0b0b0;
    --text-muted: #888888;
    --accent: #d4a853;
    --accent-hover: #e6c478;
}

[data-theme="dark"] body {
    background: var(--page-bg);
    color: var(--text-primary);
}

/* Navbar */
[data-theme="dark"] .navbar { background: #0a0a0a !important; }

/* Sections */
[data-theme="dark"] .bg-white,
[data-theme="dark"] section.bg-white {
    background: var(--page-bg) !important;
}
[data-theme="dark"] .bg-light,
[data-theme="dark"] section.bg-light {
    background: #111111 !important;
}

[data-theme="dark"] .section-title { color: var(--text-primary); }
[data-theme="dark"] .section-subtitle { color: var(--text-secondary); }

/* Cards */
[data-theme="dark"] .project-card,
[data-theme="dark"] .service-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .blog-card,
[data-theme="dark"] .why-us-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .contact-card,
[data-theme="dark"] .contact-info-card,
[data-theme="dark"] .service-card-v2,
[data-theme="dark"] .service-img-card,
[data-theme="dark"] .card {
    background: var(--card-bg);
    border-color: var(--card-border);
    color: var(--text-primary);
}
[data-theme="dark"] .card-body,
[data-theme="dark"] .card-footer {
    color: var(--text-primary);
}
[data-theme="dark"] .project-card:hover,
[data-theme="dark"] .service-card:hover,
[data-theme="dark"] .blog-card:hover,
[data-theme="dark"] .why-us-card:hover,
[data-theme="dark"] .service-card-v2:hover,
[data-theme="dark"] .service-img-card:hover,
[data-theme="dark"] .feature-card:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 8px 20px rgba(0,0,0,0.3);
    border-color: #3a3a3a;
}

/* Text */
[data-theme="dark"] .text-muted { color: var(--text-muted) !important; }
[data-theme="dark"] h1, [data-theme="dark"] h2,
[data-theme="dark"] h3, [data-theme="dark"] h4,
[data-theme="dark"] h5, [data-theme="dark"] h6 {
    color: var(--text-primary);
}
[data-theme="dark"] p { color: var(--text-secondary); }

/* Links — override dark --primary that is invisible on dark bg */
[data-theme="dark"] a { color: var(--accent); }
[data-theme="dark"] a:hover { color: var(--accent-hover); }
[data-theme="dark"] .text-primary { color: var(--accent) !important; }
[data-theme="dark"] .text-dark { color: var(--text-primary) !important; }
[data-theme="dark"] .text-decoration-none { color: var(--accent); }
[data-theme="dark"] .bg-white { background-color: var(--card-bg) !important; }

/* Buttons — outline variants need light colors */
[data-theme="dark"] .btn-primary {
    background: #d4a853;
    border-color: #d4a853;
    color: #0a0a0a;
}
[data-theme="dark"] .btn-primary:hover {
    background: #c49843;
    border-color: #c49843;
    color: #0a0a0a;
}
[data-theme="dark"] .btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent);
}
[data-theme="dark"] .btn-outline-primary:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
[data-theme="dark"] .btn-outline-dark {
    color: var(--text-secondary);
    border-color: var(--card-border);
}
[data-theme="dark"] .btn-outline-dark:hover {
    background: #222222;
    color: var(--text-primary);
    border-color: #333333;
}
[data-theme="dark"] .btn-outline-secondary {
    color: var(--text-secondary);
    border-color: var(--card-border);
}
[data-theme="dark"] .btn-outline-secondary:hover {
    background: #222222;
    color: var(--text-primary);
}
[data-theme="dark"] .btn-light {
    background: #222222;
    border-color: #333333;
    color: var(--text-primary);
}
[data-theme="dark"] .btn-light:hover {
    background: #333333;
    color: #fff;
}

/* Statistics Section */
[data-theme="dark"] .stat-item .stat-icon {
    color: var(--accent);
    opacity: 0.8;
}
[data-theme="dark"] .stat-item .stat-value { color: var(--accent); }
[data-theme="dark"] .stat-item .stat-label { color: #999999; }

/* Why Us / Feature Card Icons */
[data-theme="dark"] .why-us-icon {
    background: linear-gradient(135deg, #2a2a2a, #333333);
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    color: var(--accent);
}
[data-theme="dark"] .feature-card .feature-icon {
    background: linear-gradient(135deg, #2a2a2a, #333333);
    color: var(--accent);
}
[data-theme="dark"] .feature-card p { color: var(--text-secondary); }

/* Contact Info Card Icons */
[data-theme="dark"] .contact-info-icon {
    background: linear-gradient(135deg, #2a2a2a, #333333);
    color: var(--accent);
}

/* Service card icon */
[data-theme="dark"] .service-card .icon-box {
    background: linear-gradient(135deg, #2a2a2a, #333333);
    color: var(--accent);
}
[data-theme="dark"] .service-card-img-placeholder {
    background: linear-gradient(135deg, #161616, #222222);
}
[data-theme="dark"] .service-card-img-placeholder .icon-box {
    background: linear-gradient(135deg, #2a2a2a, #333333);
    color: var(--accent);
}

/* Service card v2 body */
[data-theme="dark"] .service-card-body h5 { color: var(--text-primary); }
[data-theme="dark"] .service-card-body p { color: var(--text-secondary); }
[data-theme="dark"] .service-card-body a { color: var(--accent); }

/* Blog cards */
[data-theme="dark"] .blog-card .card-body h5,
[data-theme="dark"] .blog-card .card-body .card-title { color: var(--text-primary); }
[data-theme="dark"] .blog-card .card-body p { color: var(--text-secondary); }
[data-theme="dark"] .blog-card .card-body small { color: var(--text-muted); }
[data-theme="dark"] .blog-card .card-body a { color: var(--accent); }

/* Project cards */
[data-theme="dark"] .project-card .card-body h5,
[data-theme="dark"] .project-card .card-body .card-title { color: #fff; }
[data-theme="dark"] .project-card .card-body p { color: rgba(255,255,255,0.7); }
[data-theme="dark"] .project-card .card-body small { color: rgba(255,255,255,0.5); }

/* Team social */
[data-theme="dark"] .team-social-link {
    background: #222222;
    color: var(--accent);
}
[data-theme="dark"] .team-social-link:hover {
    background: var(--accent);
    color: #fff;
}

/* Prose */
[data-theme="dark"] .prose p,
[data-theme="dark"] .prose li { color: var(--text-secondary); }

/* Contact info */
[data-theme="dark"] .contact-info-card h6 { color: var(--text-primary); }
[data-theme="dark"] .contact-info-card p { color: var(--text-secondary); }
[data-theme="dark"] .contact-info-card a { color: var(--text-secondary); }
[data-theme="dark"] .contact-info-card a:hover { color: var(--accent); }

/* Contact page — office address & map section */
[data-theme="dark"] .contact-info-text { color: var(--text-primary); }
[data-theme="dark"] .card .card-body span,
[data-theme="dark"] .card .card-body .contact-info-text { color: var(--text-primary); }
[data-theme="dark"] .card .card-body h5 { color: var(--text-primary); }

/* Forms */
[data-theme="dark"] .form-control,
[data-theme="dark"] .form-select {
    background: #0a0a0a;
    border-color: var(--card-border);
    color: var(--text-primary);
}
[data-theme="dark"] .form-control:focus,
[data-theme="dark"] .form-select:focus {
    background: #0a0a0a;
    border-color: var(--accent);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.25rem rgba(212,168,83,0.15);
}
[data-theme="dark"] .form-control::placeholder { color: #666; }
[data-theme="dark"] .form-label { color: var(--text-primary); }
[data-theme="dark"] .form-text { color: var(--text-muted); }
[data-theme="dark"] .input-group-text {
    background: #161616;
    border-color: var(--card-border);
    color: var(--text-secondary);
}
[data-theme="dark"] .bg-light.border-end-0,
[data-theme="dark"] .input-group-text.bg-light {
    background: #161616 !important;
}

/* Filter Buttons */
[data-theme="dark"] .filter-btn {
    background: var(--card-bg);
    border-color: var(--card-border);
    color: var(--text-secondary);
}
[data-theme="dark"] .filter-btn:hover,
[data-theme="dark"] .filter-btn.active {
    background: var(--accent);
    color: #0a0a0a;
    border-color: var(--accent);
}

/* Borders */
[data-theme="dark"] .border-bottom { border-color: var(--card-border) !important; }
[data-theme="dark"] .border { border-color: var(--card-border) !important; }
[data-theme="dark"] hr { border-color: var(--card-border); }

/* Alerts */
[data-theme="dark"] .alert-success { background: #14532d; border-color: #16a34a; color: #86efac; }
[data-theme="dark"] .alert-danger { background: #450a0a; border-color: #dc2626; color: #fca5a5; }
[data-theme="dark"] .alert-warning { background: #422006; border-color: #d97706; color: #fde68a; }
[data-theme="dark"] .alert-info { background: #0f1f33; border-color: #1d4ed8; color: #93c5fd; }

/* Hours */
[data-theme="dark"] .hours-list li { border-color: var(--card-border); }

/* Table */
[data-theme="dark"] .table { color: var(--text-primary); }
[data-theme="dark"] .table th,
[data-theme="dark"] .table td { border-color: var(--card-border); }
[data-theme="dark"] .table-striped > tbody > tr:nth-of-type(odd) > * { background: rgba(255,255,255,0.02); }

/* Pagination */
[data-theme="dark"] .page-link {
    background: var(--card-bg);
    border-color: var(--card-border);
    color: var(--accent);
}
[data-theme="dark"] .page-link:hover {
    background: #222222;
    color: var(--accent-hover);
}
[data-theme="dark"] .page-item.active .page-link {
    background: var(--accent);
    border-color: var(--accent);
    color: #0a0a0a;
}
[data-theme="dark"] .page-item.disabled .page-link {
    background: #111111;
    color: #555555;
}

/* Badges */
[data-theme="dark"] .badge.bg-light {
    background: #222222 !important;
    color: var(--text-primary) !important;
}
[data-theme="dark"] .badge.text-dark {
    color: var(--text-primary) !important;
}

/* Dropdown */
[data-theme="dark"] .dropdown-menu {
    background: var(--card-bg);
    border-color: var(--card-border);
}
[data-theme="dark"] .dropdown-item {
    color: var(--text-primary);
}
[data-theme="dark"] .dropdown-item:hover {
    background: #222222;
}

/* Page Hero dark */
[data-theme="dark"] .page-hero {
    background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
}
/* Page Transition dark */
[data-theme="dark"] .page-transition {
    background: #0a0a0a;
}
[data-theme="dark"] .page-hero .breadcrumb-item a { color: #999999; }

/* Google Maps dark mode */
[data-theme="dark"] iframe[src*="google.com/maps"],
[data-theme="dark"] iframe[src*="maps.google"] {
    filter: invert(90%) hue-rotate(180deg) brightness(0.8) contrast(1.1);
}

/* Footer - already dark, just ensure consistency */
[data-theme="dark"] footer.bg-dark { background: #050505 !important; }
[data-theme="dark"] footer a { color: #999999; }
[data-theme="dark"] footer a:hover { color: var(--accent-hover); }

/* Footer social icons */
[data-theme="dark"] footer .btn-outline-light {
    color: #888;
    border-color: #333;
    background: transparent;
}
[data-theme="dark"] footer .btn-outline-light:hover {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(212,168,83,0.1);
}

/* Sticky Bar */
[data-theme="dark"] .call-btn { background: #222; color: var(--accent); }
[data-theme="dark"] .whatsapp-btn { background: #1a7f37; color: #fff; }
[data-theme="dark"] .mobile-sticky-bar { box-shadow: 0 -4px 16px rgba(0,0,0,0.5); }

/* WhatsApp & Success Buttons */
[data-theme="dark"] .btn-success {
    background: #1a7f37;
    border-color: #1a7f37;
    color: #fff;
}
[data-theme="dark"] .btn-success:hover {
    background: #15652c;
    border-color: #15652c;
    color: #fff;
}

/* Contact page outline-primary in dark — softer */
[data-theme="dark"] .btn-outline-primary {
    color: var(--accent);
    border-color: var(--accent);
}
[data-theme="dark"] .btn-outline-primary:hover {
    background: var(--accent);
    color: #0a0a0a;
    border-color: var(--accent);
}

/* Theme Toggle Button */
.site-theme-toggle {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    color: rgba(255,255,255,0.7);
    transition: all 0.2s;
    display: flex;
    align-items: center;
}
.site-theme-toggle:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}
[data-theme="dark"] .site-theme-toggle { color: #fbbf24; }
[data-theme="dark"] .site-theme-toggle:hover { color: #fde68a; }

/* ── Responsive fixes ───────────────────────────────────── */
@media (max-width: 767.98px) {
    .hero-section { min-height: 100svh; padding: 70px 0 30px; }
    .hero-section h1 { font-size: 1.7rem; }
    .hero-section .lead { font-size: 0.85rem; }
    .hero-section .btn { font-size: 0.85rem; padding: 8px 18px !important; }
    .hero-badges { gap: 14px; margin-top: 20px; }
    .hero-badge { font-size: 12px; }
    .hero-badge i { font-size: 16px; }
    .section-padding { padding: 36px 0; }
    .stats-section { padding: 24px 0; }
    .cta-section, .arsa-cta-section, .kat-karsiligi-cta { padding: 24px 0; }
    .section-title { font-size: 1.3rem; }
    .section-subtitle { font-size: 0.8rem; margin-bottom: 24px; }
    .stat-item .stat-value { font-size: 1.4rem; }
    .stat-item .stat-suffix { font-size: 1rem; }
    .stat-item .stat-label { font-size: 10px; letter-spacing: 0.5px; }
    .stat-item .stat-icon { font-size: 20px; margin-bottom: 6px; }
    .stat-item { padding: 8px 4px; }
    .kat-karsiligi-cta h2 { font-size: 1.25rem; margin-bottom: 0.5rem !important; }
    .kat-karsiligi-cta .lead { font-size: 0.85rem; }
    .kat-karsiligi-cta .badge { font-size: 0.75rem; padding: 4px 10px !important; margin-bottom: 8px !important; }
    .kat-karsiligi-cta .btn { font-size: 0.85rem; padding: 8px 20px !important; }
    .kat-karsiligi-cta .mb-4 { margin-bottom: 0.75rem !important; }
    .cta-section h2 { font-size: 1.25rem; margin-bottom: 0.5rem !important; }
    .cta-section .lead { font-size: 0.85rem; margin-bottom: 0.75rem !important; }
    .cta-section .btn { font-size: 0.85rem; padding: 8px 20px !important; }
    .cta-section .gap-3 { gap: 0.5rem !important; }
    .page-hero { padding: 24px 0; }
    .page-hero h1 { font-size: 1.4rem; }
    .contact-info-card { padding: 16px 12px; }
    .contact-info-icon { width: 36px; height: 36px; font-size: 15px; margin-bottom: 8px; }
    .contact-info-card h6 { font-size: 0.85rem; }
    .contact-info-card p { font-size: 12px !important; }
    .why-us-card { padding: 16px 12px; }
    .why-us-card h5 { font-size: 0.85rem; }
    .why-us-card p { font-size: 12px !important; }
    .why-us-icon { width: 40px; height: 40px; }
    .why-us-icon i { font-size: 16px; }
    .why-us-card h5 { font-size: 0.8rem; }
    .why-us-card p { font-size: 11px !important; }
    .service-card .icon-box { width: 42px; height: 42px; font-size: 18px; margin-bottom: 8px; }
    .service-card h5 { font-size: 0.9rem; }
    .service-card p { font-size: 0.8rem; }
    .service-card-img { height: 160px; }
    .navbar-brand img.brand-logo { height: 32px; }
    .carousel-track { height: 260px; }
    .carousel-thumb { flex: 0 0 72px; height: 50px; }
    .lightbox-nav { width: 40px; height: 40px; font-size: 18px; }
    .lightbox-nav.prev { left: 8px; }
    .lightbox-nav.next { right: 8px; }
    .lightbox-thumbs { display: none; }

    /* Genel minimalist mobil override'lar */
    .btn-lg { font-size: 0.85rem !important; padding: 8px 18px !important; }
    .mb-5 { margin-bottom: 1.5rem !important; }
    .mb-4 { margin-bottom: 1rem !important; }
    .lead { font-size: 0.85rem !important; }
    footer h5 { font-size: 0.95rem; }
    footer p, footer a { font-size: 0.85rem; }
    footer .d-flex.gap-3 { gap: 0.4rem !important; }
    footer .btn { font-size: 0.8rem; padding: 6px 14px; }
    .contact-info-icon { width: 32px; height: 32px; font-size: 13px; margin-bottom: 6px; }
    .contact-info-card h6 { font-size: 0.8rem; }
    .blog-card .card-body h5 { font-size: 0.95rem; }
    .blog-card .card-body p { font-size: 0.8rem; }
    .page-hero h1 { font-size: 1.2rem; }
    .page-hero .breadcrumb { font-size: 0.75rem; }
    .filter-btn { font-size: 12px; padding: 6px 14px; }
    .project-card { min-height: 280px; }
    .project-card .card-title { font-size: 0.9rem; }
    .project-card .card-body { padding: 14px; }
    .project-card .badge { font-size: 0.65rem; }
}

/* ── Navbar Arama ──────────────────────────────────────── */
.navbar-search-wrapper {
    position: relative;
    align-items: center;
}

.navbar-search-form {
    overflow: hidden;
    max-width: 0;
    opacity: 0;
    transition: max-width 0.35s ease, opacity 0.25s ease;
}

.navbar-search-form.open {
    max-width: 260px;
    opacity: 1;
}

.navbar-search-input {
    width: 220px;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: #fff !important;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px !important;
    margin-left: 8px;
}

.navbar-search-input::placeholder { color: rgba(255,255,255,0.5); }
.navbar-search-input:focus {
    background: rgba(255,255,255,0.15) !important;
    border-color: var(--secondary) !important;
    box-shadow: 0 0 0 0.15rem rgba(245, 158, 11, 0.2) !important;
}

.navbar-search-mobile .form-control {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}
.navbar-search-mobile .form-control::placeholder { color: rgba(255,255,255,0.5); }

/* ── Arama Sonuçları Sayfası ───────────────────────────── */
.search-page-form .form-control {
    border-radius: 8px 0 0 8px;
}
.search-page-form .btn {
    border-radius: 0 8px 8px 0;
}

.search-group-title {
    font-weight: 700;
    font-size: 18px;
    padding-bottom: 10px;
    margin-bottom: 16px;
    border-bottom: 2px solid #eee;
    display: flex;
    align-items: center;
}

[data-theme="dark"] .search-group-title { border-bottom-color: #333; }

.search-result-card {
    display: block;
    padding: 16px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    color: inherit;
}

.search-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
    border-color: var(--secondary);
    color: inherit;
}

[data-theme="dark"] .search-result-card {
    background: #1a1a1a;
    border-color: #333;
}
[data-theme="dark"] .search-result-card:hover {
    border-color: var(--secondary);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.search-result-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.search-result-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #555;
}

[data-theme="dark"] .search-result-icon {
    background: #222;
    color: #aaa;
}

.search-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 4px;
    background: #f1f5f9;
    color: #555;
}

[data-theme="dark"] .search-badge {
    background: #333;
    color: #ccc;
}

.search-result-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

[data-theme="dark"] .search-result-title { color: #e2e8f0; }

.search-result-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

[data-theme="dark"] .search-result-excerpt { color: #94a3b8; }

.search-result-excerpt mark,
.search-result-title mark {
    background: rgba(245, 158, 11, 0.3);
    color: inherit;
    padding: 1px 2px;
    border-radius: 2px;
}

.min-width-0 { min-width: 0; }

@media (max-width: 575.98px) {
    .search-result-thumb { width: 60px; height: 45px; }
    .search-result-title { font-size: 14px; }
    .search-result-excerpt { font-size: 13px; }
}
