:root {
    --primary: #111827;          
    --secondary: #4b5563;        
    --accent-red: #ea580c;       /* Kurumsal Turuncu */
    --accent-red-hover: #c2410c; /* Turuncu Hover */
    --accent-red-shadow: #9a3412;/* Turuncu 3D Alt Gölge */
    --bg-page: #e2e8f0;          
    --bg-card: #ffffff;
    --bg-card-grad: linear-gradient(180deg, #ffffff 0%, #fff7ed 100%);
    --text-dark: #111827;
    --text-muted: #64748b;
    --border-light: #fed7aa;
    --border-dark: #ea580c;
    --input-bg: #ffffff;
    --route-text-bg: #ffffff;
    --qr-panel-bg: #fff7ed;
    --skeleton-bg: #fed7aa;
    --skeleton-shine: #ffedd5;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition-speed: 0.25s;
    --font-scale: 1; 
    
    --shadow-bevel: inset 0 2px 0 rgba(255,255,255,0.8), inset 0 -2px 0 rgba(234,88,12,0.05);
    --shadow-drop: 0 10px 30px rgba(0,0,0,0.12);
    --shadow-inner: inset 0 4px 8px rgba(0,0,0,0.08);
    --line-color: rgba(234, 88, 12, 0.08);

    --weather-border: #ea580c;
    --weather-text: #ea580c; 
    --menu-bg: #ffffff;
    --menu-text: #111827;
}

[data-theme="dark"] {
    --primary: #f8fafc;          
    --secondary: #cbd5e1;        
    --accent-red: #f97316;       
    --accent-red-hover: #ea580c; 
    --accent-red-shadow: #7c2d12;
    --bg-page: #020617;          
    --bg-card: #1e293b;
    --bg-card-grad: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    --text-dark: #f8fafc;
    --text-muted: #94a3b8;
    --border-light: #334155;
    --border-dark: #ea580c;
    --input-bg: #0f172a;
    --route-text-bg: #0f172a;
    --qr-panel-bg: #0f172a;
    --skeleton-bg: #334155;
    --skeleton-shine: #475569;
    
    --shadow-bevel: inset 0 1px 0 rgba(255,255,255,0.1), inset 0 -2px 0 rgba(0,0,0,0.3);
    --shadow-drop: 0 15px 40px rgba(0,0,0,0.5);
    --shadow-inner: inset 0 3px 8px rgba(0,0,0,0.5);
    --line-color: rgba(255,255,255,0.05);
    
    --weather-text: #fb923c;
    --menu-bg: #1e293b;
    --menu-text: #ffffff;
}

/* Yüksek Kontrast Modu */
[data-theme="high-contrast"] {
    --primary: #ffff00;          
    --secondary: #ffffff;        
    --accent-red: #ffff00;       
    --accent-red-hover: #ffffff; 
    --accent-red-shadow: #000000;
    --bg-page: #000000;          
    --bg-card: #000000;
    --bg-card-grad: #000000;
    --text-dark: #ffff00;
    --text-muted: #ffffff;
    --border-light: #ffff00;
    --border-dark: #ffff00;
    --input-bg: #000000;
    --route-text-bg: #000000;
    --qr-panel-bg: #000000;
    --skeleton-bg: #333333;
    --skeleton-shine: #555555;
    --shadow-bevel: none;
    --shadow-drop: none;
    --shadow-inner: none;
    --line-color: transparent;
    --menu-bg: #000000;
    --menu-text: #ffff00;
}

[data-theme="high-contrast"] .btn-primary, 
[data-theme="high-contrast"] .btn-install, 
[data-theme="high-contrast"] .btn-gps, 
[data-theme="high-contrast"] .btn-maps, 
[data-theme="high-contrast"] .btn-corporate {
    background: #ffff00 !important; 
    color: #000000 !important; 
    border: 2px solid #ffffff !important; 
    box-shadow: none !important; 
    text-shadow: none !important;
}

[data-theme="high-contrast"] .btn-outline {
    background: #000000 !important; 
    color: #ffff00 !important; 
    border: 2px solid #ffff00 !important;
}

body.theme-rain { --weather-text: #0284c7; --bg-page: #cbd5e1; }
body.theme-snow { --weather-text: #0ea5e9; --bg-page: #e2e8f0; }
body.theme-cloud { --weather-text: #ea580c; --bg-page: #e2e8f0; }
body.theme-hot { --weather-text: #ea580c; --bg-page: #ffedd5; }

[data-theme="dark"] body.theme-rain { --bg-page: #0f172a; --weather-text: #38bdf8; }
[data-theme="dark"] body.theme-snow { --bg-page: #1e293b; --weather-text: #e0f2fe; }
[data-theme="dark"] body.theme-cloud { --bg-page: #111827; --weather-text: #fb923c; }
[data-theme="dark"] body.theme-hot { --bg-page: #451a03; --weather-text: #fb923c; }

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    font-family: 'Inter', system-ui, sans-serif; 
    -webkit-tap-highlight-color: transparent; 
    transition: background-color var(--transition-speed), color var(--transition-speed); 
    font-size: calc(1rem * var(--font-scale)); 
}

body { 
    background-color: var(--bg-page); 
    color: var(--text-dark); 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    min-height: 100vh; 
    padding: 2.5rem 1rem; 
    overflow-x: hidden; 
}

/* Hava Durumu Efektleri ve Katmanları */
#weather-layer { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; 
    pointer-events: none; 
    z-index: 9999; 
    overflow: hidden; 
    transition: all 0.5s ease;
}

.glass-effect { 
    backdrop-filter: blur(1.5px); 
    background: rgba(255, 255, 255, 0.05); 
    box-shadow: inset 0 0 50px rgba(255,255,255,0.1); 
}
[data-theme="dark"] .glass-effect { 
    background: rgba(0, 0, 0, 0.1); 
    box-shadow: inset 0 0 50px rgba(0,0,0,0.3); 
}

.raindrop { 
    position: absolute; 
    width: 2.5px; 
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(14, 165, 233, 0.9)); 
    animation: fall linear infinite; 
    z-index: 9999; 
    box-shadow: 0 0 4px rgba(14, 165, 233, 0.6); 
    border-radius: 50px;
}
.snowflake { 
    position: absolute; 
    background: #fff; 
    border-radius: 50%; 
    box-shadow: 0 0 5px rgba(255,255,255,0.8); 
    animation: snow-fall linear infinite; 
    opacity: 0.8; 
    z-index: 9999;
}
.cloud-anim { 
    position: absolute; 
    background: #ffffff; 
    border-radius: 50px; 
    filter: blur(15px); 
    opacity: 0.5; 
    animation: drift linear infinite; 
    z-index: -1;
}
[data-theme="dark"] .cloud-anim { background: #64748b; opacity: 0.3; }

.sparkle { 
    position: absolute; 
    background: #fff; 
    border-radius: 50%; 
    box-shadow: 0 0 10px 2px rgba(255,255,255,0.8); 
    animation: twinkle ease-in-out infinite; 
    z-index: 9999;
}
.sun-ray { 
    position: absolute; 
    top: -20%; 
    left: -20%; 
    width: 140vw; 
    height: 140vh; 
    background: radial-gradient(circle at 50% 0%, rgba(234, 88, 12, 0.12) 0%, transparent 60%); 
    animation: pulse-ray 5s infinite alternate; 
    z-index: -1;
}
[data-theme="dark"] .sun-ray { 
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 60%); 
}

.heat-wave-layer { 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 100vw; 
    height: 60vh; 
    background: linear-gradient(to top, rgba(234, 88, 12, 0.15), transparent); 
    animation: heat 4s infinite alternate; 
    z-index: 9999;
}
[data-theme="dark"] .heat-wave-layer { 
    background: linear-gradient(to top, rgba(251, 146, 60, 0.15), transparent); 
}

@keyframes fall { 0% { transform: translateY(-100px) scale(1); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(100vh) scale(1.1); opacity: 0; } }
@keyframes snow-fall { 0% { transform: translateY(-100px) rotate(0deg) translateX(0); } 100% { transform: translateY(100vh) rotate(360deg) translateX(20px); } }
@keyframes drift { 0% { transform: translateX(-200px); } 100% { transform: translateX(100vw); } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(0.5); } 50% { opacity: 1; transform: scale(1.5); } }
@keyframes pulse-ray { 0% { opacity: 0.6; } 100% { opacity: 1; } }
@keyframes heat { 0% { transform: translateY(0) scaleY(1); opacity: 0.4; } 100% { transform: translateY(-20px) scaleY(1.05); opacity: 0.8; } }

/* Kasa ve Çizgiler */
.app-container { 
    width: 100%; 
    max-width: 900px; 
    background: var(--bg-card-grad); 
    border-radius: var(--radius-lg); 
    box-shadow: var(--shadow-drop), 0 0 0 1px var(--border-dark); 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    margin-bottom: 2rem; 
    position: relative; 
    border-bottom: 6px solid var(--border-dark); 
    z-index: 10;
}
.app-container::before, .app-container::after {
    content: ''; 
    position: absolute; 
    top: 125px; 
    bottom: 0; 
    width: 20px;
    background: repeating-linear-gradient(-45deg, var(--line-color) 0, var(--line-color) 2px, transparent 2px, transparent 10px);
    pointer-events: none; 
    z-index: 1;
}
.app-container::before { left: 0; } 
.app-container::after { right: 0; }

/* 3D Header (Kurumsal Turuncu & Beyaz Uyumlu) */
.header { 
    background: linear-gradient(180deg, #f97316 0%, #ea580c 100%); 
    padding: 1.35rem 2.25rem; 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
    border-bottom: 3px solid #9a3412; 
    box-shadow: 0 4px 10px rgba(234, 88, 12, 0.25); 
    position: relative; 
    z-index: 10; 
}
[data-theme="dark"] .header {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border-bottom: 3px solid #ea580c;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.header-top { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 1rem; flex-wrap: wrap; }
.header-left { display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 260px; }
.header-right { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; justify-content: flex-end; }

/* Lokasyon İkonu Kutusu */
.header-transport-icon { 
    width: 58px;
    height: 54px; 
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff; 
    border-radius: var(--radius-md); 
    box-shadow: 0 6px 12px rgba(0,0,0,0.25), inset 0 2px 0 rgba(255,255,255,1), inset 0 -3px 0 rgba(234,88,12,0.15); 
    border: 2px solid #fed7aa; 
    cursor: pointer; 
    transition: all 0.2s; 
    flex-shrink: 0;
}
.header-transport-icon:hover { transform: translateY(-2px); }
.header-transport-icon:active { transform: translateY(2px) scale(0.95); }

.header-title { 
    color: #ffffff; 
    font-size: 1.25rem; 
    font-weight: 800; 
    letter-spacing: 0.02em; 
    text-transform: uppercase; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.35); 
    cursor: pointer;
    line-height: 1.25;
}

/* Butonlar & Dil */
.btn-icon { 
    background: #ffffff; 
    border: 1px solid #fed7aa; 
    border-bottom: 3px solid #9a3412; 
    border-radius: var(--radius-md); 
    width: 42px; 
    height: 42px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    cursor: pointer; 
    color: #ea580c; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.15); 
    flex-shrink: 0;
}
[data-theme="dark"] .btn-icon {
    background: #334155;
    border: 1px solid #475569;
    border-bottom: 3px solid #0f172a;
    color: #ffffff;
}
.btn-icon:active { transform: translateY(2px); border-bottom-width: 1px; }
.btn-icon.muted { color: #94a3b8; }

.btn-install { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.5rem; 
    background: #ffffff; 
    color: #ea580c; 
    border: 1px solid #fed7aa; 
    border-bottom: 3px solid #9a3412; 
    border-radius: var(--radius-md); 
    padding: 0.6rem 1.2rem; 
    font-weight: 800; 
    cursor: pointer; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.2); 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    transition: all 0.15s ease;
}
.btn-install:active { transform: translateY(2px); border-bottom-width: 1px; }

/* Erişilebilirlik Menüsü */
.accessibility-menu { position: relative; display: inline-block; }
.accessibility-dropdown { 
    display: none; 
    position: absolute; 
    top: calc(100% + 10px); 
    right: 0; 
    background: var(--bg-card); 
    border: 2px solid var(--border-dark); 
    border-radius: var(--radius-md); 
    box-shadow: var(--shadow-drop); 
    padding: 0.5rem; 
    z-index: 1000; 
    min-width: 200px;
}
.accessibility-menu.open .accessibility-dropdown { display: flex; flex-direction: column; gap: 0.5rem; }
.accessibility-dropdown button { 
    padding: 0.75rem 1rem; 
    border: none; 
    background: var(--input-bg); 
    color: var(--text-dark); 
    border-radius: 4px; 
    cursor: pointer; 
    font-weight: 700; 
    text-align: left; 
    transition: background 0.2s; 
    white-space: nowrap;
}
.accessibility-dropdown button:hover { background: var(--border-light); color: #9a3412; }

/* DİL SEÇİM BUTONU */
.lang-switch {
    position: relative;
    display: inline-block;
}
.lang-switch select { 
    appearance: none; 
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff !important; 
    color: #111827 !important; 
    border: 2px solid #fed7aa !important;
    border-bottom: 3px solid #9a3412 !important;
    padding: 0.55rem 2.4rem 0.55rem 0.9rem; 
    border-radius: var(--radius-md); 
    font-weight: 800; 
    font-size: 0.95rem; 
    height: 42px;
    cursor: pointer; 
    outline: none; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.18); 
    min-width: 120px; 
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ea580c%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important; 
    background-repeat: no-repeat !important; 
    background-position: right 0.75rem center !important; 
    background-size: 0.65rem auto !important; 
}
[data-theme="dark"] .lang-switch select {
    background-color: #334155 !important;
    color: #ffffff !important;
    border: 1px solid #475569 !important;
    border-bottom: 3px solid #0f172a !important;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23FFFFFF%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E") !important;
}
.lang-switch select option { 
    background-color: #ffffff !important; 
    color: #111827 !important; 
    font-weight: 700;
    padding: 8px;
}
[data-theme="dark"] .lang-switch select option {
    background-color: #1e293b !important;
    color: #ffffff !important;
}

.progress-wrapper { 
    background-color: #fed7aa; 
    height: 8px; 
    width: 100%; 
    box-shadow: var(--shadow-inner); 
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
[data-theme="dark"] .progress-wrapper { background-color: #334155; }
.progress-fill { 
    height: 100%; 
    background: linear-gradient(90deg, #ea580c, #f97316); 
    width: 0%; 
    transition: width 0.5s ease; 
    box-shadow: 0 0 10px rgba(234, 88, 12, 0.8), inset 0 2px 2px rgba(255,255,255,0.4);
}

.info-bar-inline { 
    display: flex; 
    justify-content: flex-end; 
    align-items: center; 
    gap: 1.5rem; 
    width: 100%; 
    margin-bottom: 1.5rem; 
    padding: 0 1.5rem; 
    color: var(--weather-text); 
    font-family: 'JetBrains Mono', monospace; 
    font-size: 0.9rem; 
    font-weight: 700; 
    opacity: 0.95; 
    flex-wrap: wrap;
}
.info-item { display: flex; align-items: center; gap: 0.5rem; }
.info-item svg { width: 18px; height: 18px; }
.weather-warning { 
    background: rgba(234, 88, 12, 0.12); 
    color: var(--accent-red); 
    padding: 2px 8px; 
    border-radius: 4px; 
    font-size: 0.8rem; 
    border: 1px solid rgba(234, 88, 12, 0.25);
}

.main-content { 
    padding: 1.5rem 4rem 4rem 4rem; 
    position: relative; 
    min-height: 460px; 
    display: flex; 
    flex-direction: column; 
    z-index: 2; 
    justify-content: center;
}

/* Karşılama Kutusu */
.welcome-box {
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    min-height: 320px; 
    text-align: center;
    padding: 1rem 0;
}
.welcome-hero-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff7ed;
    border: 3px solid #fed7aa;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.15);
}
[data-theme="dark"] .welcome-hero-icon {
    background: #0f172a;
    border-color: #ea580c;
}

/* Skeleton Loader */
.skeleton-overlay {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 2rem 0;
}
.skeleton-overlay.active { display: flex; }
.skeleton-anim {
    background: linear-gradient(90deg, var(--skeleton-bg) 25%, var(--skeleton-shine) 50%, var(--skeleton-bg) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}
.skeleton-title { width: 55%; height: 36px; margin-bottom: 1rem; }
.skeleton-sub { width: 80%; height: 22px; margin-bottom: 3rem; }
.skeleton-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 1.5rem; 
    width: 100%; 
}
.skeleton-card { height: 170px; width: 100%; }
@keyframes skeleton-loading { 
    0% { background-position: 200% 0; } 
    100% { background-position: -200% 0; } 
}

.step-container { display: none; opacity: 0; flex: 1; width: 100%; }
.step-container.active { display: block; animation: fadeIn 0.4s forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

/* BAŞLIK */
.step-header { margin-bottom: 3rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.step-title { 
    font-size: 1.8rem; 
    font-weight: 800; 
    color: var(--text-dark) !important; 
    margin: 0 auto 1.2rem auto; 
    display: inline-block; 
    text-transform: uppercase; 
    letter-spacing: 0.05em; 
    text-align: center;
}
[data-theme="dark"] .step-title { color: #f8fafc !important; }
.step-subtitle { 
    color: var(--text-muted); 
    font-size: 1.15rem; 
    font-weight: 600; 
    padding: 0 1rem; 
    text-align: center;
    max-width: 650px;
    line-height: 1.5;
}

/* KABARTMALI BEYAZ ÇERÇEVELER */
.selection-card, .route-text, .traffic-warning-box, .qr-panel, .map-wrapper { 
    background: #ffffff !important; 
    border-radius: var(--radius-md); 
    border: 1px solid var(--border-light) !important; 
    box-shadow: 0 12px 24px rgba(0,0,0,0.08), 0 4px 8px rgba(234,88,12,0.06), inset 0 2px 0 rgba(255,255,255,1), inset 0 -2px 0 rgba(234,88,12,0.05) !important;
}
[data-theme="dark"] .selection-card, 
[data-theme="dark"] .route-text, 
[data-theme="dark"] .traffic-warning-box, 
[data-theme="dark"] .qr-panel, 
[data-theme="dark"] .map-wrapper {
    background: var(--bg-card) !important; 
    border-color: var(--border-dark) !important; 
    box-shadow: 0 12px 24px rgba(0,0,0,0.6), 0 4px 8px rgba(0,0,0,0.4) !important;
}

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; position: relative; z-index: 10; width: 100%; }
.selection-card { 
    padding: 2.5rem 1rem; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    cursor: pointer; 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); 
}
.selection-card:hover { transform: translateY(-4px); border-color: var(--accent-red) !important; }
.selection-card:hover span, .selection-card:hover svg { fill: var(--accent-red); color: var(--accent-red); }
.selection-card:active { 
    transform: translateY(2px); 
    box-shadow: var(--shadow-inner) !important; 
}
.selection-card svg { 
    width: 50px; 
    height: 50px; 
    fill: var(--accent-red); 
    margin-bottom: 1.5rem; 
    transition: transform 0.3s, fill 0.3s; 
    filter: drop-shadow(0 4px 6px rgba(234,88,12,0.2)); 
}
.selection-card span { 
    font-weight: 800; 
    font-size: 1.1rem; 
    color: var(--primary); 
    text-transform: uppercase; 
    transition: color 0.3s; 
}

.location-area { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; max-width: 500px; margin: 0 auto; width: 100%; }
.divider { 
    display: flex; 
    align-items: center; 
    text-align: center; 
    width: 100%; 
    color: var(--text-muted); 
    font-weight: 800; 
    font-size: 1rem; 
    text-transform: uppercase; 
    letter-spacing: 0.1em; 
}
.divider::before, .divider::after { content: ''; flex: 1; border-bottom: 2px dashed var(--border-dark); opacity: 0.4; }
.divider:not(:empty):before { margin-right: 1.5em; } 
.divider:not(:empty):after { margin-left: 1.5em; }

.form-select { 
    width: 100%; 
    display: block; 
    padding: 1.25rem 1.5rem; 
    font-size: 1.15rem; 
    font-weight: 700; 
    color: var(--text-dark); 
    background-color: var(--input-bg); 
    border: 2px solid var(--border-light); 
    border-radius: var(--radius-md); 
    outline: none; 
    appearance: none; 
    cursor: pointer; 
    transition: all 0.2s; 
    box-shadow: var(--shadow-inner);
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ea580c%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 1.25rem top 50%; 
    background-size: 0.9rem auto; 
}
.form-select:focus { border-color: var(--accent-red); box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.25); }

.controls { margin-top: auto; padding-top: 3rem; display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 1rem; }
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 0.75rem; 
    padding: 1.15rem 2.25rem; 
    font-size: 1.05rem; 
    font-weight: 800; 
    border-radius: var(--radius-md); 
    border: none; 
    cursor: pointer; 
    transition: all 0.15s ease; 
    text-decoration: none; 
    user-select: none; 
    text-transform: uppercase; 
    letter-spacing: 0.03em; 
    text-align: center;
}
.btn-outline, .btn-primary, .btn-maps { 
    background: linear-gradient(180deg, #f97316 0%, var(--accent-red) 100%); 
    color: #ffffff; 
    border: 1px solid #c2410c; 
    border-bottom: 4px solid var(--accent-red-shadow); 
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), 0 6px 12px rgba(234, 88, 12, 0.3); 
}
.btn-outline:active, .btn-primary:active, .btn-maps:active { 
    border-bottom-width: 1px; 
    transform: translateY(3px); 
}

.btn-gps { 
    background: linear-gradient(180deg, #f97316 0%, #ea580c 100%); 
    color: #ffffff; 
    border: 1px solid #c2410c; 
    border-bottom: 4px solid #9a3412; 
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.35), 0 6px 12px rgba(234, 88, 12, 0.3); 
    width: 100%; 
}
.btn-gps:active { border-bottom-width: 1px; transform: translateY(3px); }

/* Kurumsal Giriş Butonu */
.btn-corporate {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    background: linear-gradient(180deg, #fb923c 0%, #ea580c 100%);
    color: #ffffff; 
    padding: 1.25rem 5rem; 
    font-size: 1.35rem; 
    font-weight: 800;
    letter-spacing: 0.1em; 
    text-transform: uppercase; 
    border-radius: 50px;
    border: 1px solid #c2410c; 
    border-bottom: 5px solid #9a3412;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.4), inset 0 2px 0 rgba(255,255,255,0.35);
    cursor: pointer; 
    transition: all 0.2s ease; 
    max-width: 100%; 
    width: auto;
}
.btn-corporate:hover {
    background: linear-gradient(180deg, #fdba74 0%, #f97316 100%);
    transform: translateY(-2px); 
}
.btn-corporate:active {
    border-bottom-width: 2px; 
    transform: translateY(3px); 
}

/* KVKK Butonu ve Açılır İç Sayfa (Modal) */
.privacy-link-btn { 
    margin-top: 2rem; 
    font-size: 0.95rem; 
    color: var(--text-muted); 
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 700; 
    transition: color 0.2s; 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
}
.privacy-link-btn:hover { color: var(--accent-red); background: rgba(234, 88, 12, 0.08); }

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(4px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-overlay.open {
    display: flex;
    animation: fadeIn 0.25s ease-out forwards;
}
.modal-box {
    background: var(--bg-card);
    color: var(--text-dark);
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-dark);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.modal-header {
    background: linear-gradient(180deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    padding: 1.25rem 1.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #9a3412;
}
.modal-title-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.modal-title-group h3 {
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
}
.modal-close {
    background: #ffffff;
    color: #ea580c;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.modal-body {
    padding: 1.75rem;
    overflow-y: auto;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-dark);
}
.modal-body h4 {
    color: var(--accent-red);
    font-weight: 800;
    margin: 1.25rem 0 0.5rem 0;
}
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { margin-bottom: 0.75rem; }
.modal-footer {
    padding: 1rem 1.75rem;
    background: var(--qr-panel-bg);
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: flex-end;
}

/* Kiosk Eğitim Animasyonu */
.kiosk-guide { 
    position: fixed; 
    bottom: 2rem; 
    left: 2rem; 
    width: 220px; 
    background: var(--bg-card); 
    border-radius: var(--radius-md); 
    box-shadow: var(--shadow-drop); 
    border: 2px solid var(--border-dark); 
    z-index: 1000; 
    overflow: hidden; 
    display: none; 
    flex-direction: column;
}
.kiosk-guide-header { 
    background: var(--accent-red); 
    color: #fff; 
    font-size: 0.75rem; 
    font-weight: 800; 
    padding: 0.5rem 0.75rem; 
    text-align: center; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}
.kiosk-guide-content { 
    padding: 1rem; 
    text-align: center; 
    font-size: 0.85rem; 
    font-weight: 700; 
    color: var(--text-dark); 
    min-height: 85px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    position: relative;
}
.kiosk-step { position: absolute; width: 100%; padding: 0 0.5rem; opacity: 0; animation: kioskLoop 12s infinite; }
.kiosk-step:nth-child(1) { animation-delay: 0s; }
.kiosk-step:nth-child(2) { animation-delay: 3s; }
.kiosk-step:nth-child(3) { animation-delay: 6s; }
.kiosk-step:nth-child(4) { animation-delay: 9s; }
@keyframes kioskLoop { 
    0%, 20% { opacity: 1; transform: translateY(0); } 
    25%, 100% { opacity: 0; transform: translateY(-10px); } 
}
.kiosk-guide .close-guide { cursor: pointer; color: #ffffff; font-weight: bold; font-size: 1rem; }

/* Rota Sonuç Ekranı */
.result-layout { display: flex; flex-direction: column; gap: 2rem; width: 100%; }
.result-top { display: grid; grid-template-columns: 1fr 240px; gap: 3rem; }
.route-text { padding: 2rem; font-size: 1.15rem; line-height: 1.8; color: var(--text-dark); margin-bottom: 1.5rem; font-weight: 500; }
.route-text strong { font-weight: 800; color: var(--accent-red); }
.traffic-warning-box { 
    padding: 1.25rem 1.5rem; 
    margin-bottom: 1.5rem; 
    display: none; 
    align-items: center; 
    gap: 1.25rem; 
    color: var(--text-dark); 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 0.02em; 
    flex-wrap: wrap;
}
.traffic-warning-box svg { 
    width: 32px; 
    height: 32px; 
    fill: none; 
    stroke: var(--accent-red); 
    stroke-width: 2.5; 
    flex-shrink: 0; 
}

.traffic-density { 
    display: inline-block; 
    background: var(--accent-red); 
    color: #fff; 
    padding: 2px 8px; 
    border-radius: 4px; 
    font-weight: 800; 
    margin-left: 10px;
}

.map-wrapper { height: 400px; overflow: hidden; position: relative; }
.map-wrapper iframe { width: 100%; height: 100%; border: none; }
.qr-panel { padding: 2rem 1.5rem; display: flex; flex-direction: column; align-items: center; text-align: center; }
.qr-panel span { font-size: 0.95rem; color: var(--primary); margin-bottom: 1.25rem; font-weight: 800; line-height: 1.4; text-transform: uppercase; }
#qrcode { background: #fff; padding: 12px; border-radius: 8px; box-shadow: var(--shadow-inner); border: 1px solid var(--border-light); }
.action-group { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Sabit SOS Butonu */
.floating-sos { 
    position: fixed; 
    bottom: 2rem; 
    right: 2rem; 
    width: 60px; 
    height: 60px; 
    background: linear-gradient(180deg, #fb923c 0%, var(--accent-red) 100%); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 10px 20px rgba(234,88,12,0.4), inset 0 2px 0 rgba(255,255,255,0.35); 
    border: 2px solid var(--accent-red-shadow); 
    cursor: pointer; 
    z-index: 999; 
    color: #fff; 
    transition: all 0.2s; 
}
.floating-sos:active { transform: scale(0.9); }
.floating-sos svg { width: 28px; height: 28px; }

.footer-frame { 
    width: 100%; 
    max-width: 900px; 
    text-align: center; 
    color: var(--text-dark); 
    font-size: 1.05rem; 
    line-height: 1.8; 
    background: var(--bg-card-grad); 
    padding: 3rem 2rem; 
    border-radius: var(--radius-lg); 
    border: 1px solid var(--border-light); 
    border-bottom: 6px solid var(--border-dark); 
    box-shadow: var(--shadow-drop); 
    position: relative; 
    overflow: hidden; 
    margin-bottom: 1.5rem; 
    z-index: 10; 
}
.footer-transport-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 1.25rem auto;
    background: #fff7ed;
    border: 2px solid #fed7aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.15);
}
[data-theme="dark"] .footer-transport-icon {
    background: #0f172a;
    border-color: #ea580c;
}
.footer-frame strong { 
    color: var(--accent-red); 
    font-size: 1.3rem; 
    display: block; 
    margin-bottom: 0.75rem; 
    font-weight: 800; 
    text-transform: uppercase; 
}
.footer-frame a { color: var(--text-muted); text-decoration: none; font-weight: 700; transition: color 0.2s; }
.footer-frame a:hover { text-decoration: underline; color: var(--accent-red); }

.copyright-wrapper { 
    width: 100%; 
    max-width: 900px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 0.75rem; 
    margin-bottom: 1rem; 
    padding: 1rem; 
    z-index: 10; 
    position: relative; 
}
.copyright { 
    font-size: clamp(0.65rem, 2.8vw, 0.85rem); 
    font-weight: 800; 
    color: var(--text-muted); 
    text-transform: uppercase; 
    letter-spacing: 0.08em; 
    text-align: center;
}
.copyright span { color: var(--accent-red); }
.btn-powered { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    background: var(--bg-card); 
    color: var(--accent-red); 
    font-size: 0.75rem; 
    font-weight: 800; 
    padding: 0.5rem 1.2rem; 
    border-radius: var(--radius-md); 
    text-decoration: none; 
    letter-spacing: 0.05em; 
    border: 1px solid var(--border-light); 
    box-shadow: var(--shadow-drop); 
    transition: all 0.2s ease; 
}
.btn-powered:hover { color: var(--accent-red-hover); transform: translateY(-2px); }

/* Mobil Optimizasyon - Tüm Cep Telefonlarıyla Tam Uyum */
@media (max-width: 768px) {
    body { padding: 0.75rem 0.5rem; }
    .app-container, .footer-frame { border-radius: var(--radius-md); border-bottom-width: 4px; }
    .header { padding: 1rem; }
    .header-top { flex-direction: column; gap: 1rem; }
    .header-left { justify-content: center; width: 100%; text-align: left; }
    .header-right { justify-content: center; width: 100%; }
    .info-bar-inline { justify-content: center; padding: 0 0 1rem 0; flex-wrap: wrap; margin-bottom: 1rem; border-bottom: 1px dashed var(--border-dark); gap: 0.75rem; }
    .main-content { padding: 1.25rem 1rem 2.5rem 1rem; min-height: auto; }
    .step-header { margin-bottom: 1.75rem; }
    .step-title { font-size: 1.35rem; padding: 0; }
    .step-subtitle { font-size: 1rem; padding: 0; }
    
    .accessibility-dropdown {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        max-width: 90vw; 
    }

    .btn-corporate { padding: 1.15rem 2rem; width: 100%; font-size: 1.15rem; }
    .result-top { grid-template-columns: 1fr; gap: 1.5rem; }
    .map-wrapper { height: 320px; }
    .action-group, .controls { flex-direction: column-reverse; gap: 0.85rem; width: 100%; padding-top: 2rem; }
    .action-group .btn, .controls .btn { width: 100%; justify-content: center; }
    .card-grid { grid-template-columns: 1fr; gap: 1rem; }
    .selection-card { padding: 1.75rem 1rem; }
    .footer-frame { padding: 2rem 1rem; font-size: 0.95rem; }
    .floating-sos { width: 50px; height: 50px; bottom: 1rem; right: 1rem; }
    .kiosk-guide { display: none !important; } 
    .modal-box { max-height: 90vh; }
    .modal-body { padding: 1.25rem; font-size: 0.92rem; }
}

@media (max-width: 420px) {
    .header-transport-icon { width: 48px; height: 44px; }
    .header-transport-icon svg { width: 28px; height: 28px; }
    .header-title { font-size: 1rem; }
    .lang-switch select { padding: 0.45rem 2rem 0.45rem 0.65rem; min-width: 100px; font-size: 0.85rem; height: 38px; }
    .btn-icon { width: 38px; height: 38px; }
    .header-right { gap: 0.45rem; }
    #txt-welcome-title { font-size: 1.85rem !important; }
    .welcome-hero-icon { width: 80px; height: 80px; }
    .welcome-hero-icon svg { width: 48px; height: 48px; }
}