/* ==========================================================================
   ERDEM ASANSÖR SİSTEMLERİ - KURUMSAL WEB & MOBİL UYGULAMA TASARIM SİSTEMİ
   Slogan: HER ZAMAN DAHA İYİYE | Odak İletişim: 0 850 885 05 68
   ========================================================================== */

:root {
    --brand-red: #DC1E28;
    --brand-red-dark: #B3121B;
    --brand-red-soft: rgba(220, 30, 40, 0.1);
    --brand-navy: #0B1120;
    --brand-slate: #1E293B;
    --brand-muted: #64748B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --border-color: #E2E8F0;
    --success: #10B981;
    --warning: #F59E0B;
    --info: #2563EB;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -12px rgba(15, 23, 42, 0.16);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--brand-slate);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--brand-navy);
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-red { color: var(--brand-red) !important; }
.text-white { color: #FFFFFF !important; }
.text-slate-300 { color: #CBD5E1 !important; }
.text-muted { color: var(--brand-muted); font-size: 0.875rem; }
.text-center { text-align: center; }
.text-right { text-align: right; }

.show-mobile-only {
    display: none !important;
}

/* ÜST BİLGİ ŞERİDİ (MASAÜSTÜ) */
.topbar {
    background-color: var(--brand-navy);
    color: #CBD5E1;
    font-size: 0.82rem;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.topbar-left i {
    color: var(--brand-red);
    margin-right: 4px;
}

.divider {
    opacity: 0.3;
}

.szg-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.14);
    color: #34D399;
    padding: 2px 10px;
    border-radius: 99px;
    font-weight: 600;
    font-size: 0.76rem;
}

.working-hours-pill {
    font-size: 0.78rem;
    color: #E2E8F0;
    background: rgba(255, 255, 255, 0.08);
    padding: 3px 10px;
    border-radius: 6px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.topbar-phone {
    background: var(--brand-red);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 600;
}
.topbar-phone strong {
    color: #FFFFFF;
    font-weight: 800;
}

/* ANA NAVİGASYON */
.navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    border-bottom: 2px solid var(--brand-red);
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
    gap: 16px;
}

.brand-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.brand-logo img {
    height: 54px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links a {
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--brand-slate);
    position: relative;
    padding: 6px 0;
}

.nav-links a:hover {
    color: var(--brand-red);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* BUTONLAR */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.22s ease;
}

.btn-lg {
    padding: 14px 24px;
    font-size: 0.98rem;
}

.btn-sm {
    padding: 7px 13px;
    font-size: 0.82rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(220, 30, 40, 0.28);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(220, 30, 40, 0.4);
}

.btn-customer-portal {
    background: var(--brand-red);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(220, 30, 40, 0.25);
}
.btn-customer-portal:hover {
    background: var(--brand-red-dark);
    transform: translateY(-1px);
}

.btn-admin-portal {
    background: var(--brand-navy);
    color: #FFFFFF;
}
.btn-admin-portal:hover {
    background: #1E293B;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-outline-light:hover {
    background: #FFFFFF;
    color: var(--brand-navy);
}

.btn-outline-dark {
    background: transparent;
    color: var(--brand-slate);
    border: 1.5px solid #CBD5E1;
}
.btn-outline-dark:hover {
    border-color: var(--brand-navy);
    background: var(--brand-navy);
    color: #FFFFFF;
}

.btn-danger {
    background: #EF4444;
    color: #FFFFFF;
}

/* GÖRÜNÜM GEÇİŞLERİ */
.view-section {
    display: none;
}
.view-section.active {
    display: block;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* HERO BÖLÜMÜ (MASAÜSTÜ) */
.hero {
    position: relative;
    background: linear-gradient(125deg, #090E1A 0%, #111C33 55%, #23121B 100%);
    color: #FFFFFF;
    padding: 72px 0 84px;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(220, 30, 40, 0.16) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.5;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.25fr 0.95fr;
    gap: 44px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 30, 40, 0.22);
    border: 1px solid rgba(220, 30, 40, 0.55);
    color: #FCA5A5;
    padding: 7px 16px;
    border-radius: 99px;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
}

.hero-content h1 {
    color: #FFFFFF;
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.hero-lead {
    color: #CBD5E1;
    font-size: 1.08rem;
    margin-bottom: 28px;
    max-width: 640px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 36px;
}

.hero-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 24px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-item i {
    font-size: 1.5rem;
    color: var(--brand-red);
}

.trust-item strong {
    display: block;
    font-size: 0.9rem;
    color: #FFFFFF;
}

.trust-item span {
    font-size: 0.76rem;
    color: #94A3B8;
}

/* HERO MÜŞTERİ PORTALI KARTI */
.hero-portal-card {
    background: #FFFFFF;
    color: var(--brand-slate);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45);
    border-top: 5px solid var(--brand-red);
}

.portal-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.portal-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-red-soft);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.portal-tag {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--brand-red);
    letter-spacing: 0.6px;
}

.portal-card-header h3 {
    font-size: 1.3rem;
}

.portal-card-desc {
    font-size: 0.88rem;
    color: var(--brand-muted);
    margin-bottom: 18px;
}

.portal-quick-form label {
    display: block;
    font-weight: 700;
    font-size: 0.84rem;
    margin-bottom: 6px;
    color: var(--brand-navy);
}

.input-with-icon {
    position: relative;
    margin-bottom: 12px;
}

.input-with-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-red);
}

.input-with-icon input {
    width: 100%;
    padding: 13px 14px 13px 40px;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius-sm);
    font-size: 0.96rem;
    font-weight: 600;
    transition: border-color 0.2s;
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--brand-red);
}

.portal-demo-codes {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #E2E8F0;
}

.demo-label {
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--brand-muted);
    margin-bottom: 8px;
}

.demo-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    background: #F1F5F9;
    border: 1px solid #CBD5E1;
    color: var(--brand-navy);
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
}

.chip:hover {
    background: var(--brand-red);
    color: #FFFFFF;
    border-color: var(--brand-red);
}

.portal-card-footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #F1F5F9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.portal-card-footer small {
    display: block;
    font-size: 0.72rem;
    color: var(--brand-muted);
}

.portal-card-footer a {
    font-weight: 800;
    color: var(--brand-navy);
}

.portal-request-link {
    color: var(--brand-red) !important;
    font-size: 0.85rem;
}

/* CANLI İSTATİSTİK ŞERİDİ */
.stats-ribbon {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    padding: 28px 0;
    box-shadow: var(--shadow-sm);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: var(--brand-red);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-number {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--brand-navy);
    line-height: 1.1;
}

.stat-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-muted);
}

/* GENEL BÖLÜM STİLLERİ */
.section {
    padding: 84px 0;
}

.bg-slate {
    background-color: #F1F5F9;
}

.bg-dark {
    background: linear-gradient(135deg, #0B1120 0%, #162036 100%);
    color: #FFFFFF;
}

.section-header {
    max-width: 720px;
    margin: 0 auto 52px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--brand-red);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--brand-muted);
    font-size: 1.02rem;
}

/* KURUMSAL HAKKIMIZDA */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 52px;
    align-items: center;
}

.about-img-main {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    display: block;
}

.about-floating-badge {
    position: absolute;
    bottom: 18px;
    left: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.96);
    padding: 14px 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-md);
}

.about-floating-badge img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.about-floating-badge span {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--brand-red);
    letter-spacing: 0.5px;
}

.about-cards-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 18px;
}

.mini-card {
    background: #FFFFFF;
    padding: 18px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.mini-card i {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.mini-card h4 {
    font-size: 0.96rem;
    margin-bottom: 4px;
}

.mini-card p {
    font-size: 0.82rem;
    color: var(--brand-muted);
}

.about-lead {
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.about-features {
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.af-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.af-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--brand-red-soft);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.af-item h5 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.af-item p {
    font-size: 0.88rem;
    color: var(--brand-muted);
}

.about-managers {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.manager-pill {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #FFFFFF;
    border: 2px solid var(--brand-red);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.manager-pill i {
    font-size: 1.5rem;
    color: var(--brand-red);
}

.manager-pill strong {
    display: block;
    font-size: 1.15rem;
    color: var(--brand-navy);
}

.manager-pill span {
    font-size: 0.8rem;
    color: var(--brand-muted);
}

/* HİZMETLER BÖLÜMÜ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.service-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 28px 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-red);
}

.featured-service {
    border: 2px solid var(--brand-red);
    background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F5 100%);
}

.service-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--brand-red);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 99px;
}

.service-num {
    font-size: 0.78rem;
    font-weight: 800;
    color: #94A3B8;
    margin-bottom: 10px;
}

.service-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--brand-red-soft);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--brand-muted);
    margin-bottom: 16px;
}

.service-list {
    margin-bottom: 22px;
    flex-grow: 1;
}

.service-list li {
    font-size: 0.83rem;
    margin-bottom: 7px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.service-list i {
    color: var(--brand-red);
    font-size: 0.78rem;
}

.service-link {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--brand-red);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ETİKET REHBERİ ŞERİDİ */
.label-guide-banner {
    margin-top: 36px;
    background: var(--brand-navy);
    color: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 26px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.lg-info {
    max-width: 460px;
}

.lg-info h4 {
    color: #FFFFFF;
    margin-bottom: 6px;
}

.lg-info p {
    font-size: 0.85rem;
    color: #CBD5E1;
}

.lg-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    flex: 1;
}

.lg-pill {
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lg-pill .dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
}

.lg-pill.green .dot { background: #10B981; box-shadow: 0 0 10px #10B981; }
.lg-pill.blue .dot { background: #3B82F6; box-shadow: 0 0 10px #3B82F6; }
.lg-pill.yellow .dot { background: #F59E0B; box-shadow: 0 0 10px #F59E0B; }
.lg-pill.red .dot { background: #EF4444; box-shadow: 0 0 10px #EF4444; }

.lg-pill strong {
    display: block;
    font-size: 0.8rem;
    color: #FFFFFF;
}

.lg-pill small {
    font-size: 0.72rem;
    color: #CBD5E1;
}

/* KAMU REFERANSLARI */
.major-institutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-bottom: 36px;
}

.inst-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.inst-card:hover {
    border-color: var(--brand-red);
    box-shadow: var(--shadow-md);
}

.inst-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: var(--brand-navy);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 14px;
}

.inst-card h4 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.inst-card p {
    font-size: 0.86rem;
    color: var(--brand-muted);
    margin-bottom: 12px;
}

.inst-tag {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    background: #F1F5F9;
    color: var(--brand-slate);
    padding: 4px 10px;
    border-radius: 6px;
}

.szg-public-box {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 26px;
    box-shadow: var(--shadow-sm);
}

.szg-public-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.szg-public-header p {
    font-size: 0.85rem;
    color: var(--brand-muted);
}

.badge-live {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 99px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.szg-public-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.public-ref-pill {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-navy);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.public-ref-pill i {
    color: var(--brand-red);
}

/* GALERİ BÖLÜMÜ */
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 16px;
}

.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 99px;
    border: 1px solid #CBD5E1;
    background: #FFFFFF;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--brand-red);
    color: #FFFFFF;
    border-color: var(--brand-red);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.gallery-img-wrap {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.gallery-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.gallery-card:hover .gallery-img-wrap img {
    transform: scale(1.05);
}

.gallery-cat-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 17, 32, 0.85);
    color: #FFFFFF;
    padding: 4px 11px;
    border-radius: 6px;
    font-size: 0.74rem;
    font-weight: 700;
}

.gallery-body {
    padding: 20px;
}

.gallery-loc {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--brand-red);
    display: block;
    margin-bottom: 4px;
}

.gallery-body h4 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.gallery-body p {
    font-size: 0.85rem;
    color: var(--brand-muted);
}

/* BLOG BÖLÜMÜ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.blog-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: grid;
    grid-template-columns: 240px 1fr;
    box-shadow: var(--shadow-sm);
    transition: all 0.22s;
}

.blog-card:hover {
    box-shadow: var(--shadow-md);
    border-color: #CBD5E1;
}

.blog-img {
    height: 100%;
    min-height: 220px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.blog-cat {
    background: var(--brand-red-soft);
    color: var(--brand-red);
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 5px;
}

.blog-body h3 {
    font-size: 1.12rem;
    margin-bottom: 8px;
}

.blog-body p {
    font-size: 0.86rem;
    color: var(--brand-muted);
    margin-bottom: 14px;
    flex-grow: 1;
}

.blog-read-btn {
    align-self: flex-start;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--brand-red);
    background: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* İLETİŞİM & FORM BÖLÜMÜ */
.contact-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 44px;
    align-items: start;
}

.contact-cards {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.c-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.highlight-phone-card {
    background: rgba(220, 30, 40, 0.16);
    border-color: rgba(220, 30, 40, 0.55);
}

.c-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--brand-red);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.c-card span {
    font-size: 0.78rem;
    color: #94A3B8;
    display: block;
    margin-bottom: 2px;
}

.c-card p {
    font-size: 0.88rem;
    color: #E2E8F0;
}

.c-big {
    font-size: 1.55rem;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.contact-form-box {
    background: #FFFFFF;
    color: var(--brand-slate);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.contact-form-box h3 {
    margin-bottom: 6px;
}

.contact-form-box > p {
    font-size: 0.88rem;
    color: var(--brand-muted);
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 0.83rem;
    font-weight: 700;
    color: var(--brand-navy);
    margin-bottom: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1.5px solid #CBD5E1;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.92rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-red);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ==========================================================================
   MÜŞTERİ PANELİ VE ADMİN PANELİ STİLLERİ
   ========================================================================== */

.portal-hero-bar {
    background: linear-gradient(125deg, #0B1120 0%, #1E293B 100%);
    color: #FFFFFF;
    padding: 40px 0;
    border-bottom: 4px solid var(--brand-red);
}

.portal-hero-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.portal-badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 800;
    color: #FCA5A5;
    background: rgba(220, 30, 40, 0.2);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 8px;
}

.portal-hero-bar h2 {
    color: #FFFFFF;
    font-size: 1.9rem;
    margin-bottom: 4px;
}

.portal-hero-bar p {
    color: #CBD5E1;
    font-size: 0.92rem;
}

.portal-container {
    padding-top: 32px;
    padding-bottom: 72px;
}

.customer-search-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin-bottom: 28px;
}

.customer-search-form {
    display: flex;
    gap: 12px;
}

.cs-input-wrap {
    flex: 1;
    position: relative;
}

.cs-input-wrap i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-red);
    font-size: 1.1rem;
}

.cs-input-wrap input {
    width: 100%;
    padding: 14px 16px 14px 44px;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid #CBD5E1;
    border-radius: var(--radius-sm);
}

.cs-input-wrap input:focus {
    outline: none;
    border-color: var(--brand-red);
}

.cs-quick-bar {
    margin-top: 14px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--brand-muted);
}

/* BİNA DETAY KARTLARI */
.building-header-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
}

.bh-code-badge {
    display: inline-block;
    background: var(--brand-navy);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.bh-left h3 {
    font-size: 1.55rem;
    margin-bottom: 4px;
}

.bh-left p {
    font-size: 0.88rem;
    color: var(--brand-muted);
}

.bh-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.etiket-badge {
    padding: 7px 14px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
}
.etiket-badge.mavi { background: #DBEAFE; color: #1D4ED8; }
.etiket-badge.yesil { background: #D1FAE5; color: #047857; }
.etiket-badge.sari { background: #FEF3C7; color: #B45309; }
.etiket-badge.kirmizi { background: #FEE2E2; color: #B91C1C; }

.customer-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.ckpi-card {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 14px;
}

.ckpi-card.balance-card {
    border-left: 4px solid var(--brand-red);
}

.ckpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--brand-red-soft);
    color: var(--brand-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.ckpi-icon.green { background: #D1FAE5; color: #059669; }
.ckpi-icon.blue { background: #DBEAFE; color: #2563EB; }
.ckpi-icon.orange { background: #FEF3C7; color: #D97706; }

.ckpi-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-muted);
    display: block;
}

.ckpi-val {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 2px 0;
}

.ckpi-card small {
    font-size: 0.75rem;
    color: var(--brand-muted);
}

/* SEKMELER */
.customer-tabs, .admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.ctab-btn, .atab-btn {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: #FFFFFF;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--brand-slate);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.ctab-btn.active, .atab-btn.active {
    background: var(--brand-red);
    color: #FFFFFF;
    border-color: var(--brand-red);
    box-shadow: 0 6px 16px rgba(220, 30, 40, 0.25);
}

.ctab-content, .atab-content {
    display: none;
}
.ctab-content.active, .atab-content.active {
    display: block;
}

.panel-box {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.panel-box-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #F1F5F9;
}

.panel-box-header p {
    font-size: 0.85rem;
    color: var(--brand-muted);
}

/* VERİ TABLOLARI */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.87rem;
}

.data-table th {
    background: #F8FAFC;
    color: var(--brand-navy);
    font-weight: 700;
    text-align: left;
    padding: 12px 14px;
    border-bottom: 2px solid #E2E8F0;
    white-space: nowrap;
}

.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #F1F5F9;
    vertical-align: middle;
}

.data-table tr:hover td {
    background: #F8FAFC;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 700;
}

.status-pill.done { background: #D1FAE5; color: #047857; }
.status-pill.open { background: #FEE2E2; color: #B91C1C; }
.status-pill.tahsilat { background: #DCFCE7; color: #15803D; }
.status-pill.bakim { background: #DBEAFE; color: #1D4ED8; }

/* 12 AYLIK BAKIM ÇİZELGESİ */
.months-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.month-card {
    border: 1.5px solid #E2E8F0;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #F8FAFC;
}

.month-card.done {
    background: #F0FDF4;
    border-color: #86EFAC;
}

.month-card h5 {
    font-size: 0.96rem;
    margin-bottom: 2px;
}

.month-card span {
    font-size: 0.78rem;
    color: var(--brand-muted);
}

.month-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: #E2E8F0;
    color: #64748B;
}

.month-card.done .month-icon {
    background: #10B981;
    color: #FFFFFF;
}

/* TEKNİK KİMLİK KARTI */
.tech-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.spec-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    padding: 14px 16px;
    border-radius: 8px;
}

.spec-item span {
    display: block;
    font-size: 0.76rem;
    color: var(--brand-muted);
    margin-bottom: 2px;
}

.spec-item strong {
    font-size: 0.96rem;
    color: var(--brand-navy);
}

/* ADMİN PANELİ ÖZEL STİLLER */
.admin-login-card {
    max-width: 440px;
    margin: 24px auto;
    background: #FFFFFF;
    padding: 34px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.admin-login-logo {
    height: 54px;
    margin-bottom: 14px;
}

.admin-login-card p {
    font-size: 0.88rem;
    color: var(--brand-muted);
    margin-bottom: 20px;
}

.admin-login-card .form-group {
    text-align: left;
}

.login-hint {
    display: block;
    margin-top: 12px;
    color: var(--brand-muted);
    font-size: 0.78rem;
}

.szg-sync-banner {
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    border-left: 5px solid #10B981;
    border-radius: var(--radius-md);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 22px;
}

.szg-sync-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.szg-icon {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: #D1FAE5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.admin-search-wrap {
    position: relative;
    min-width: 280px;
}

.admin-search-wrap i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--brand-muted);
}

.admin-search-wrap input {
    width: 100%;
    padding: 9px 12px 9px 36px;
    border: 1.5px solid #CBD5E1;
    border-radius: 8px;
}

.admin-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 24px;
    align-items: start;
}

.admin-items-list {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 620px;
    overflow-y: auto;
}

.admin-item-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    background: #F8FAFC;
}

.admin-item-row img {
    width: 72px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.admin-item-info {
    flex: 1;
}

.admin-item-info h5 {
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.admin-item-info span {
    font-size: 0.76rem;
    color: var(--brand-muted);
}

.form-actions-row {
    display: flex;
    gap: 10px;
}

/* MODALLAR */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(11, 17, 32, 0.72);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-dialog {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    padding: 28px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal-dialog.modal-lg {
    max-width: 780px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #F1F5F9;
    cursor: pointer;
    font-size: 1.1rem;
}

.blog-detail-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.blog-detail-content {
    font-size: 0.98rem;
    line-height: 1.75;
    color: var(--brand-slate);
    white-space: pre-line;
}

/* FOOTER */
.footer {
    background: #070B14;
    color: #94A3B8;
    padding-top: 64px;
    border-top: 3px solid var(--brand-red);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 48px;
}

.footer-logo {
    height: 52px;
    background: #FFFFFF;
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.footer-slogan-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #FCA5A5;
    background: rgba(220, 30, 40, 0.2);
    border: 1px solid rgba(220, 30, 40, 0.45);
    padding: 3px 10px;
    border-radius: 6px;
    margin-bottom: 12px;
    letter-spacing: 0.8px;
}

.footer-col h4 {
    color: #FFFFFF;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.footer-col ul li {
    margin-bottom: 9px;
    font-size: 0.88rem;
}

.footer-col ul li a:hover {
    color: #FFFFFF;
}

.footer-col p {
    font-size: 0.88rem;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
    font-size: 0.82rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

/* TOAST BİLDİRİMLERİ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--brand-navy);
    color: #FFFFFF;
    padding: 14px 20px;
    border-radius: 10px;
    border-left: 4px solid var(--brand-red);
    box-shadow: var(--shadow-lg);
    font-size: 0.88rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.25s ease;
}

/* ==========================================================================
   TABLET & MOBİL UYGULAMA (NATIVE APP) DÖNÜŞÜM STİLLERİ
   Masaüstünde tam kurumsal web sitesi, mobilde (<= 768px) mobil uygulama!
   ========================================================================== */

@media (max-width: 1024px) {
    .hero-grid,
    .about-grid,
    .contact-grid,
    .admin-split-grid {
        grid-template-columns: 1fr;
    }
    .services-grid,
    .stats-grid,
    .customer-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .major-institutions-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .lg-pills {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hide-tablet {
        display: none;
    }
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none !important;
    }
    .show-mobile-only {
        display: flex !important;
    }
    section.show-mobile-only,
    div.show-mobile-only {
        display: block !important;
    }

    body {
        background-color: #F1F5F9;
        padding-bottom: 84px; /* Alt uygulama tab barı için güvenli boşluk */
    }

    .container {
        padding: 0 14px;
    }

    /* MOBİL UYGULAMA ÜST HEADER BARI */
    .navbar {
        height: 64px;
        border-bottom: 1px solid #E2E8F0;
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    }

    .navbar-inner {
        height: 64px;
    }

    .brand-logo img {
        height: 36px;
    }

    .mobile-app-slogan {
        font-size: 0.62rem;
        font-weight: 800;
        color: var(--brand-red);
        letter-spacing: 0.8px;
        margin-top: 2px;
    }

    .mobile-call-chip {
        background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
        color: #FFFFFF;
        padding: 8px 12px;
        border-radius: 99px;
        font-size: 0.78rem;
        font-weight: 800;
        align-items: center;
        gap: 6px;
        box-shadow: 0 4px 12px rgba(220, 30, 40, 0.3);
    }

    .mobile-admin-icon-btn {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        background: #F1F5F9;
        border: 1px solid #CBD5E1;
        color: var(--brand-navy);
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
    }

    /* MOBİL UYGULAMA ANA DASHBOARD EKRANI */
    .mobile-app-dashboard {
        padding: 14px 14px 6px;
    }

    .mapp-welcome-banner {
        background: linear-gradient(135deg, #0B1120 0%, #1E293B 60%, #2D1219 100%);
        color: #FFFFFF;
        border-radius: 20px;
        padding: 20px 18px;
        box-shadow: 0 14px 28px -8px rgba(11, 17, 32, 0.35);
        margin-bottom: 14px;
    }

    .mapp-welcome-top {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
    }

    .mapp-slogan-pill {
        background: rgba(220, 30, 40, 0.25);
        border: 1px solid rgba(220, 30, 40, 0.55);
        color: #FCA5A5;
        font-size: 0.68rem;
        font-weight: 800;
        padding: 4px 10px;
        border-radius: 99px;
        letter-spacing: 0.6px;
    }

    .mapp-live-dot {
        font-size: 0.72rem;
        color: #34D399;
        font-weight: 700;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .mapp-welcome-banner h2 {
        color: #FFFFFF;
        font-size: 1.45rem;
        margin-bottom: 2px;
    }

    .mapp-welcome-banner > p {
        font-size: 0.8rem;
        color: #CBD5E1;
        margin-bottom: 14px;
    }

    .mapp-lookup-box {
        background: #FFFFFF;
        border-radius: 14px;
        padding: 5px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    }

    .mapp-input-row {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .mapp-input-row > i {
        color: var(--brand-red);
        padding-left: 10px;
        font-size: 1rem;
    }

    .mapp-input-row input {
        flex: 1;
        border: none;
        padding: 11px 6px;
        font-size: 0.9rem;
        font-weight: 700;
        color: var(--brand-navy);
        min-width: 0;
    }

    .mapp-input-row input:focus {
        outline: none;
    }

    .mapp-go-btn {
        background: var(--brand-red);
        color: #FFFFFF;
        border: none;
        padding: 11px 14px;
        border-radius: 10px;
        font-weight: 800;
        font-size: 0.82rem;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

    .mapp-demo-scroll {
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding-top: 10px;
        scrollbar-width: none;
    }
    .mapp-demo-scroll::-webkit-scrollbar {
        display: none;
    }

    .mapp-demo-scroll button {
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #FFFFFF;
        padding: 5px 10px;
        border-radius: 8px;
        font-size: 0.72rem;
        font-weight: 700;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* MOBİL UYGULAMA 2x2 HIZLI İŞLEM KARTLARI */
    .mapp-quick-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 14px;
    }

    .mapp-tile {
        background: #FFFFFF;
        border: 1px solid #E2E8F0;
        border-radius: 16px;
        padding: 14px;
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    }

    .mapp-tile.primary-tile {
        border-color: rgba(220, 30, 40, 0.35);
        background: linear-gradient(135deg, #FFFFFF 0%, #FFF5F5 100%);
    }

    .mapp-tile.call-tile {
        border-color: rgba(16, 185, 129, 0.35);
        background: linear-gradient(135deg, #FFFFFF 0%, #ECFDF5 100%);
    }

    .mapp-tile-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: var(--brand-red-soft);
        color: var(--brand-red);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.15rem;
        flex-shrink: 0;
    }

    .mapp-tile.call-tile .mapp-tile-icon {
        background: #D1FAE5;
        color: #059669;
    }

    .mapp-tile-text strong {
        display: block;
        font-size: 0.86rem;
        color: var(--brand-navy);
        line-height: 1.2;
    }

    .mapp-tile-text span {
        font-size: 0.7rem;
        color: var(--brand-muted);
    }

    /* MOBİL MESAİ & ACİL KURTARMA BİLGİ KUTUSU */
    .mapp-notice-card {
        background: #FFFFFF;
        border-left: 4px solid var(--brand-red);
        border-radius: 14px;
        padding: 13px 14px;
        display: flex;
        align-items: flex-start;
        gap: 12px;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    }

    .mapp-notice-icon {
        color: var(--brand-red);
        font-size: 1.25rem;
        padding-top: 2px;
    }

    .mapp-notice-body strong {
        display: block;
        font-size: 0.82rem;
        color: var(--brand-navy);
        margin-bottom: 2px;
    }

    .mapp-notice-body p {
        font-size: 0.75rem;
        color: var(--brand-muted);
        line-height: 1.45;
    }

    /* MOBİLDE DİĞER BÖLÜMLERİN UYGULAMA KARTLARINA DÖNÜŞÜMÜ */
    .stats-ribbon {
        padding: 12px 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .stat-box {
        background: #FFFFFF;
        padding: 12px;
        border-radius: 14px;
        gap: 10px;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-radius: 10px;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-title {
        font-size: 0.72rem;
    }

    .section {
        padding: 36px 0;
    }

    .section-header {
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .services-grid,
    .major-institutions-grid,
    .gallery-grid,
    .months-grid,
    .tech-specs-grid,
    .footer-grid,
    .form-row-2,
    .about-cards-mini {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .customer-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .ckpi-card {
        padding: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .ckpi-val {
        font-size: 1.1rem;
    }

    .blog-card {
        grid-template-columns: 1fr;
    }

    .customer-search-form {
        flex-direction: column;
    }

    /* MÜŞTERİ PANELİ MOBİL YATAY KAYDIRMALI SEKMELER */
    .customer-tabs, .admin-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 6px;
        scrollbar-width: none;
    }
    .customer-tabs::-webkit-scrollbar,
    .admin-tabs::-webkit-scrollbar {
        display: none;
    }

    .ctab-btn, .atab-btn {
        white-space: nowrap;
        flex-shrink: 0;
        padding: 10px 14px;
        font-size: 0.82rem;
        border-radius: 99px;
    }

    /* MOBİLDE TABLOLARI UYGULAMA KARTI GÖRÜNÜMÜNE DÖNÜŞTÜR */
    .mobile-card-table thead {
        display: none;
    }

    .mobile-card-table,
    .mobile-card-table tbody,
    .mobile-card-table tr,
    .mobile-card-table td {
        display: block;
        width: 100%;
    }

    .mobile-card-table tr {
        background: #F8FAFC;
        border: 1px solid #E2E8F0;
        border-radius: 14px;
        padding: 12px 14px;
        margin-bottom: 12px;
    }

    .mobile-card-table td {
        padding: 5px 0;
        border-bottom: 1px dashed #E2E8F0;
        text-align: left !important;
        font-size: 0.84rem;
    }

    .mobile-card-table td:last-child {
        border-bottom: none;
    }

    /* SABİT ALT MOBİL UYGULAMA TAB BARI (BOTTOM NAVIGATION) */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 68px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        border-top: 1px solid #E2E8F0;
        box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.1);
        z-index: 2500;
        justify-content: space-around;
        align-items: center;
        padding: 0 6px env(safe-area-inset-bottom, 0px);
    }

    .mnav-item {
        flex: 1;
        background: none;
        border: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #64748B;
        font-size: 0.68rem;
        font-weight: 700;
        cursor: pointer;
        padding: 6px 2px;
    }

    .mnav-item i {
        font-size: 1.15rem;
    }

    .mnav-item.active {
        color: var(--brand-red);
    }

    .mnav-center-badge {
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-dark) 100%);
        color: #FFFFFF;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -18px;
        box-shadow: 0 6px 14px rgba(220, 30, 40, 0.38);
        border: 3px solid #FFFFFF;
    }

    .mnav-center-badge i {
        font-size: 1rem;
    }

    .mnav-call {
        color: #059669;
    }

    .toast-container {
        bottom: 82px;
        left: 14px;
        right: 14px;
    }
}

/* ==========================================================================
   ADMİN MODÜL SEÇİM EKRANI & MÜŞTERİ ŞİFRE ALANLARI
   ========================================================================== */

.admin-module-home {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
}

.admin-module-head {
    margin-bottom: 22px;
}

.admin-module-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #FEF2F2;
    color: var(--brand-red);
    border: 1px solid #FECACA;
    border-radius: 999px;
    padding: 5px 12px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.admin-module-head h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.55rem;
    color: var(--brand-navy);
    margin: 12px 0 6px;
}

.admin-module-head p {
    color: var(--brand-muted);
    font-size: 0.92rem;
    max-width: 760px;
}

.admin-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 14px;
}

.admin-module-card {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    text-align: left;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 18px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    font-family: inherit;
}

.admin-module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    border-color: #CBD5E1;
    background: #FFFFFF;
}

.admin-module-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 1.15rem;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.16);
}

.admin-module-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.admin-module-body strong {
    font-size: 0.98rem;
    color: var(--brand-navy);
}

.admin-module-body span {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--brand-muted);
}

.admin-module-arrow {
    color: #94A3B8;
    font-size: 0.85rem;
    transition: transform 0.18s ease, color 0.18s ease;
}

.admin-module-card:hover .admin-module-arrow {
    transform: translateX(3px);
    color: var(--brand-red);
}

.pw-field-wrap {
    position: relative;
}

.pw-field-wrap input {
    width: 100%;
    padding-right: 46px !important;
}

.pw-toggle-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: none;
    background: #F1F5F9;
    color: #475569;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pw-toggle-btn:hover {
    background: #E2E8F0;
    color: var(--brand-red);
}

.mapp-input-row + .mapp-input-row {
    border-top: 1px solid #E2E8F0;
    margin-top: 2px;
}

@media (max-width: 640px) {
    .admin-module-home {
        padding: 20px;
    }
    .admin-module-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ÇATI ADMİN SİSTEM GEÇİŞ BARI, SİSTEM SEÇİCİ KARTLAR VE GÖMÜLÜ IFRAME ALANI
   ========================================================================== */

.admin-system-switcher-bar {
    background: linear-gradient(90deg, #0b1120 0%, #1e293b 100%);
    border-bottom: 1px solid #334155;
    padding: 10px 0;
    position: sticky;
    top: 76px;
    z-index: 950;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.22);
}

.admin-switcher-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.switcher-label {
    font-size: 0.78rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.switcher-pills {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    flex: 1;
}

.switcher-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
    white-space: nowrap;
}

.switcher-pill:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-1px);
}

.switcher-pill.active {
    background: var(--brand-red);
    color: #ffffff;
    border-color: #f87171;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35);
}

.switcher-pill.pill-emerald.active { background: #059669; border-color: #34d399; box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35); }
.switcher-pill.pill-red.active { background: #dc2626; border-color: #f87171; }
.switcher-pill.pill-amber.active { background: #d97706; border-color: #fbbf24; box-shadow: 0 4px 12px rgba(217, 119, 6, 0.35); }
.switcher-pill.pill-blue.active { background: #2563eb; border-color: #60a5fa; box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35); }
.switcher-pill.pill-purple.active { background: #7c3aed; border-color: #a78bfa; box-shadow: 0 4px 12px rgba(124, 58, 237, 0.35); }
.switcher-pill.pill-cyan.active { background: #0284c7; border-color: #38bdf8; box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35); }
.switcher-pill.pill-indigo.active { background: #4f46e5; border-color: #818cf8; box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35); }
.switcher-pill.pill-teal.active { background: #0d9488; border-color: #2dd4bf; box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35); }

/* SİSTEM SEÇİCİ VITRIN KARTLARI */
.admin-systems-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(305px, 1fr));
    gap: 18px;
}

.system-launcher-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
}

.system-launcher-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #cbd5e1;
}

.system-launcher-card.card-emerald::before { background: linear-gradient(90deg, #059669, #10b981); }
.system-launcher-card.card-red::before { background: linear-gradient(90deg, #dc2626, #ef4444); }
.system-launcher-card.card-orange::before { background: linear-gradient(90deg, #ea580c, #f97316); }
.system-launcher-card.card-amber::before { background: linear-gradient(90deg, #d97706, #f59e0b); }
.system-launcher-card.card-blue::before { background: linear-gradient(90deg, #2563eb, #3b82f6); }
.system-launcher-card.card-purple::before { background: linear-gradient(90deg, #7c3aed, #8b5cf6); }
.system-launcher-card.card-cyan::before { background: linear-gradient(90deg, #0284c7, #06b6d4); }
.system-launcher-card.card-teal::before { background: linear-gradient(90deg, #0d9488, #14b8a6); }

.system-launcher-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.11);
    border-color: #cbd5e1;
}

.slc-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.slc-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.25rem;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.16);
}

.slc-badge {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.slc-badge.badge-emerald { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.slc-badge.badge-red { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.slc-badge.badge-orange { background: #fff7ed; color: #c2410c; border-color: #fed7aa; }
.slc-badge.badge-amber { background: #fffbeb; color: #b45309; border-color: #fde68a; }
.slc-badge.badge-blue { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.slc-badge.badge-purple { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.slc-badge.badge-cyan { background: #f0f9ff; color: #0369a1; border-color: #bae6fd; }
.slc-badge.badge-teal { background: #f0fdfa; color: #0f766e; border-color: #99f6e4; }

.slc-body h4 {
    font-size: 1.04rem;
    font-weight: 800;
    color: var(--brand-navy);
    margin-bottom: 6px;
    line-height: 1.3;
}

.slc-body p {
    font-size: 0.82rem;
    color: var(--brand-muted);
    line-height: 1.48;
}

.slc-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px dashed #e2e8f0;
}

.slc-btn-main {
    flex: 1;
    border: none !important;
    color: #ffffff !important;
    font-size: 0.82rem !important;
    padding: 9px 12px !important;
}

.slc-btn-sub {
    font-size: 0.78rem !important;
    padding: 9px 11px !important;
    white-space: nowrap;
}

/* GÖMÜLÜ IFRAME ÇALIŞMA ALANI */
.portal-container.embedded-wide-container {
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
    padding-top: 14px !important;
}

.admin-embedded-app-wrapper {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    margin-bottom: 20px;
}

.embedded-app-toolbar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.eat-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.eat-title-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.eat-active-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
}

.eat-title-box strong {
    font-size: 0.92rem;
    color: var(--brand-navy);
}

.eat-title-box span {
    font-size: 0.78rem;
    color: var(--brand-muted);
    padding-left: 8px;
    border-left: 1px solid #cbd5e1;
}

.eat-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.embedded-iframe-container {
    width: 100%;
    height: calc(100vh - 185px);
    min-height: 720px;
    background: #0f172a;
}

.embedded-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: #ffffff;
}

@media (max-width: 768px) {
    .admin-system-switcher-bar {
        top: 64px;
        padding: 8px 0;
    }
    .switcher-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
    }
    .embedded-iframe-container {
        height: calc(100vh - 160px);
        min-height: 580px;
    }
}
