@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #002B5B;
    --primary-light: #952e39;
    --accent: #952e39;
    --bg-light: #F9FBE7;
    --text-dark: #2C3333;
    --text-muted: #526D82;
    --white: #ffffff;
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --glass: rgba(255, 255, 255, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Accessibility */
.accessibility-bar {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    align-items: center;
}

.accessibility-bar button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.accessibility-bar button:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Header */
header {
    background: var(--glass);
    backdrop-filter: blur(15px);
    border-bottom: 2px solid rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
    height: 100px;
    /* Sabit yükseklik ile daha stabil bir yapı */
    display: flex;
    align-items: center;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4rem;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    /* İkon ile yazı arasındaki mesafeyi artırdık */
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}

.logo img {
    height: 95px;
    /* İdeal boyut */
    transition: var(--transition);
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.08));
    margin-bottom: -20px;
    /* Daha temiz taşma */
}

.logo:hover img {
    transform: translateY(5px) scale(1.05);
}

.brand-font {
    font-weight: 900;
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 0.95;
    /* Üst üste binmeyi önleyen ideal oran */
    letter-spacing: -1px;
    text-transform: uppercase;
}

.brand-font .part-1 {
    font-size: 1.35rem;
    /* Üst yazı */
    color: #212121;
}

.brand-font .part-2 {
    font-size: 1.5rem;
    /* Vurgulu "BİRLİĞİ" yazısı */
    color: #962738;
    margin-top: 5px;
    /* Optik denge sağlandı */
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    /* Daha ferah menü */
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary-light);
}

.cta-group {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 43, 91, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 43, 91, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Sections */
section {
    padding: 5rem 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    background: radial-gradient(circle at top right, rgba(26, 95, 122, 0.05), transparent),
        radial-gradient(circle at bottom left, rgba(0, 43, 91, 0.05), transparent);
    text-align: center;
    padding: 8rem 2rem;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

/* Grid & Cards */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card i {
    width: 60px;
    height: 60px;
    background: rgba(26, 95, 122, 0.1);
    color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 5rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.6;
}

@media (max-width: 1200px) {
    .header-container {
        padding: 0 2rem;
    }
}

@media (max-width: 968px) {
    header {
        padding: 0.25rem 0;
    }

    .header-container {
        padding: 0 1rem;
    }

    nav {
        display: none;
    }

    .cta-group {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f0f4f8;
        border-radius: 10px;
        color: var(--primary);
    }

    .logo img {
        height: 60px;
    }

    .brand-font {
        font-size: 1.4rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: white;
    z-index: 2000;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.active {
    right: 0;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.drawer-menu {
    list-style: none;
}

.drawer-menu li {
    margin-bottom: 1.5rem;
}

.drawer-menu li a {
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.drawer-menu li a:hover {
    color: var(--primary-light);
    padding-left: 10px;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(26, 95, 122, 0.1);
}

/* Animations */
.animate {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}