:root {
    /* Light Theme - Koyu Mavi Kurumsal */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --header-bg: linear-gradient(135deg, #293d81 0%, #122a50 100%);
    --footer-bg: #1e293b;
    --contact-bar-bg: #f1f5f9;
    --primary-color: #293d81;
    --primary-hover: #1e2d6b;
    --accent-color: #122a50;
    --secondary-color: #3b82f6;
    --footer-bg: linear-gradient(135deg, #293d81 0%, #122a50 100%);
}

[data-theme="dark"] {
    /* Dark Theme - Daha Yumuşak Tonlar */
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-tertiary: #334155;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --header-bg: linear-gradient(135deg, #1a1a1a 0%, #1e293b 100%);
    --footer-bg: linear-gradient(135deg, #1a1a1a 0%, #1e293b 100%);
    --contact-bar-bg: #1e293b;
    --primary-color: #e84d5d;
    --primary-hover: #d63447;
    --accent-color: #c23346;
    --secondary-color: #e84d5d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--header-bg);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: 2px solid var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-left: 20px;
}

    .theme-toggle:hover {
        background: var(--primary-color);
        transform: scale(1.05);
    }

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: white;
}

    .logo:hover {
        color: white;
    }

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

    .logo-img:hover {
        transform: scale(1.05);
        filter: brightness(1.2);
    }

    /* Light theme - kırmızı logo */
    .logo-img.light {
        display: block;
    }

    .logo-img.dark {
        display: none;
    }

/* Dark theme - beyaz logo */
[data-theme="dark"] .logo-img.light {
    display: none;
}

[data-theme="dark"] .logo-img.dark {
    display: block;
}

.logo-text {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Dark theme'de logo text beyaz olsun */
[data-theme="dark"] .logo-text {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

    nav a:hover {
        color: var(--primary-color);
        transform: translateY(-2px);
    }

    nav a::after {
        content: '';
        position: absolute;
        bottom: 5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s ease;
    }

    nav a:hover::after {
        width: 100%;
    }

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
     /* 80px'den 60px'e düşür */
    min-height: calc(100vh - 200px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

    .page-header h1 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        font-weight: 700;
    }

    .page-header p {
        font-size: 1.2rem;
        opacity: 0.9;
    }

/* Content Area */
.content-area {
    padding: 60px 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

    .btn-primary:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
        color: white;
    }

.btn-secondary {
    background: white;
    color: #dc2626;
    border: 2px solid #dc2626;
}

    .btn-secondary:hover {
        background: #dc2626;
        color: white;
        transform: translateY(-3px);
    }

/* Contact Bar */
.contact-bar {
    background: var(--contact-bar-bg);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
}

    .contact-item strong {
        color: var(--primary-color);
    }

/* Footer */
footer {
    background: var(--footer-bg);
    color: white;
    padding: 60px 0 30px;
    transition: background-color 0.3s ease;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--bg-secondary);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

    .footer-section h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 2px;
        background: var(--bg-secondary);
        transition: all 0.3s ease;
    }

.footer-section ul {
    list-style: none;
}

    .footer-section ul li {
        margin-bottom: 10px;
    }

        .footer-section ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s ease;
        }

            .footer-section ul li a:hover {
                color: var(--primary-color);
            }

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #999;
}

[data-theme="dark"] .footer-section h3 {
    color: #e84d5d;
}

    [data-theme="dark"] .footer-section h3::after {
        background: #e84d5d;
    }

[data-theme="dark"] .footer-section ul li a:hover {
    color: #e84d5d;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-bg);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    }

        nav ul.active {
            display: flex;
        }

    .mobile-menu-btn {
        display: block;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-info {
        flex-direction: column;
        gap: 5px;
        text-align: center;
        padding-top: 80px;
    }

    .logo-text {
        font-size: 22px;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .page-header {
        padding: 40px 0;
    }

    .content-area {
        padding: 40px 0;
    }
}
