* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0b1220;
    --bg-secondary: #151e32;
    --bg-tertiary: #1e2a45;
    --text-primary: #e8eaed;
    --text-secondary: #9aa0a6;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --border: #2d3748;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border: #e2e8f0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header .subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.theme-toggle {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    transform: rotate(180deg);
}

.main-content {
    display: flex;
    gap: 20px;
    height: calc(100vh - 150px);
}

.filters {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 25px;
    width: 320px;
    overflow-y: auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border);
}

.filters h2 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 20px;
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
}

.filter-group label i {
    margin-right: 8px;
    color: var(--accent);
}

.filter-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transition: border-color 0.3s;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.filter-group select:disabled {
    background: var(--bg-tertiary);
    opacity: 0.5;
    cursor: not-allowed;
}

.checkbox-group {
    display: flex;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 10px;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--border);
}

.stats {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.stats i {
    color: var(--accent);
}

.map-container {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    border: 1px solid var(--border);
}

#map {
    width: 100%;
    height: 100%;
}

.map-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.map-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: var(--bg-secondary);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--accent);
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.map-btn:hover {
    transform: scale(1.1);
    background: var(--accent);
    color: white;
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-secondary);
    margin: 5% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: slideIn 0.3s ease;
    border: 1px solid var(--border);
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.close:hover {
    color: var(--text-primary);
}

.station-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.station-details p {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.station-details i {
    width: 25px;
    color: var(--accent);
    margin-right: 10px;
}

.station-actions {
    margin-top: 25px;
    display: flex;
    gap: 10px;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    flex: 1;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.btn-navigate {
    background: #4285F4;
    color: white;
    flex: 1;
}

.btn-navigate:hover {
    background: #3367D6;
}

.custom-marker {
    background: var(--accent);
    border: 3px solid var(--bg-primary);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.custom-marker.dc {
    background: #8b5cf6;
}

.custom-marker.green {
    background: var(--success);
}

.custom-marker::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--bg-primary);
}

/* TV ve Büyük Ekranlar */
@media (min-width: 1400px) {
    .container {
        max-width: 1600px;
    }

    header h1 {
        font-size: 3rem;
    }

    .filters {
        width: 350px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
        height: auto;
    }

    .filters {
        width: 100%;
        max-height: none;
    }

    .map-container {
        height: 400px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    .station-actions {
        flex-direction: column;
    }

    .modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .btn-accept,
    .btn-reject {
        width: 100%;
    }
}

/* Küçük Mobil */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .filters {
        padding: 15px;
    }

    .btn {
        padding: 12px;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

footer {
    text-align: center;
    padding: 20px;
    color: white;
    font-size: 0.9rem;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(255,255,255,0.5);
}

footer a:hover {
    border-bottom-style: solid;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 20px;
    z-index: 3000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    display: none;
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content p {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.cookie-content a {
    color: var(--accent);
    text-decoration: none;
}

.cookie-content a:hover {
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-accept {
    background: var(--accent);
    color: white;
    padding: 10px 30px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-accept:hover {
    background: var(--accent-hover);
}

.btn-reject {
    background: transparent;
    color: var(--text-secondary);
    padding: 10px 30px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-reject:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    .filters {
        padding: 15px;
    }

    .btn {
        padding: 12px;
    }
}

/* Privacy Page */
.privacy-container {
    max-width: 900px;
}

.privacy-content {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.privacy-content section {
    margin-bottom: 30px;
}

.privacy-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
}

.privacy-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    margin-top: 20px;
}

.privacy-content p {
    margin-bottom: 10px;
    line-height: 1.8;
    color: var(--text-primary);
}

.privacy-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.privacy-content li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: var(--text-primary);
}

.privacy-content a {
    color: var(--accent);
    text-decoration: none;
}

.privacy-content a:hover {
    text-decoration: underline;
}

.privacy-content strong {
    color: var(--accent);
}
