:root {
    /* Color Palette */
    --primary: #0f766e;
    /* Teal 700 */
    --primary-dark: #0d5f58;
    --primary-light: #14b8a6;
    /* Teal 500 */
    --secondary: #f0fdfa;
    /* Teal 50 */
    --accent: #f59e0b;
    /* Amber 500 */
    --accent-hover: #d97706;
    /* Amber 600 */
    --text-main: #1e293b;
    /* Slate 800 */
    --text-light: #64748b;
    /* Slate 500 */
    --white: #ffffff;
    --border: #e2e8f0;
    /* Slate 200 */

    /* Spacing */
    --container-width: 1200px;
    --border-radius: 12px;

    /* Animations */
    --trans-speed: 0.3s;
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dark Mode Palette */
:root.dark-mode {
    --primary: #14b8a6;
    /* Brighter Teal */
    --primary-dark: #0f766e;
    --secondary: #0f172a;
    /* Slate 900 */
    --white: #1e293b;
    /* Slate 800 (Cards) */
    --text-main: #f1f5f9;
    /* Slate 100 */
    --text-light: #94a3b8;
    /* Slate 400 */
    --border: #334155;
    /* Slate 700 */
}

/* Toggle Button */
.btn-icon {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--secondary);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--trans-speed) var(--ease-out);
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--trans-speed) var(--ease-out);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(15, 118, 110, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(15, 118, 110, 0.3);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.2);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(245, 158, 11, 0.3);
}

/* Header/Navbar */
.main-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent);
    transition: width var(--trans-speed) var(--ease-out);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s var(--ease-out) forwards;
}

/* Autocomplete Styles */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.autocomplete-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 9999;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    display: none;
    list-style: none;
    padding: 0;
}

.autocomplete-list li {
    padding: 10px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    color: var(--text-main);
    transition: background 0.2s;
}

.autocomplete-list li:last-child {
    border-bottom: none;
}

.autocomplete-list li:hover {
    background: #f8fafc;
    color: var(--primary);
}
/* --- MOBİL UYUMLULUK BAŞLANGIÇ --- */
.mobile-menu-btn {
    display: none; /* Masaüstünde gizle */
    background: transparent;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    margin-left: auto; /* Sağa yasla */
}

@media (max-width: 900px) {
    /* 1. Header (Menü) */
    .mobile-menu-btn { display: block !important; }
    
    .nav-links {
        display: none; /* Başlangıçta gizli */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary);
        flex-direction: column;
        padding: 1rem;
        gap: 15px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 1001;
    }
    
    .nav-links.show { display: flex; } /* JS ile açılınca görünür */
    .nav-links a { width: 100%; display: block; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }

    /* 2. Koltuk Seçim Sayfası */
    /* Inline style'ları ezmek için !important kullanıyoruz */
    .container > div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important; /* Yan yana yerine alt alta */
    }
    
    .card { padding: 1.5rem !important; }
}
/* --- MOBİL UYUMLULUK BİTİŞ --- */