@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Tasarım Sistemi & Değişkenler */
:root {
    --primary: #1a365d;
    --primary-light: #2b6cb0;
    --primary-dark: #0f1d3a;
    --secondary: #3182ce;
    --accent: #dd6b20;
    --accent-light: #ed8936;
    --bg-main: #f7fafc;
    --bg-card: #ffffff;
    --bg-dark: #1a202c;
    --text-main: #2d3748;
    --text-muted: #718096;
    --text-white: #ffffff;
    --border-color: #e2e8f0;
    --success: #38a169;
    --warning: #dd6b20;
    --danger: #e53e3e;
    
    /* Gölgeler */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 15px rgba(49, 130, 206, 0.2);
    
    /* Yuvarlaklıklar */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    
    /* Yazı Tipleri */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Geçişler */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-light);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, .btn {
    font-family: var(--font-body);
    font-weight: 600;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--text-white);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-light);
    color: var(--primary-light);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--text-white);
    transform: translateY(-2px);
}

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

.btn-accent:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Layout Bileşenleri */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Resmi Olmayan Bilgilendirme Bandı */
.disclaimer-banner {
    background: linear-gradient(90deg, #c53030 0%, #e53e3e 100%);
    color: var(--text-white);
    text-align: center;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.disclaimer-banner a {
    color: var(--text-white);
    text-decoration: underline;
    margin-left: 5px;
}

/* Üst Navigasyon (Header) */
.main-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 36px; /* Banner yüksekliği kadar aşağıda */
    z-index: 999;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary-light);
    background-color: rgba(49, 130, 206, 0.08);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    color: var(--primary);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1a365d 0%, #2a4365 50%, #2b6cb0 100%);
    color: var(--text-white);
    padding: 100px 0 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: var(--bg-main);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-content p {
    font-size: 1.15rem;
    margin-bottom: 30px;
    opacity: 0.9;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    gap: 15px;
}

.hero-badge {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--text-white);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hero-stat {
    text-align: center;
}

.hero-stat .num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fbd38d;
    display: block;
    margin-bottom: 4px;
}

.hero-stat .label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Durum Çizelgesi (Process Timeline) */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: var(--radius-full);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.timeline-horizontal {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
    overflow-x: auto;
    padding: 20px 0;
}

.timeline-horizontal::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--border-color);
    z-index: 1;
}

.timeline-step {
    flex: 1;
    min-width: 150px;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 10px;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--bg-card);
    border: 4px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition);
}

.timeline-step.completed .timeline-icon {
    background-color: var(--success);
    border-color: var(--success);
    color: var(--text-white);
}

.timeline-step.active .timeline-icon {
    background-color: var(--secondary);
    border-color: var(--secondary);
    color: var(--text-white);
    box-shadow: 0 0 0 6px rgba(49, 130, 206, 0.2);
}

.timeline-step.active .timeline-title {
    color: var(--secondary);
    font-weight: 700;
}

.timeline-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Hızlı Erişim Menüsü */
.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.quick-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.quick-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(49, 130, 206, 0.3);
}

.quick-card i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.quick-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.quick-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.quick-card .arrow-link {
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.quick-card:hover .arrow-link {
    color: var(--primary-light);
}

/* Haber Bölümü */
.news-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-image {
    position: relative;
    height: 200px;
    background-color: #e2e8f0;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--primary-light);
    color: var(--text-white);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-tag.resmi { background-color: var(--primary-dark); }
.news-tag.duyuru { background-color: var(--danger); }
.news-tag.mahalle { background-color: var(--success); }

.news-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-readmore {
    font-weight: 600;
    font-size: 0.9rem;
}

/* SSS Bölümü */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(49, 130, 206, 0.2);
}

.faq-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.faq-icon {
    font-size: 1.2rem;
    transition: var(--transition);
    color: var(--text-muted);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #fafbfc;
}

.faq-body {
    padding: 0 24px 24px 24px;
    color: var(--text-main);
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-content {
    max-height: 500px;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--secondary);
}

/* İletişim / WhatsApp Bandı */
.info-cta-section {
    background: linear-gradient(135deg, #2b6cb0 0%, #1a365d 100%);
    color: var(--text-white);
    text-align: center;
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.info-cta-section h2 {
    color: var(--text-white);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.info-cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}

.whatsapp-btn {
    background-color: #25d366;
    color: white !important;
}

.whatsapp-btn:hover {
    background-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* Footer (Alt Bilgi) */
.main-footer {
    background-color: var(--bg-dark);
    color: #a0aec0;
    padding: 60px 0 30px 0;
    font-size: 0.9rem;
    border-top: 5px solid var(--primary-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    color: var(--text-white);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.footer-about p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.footer-disclaimer-card {
    background-color: rgba(229, 62, 62, 0.15);
    border-left: 4px solid var(--danger);
    padding: 12px;
    border-radius: var(--radius-sm);
    color: #feb2b2;
    font-size: 0.8rem;
    margin-bottom: 15px;
}

.footer-links h3 {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #a0aec0;
}

.footer-links ul li a:hover {
    color: var(--text-white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.8rem;
}

/* Duyuru Banneri */
.announcement-bar {
    background-color: #feebc8;
    border-left: 4px solid var(--accent);
    color: #7b341e;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.announcement-bar .badge {
    background-color: var(--accent);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 10px;
}

/* Rehber Sayfası Akış Kartları */
.process-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.flow-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    align-items: center;
    transition: var(--transition);
}

.flow-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(49, 130, 206, 0.2);
}

.flow-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(49, 130, 206, 0.1);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
}

.flow-card.current {
    border: 2px solid var(--secondary);
    box-shadow: var(--shadow-glow);
}

.flow-card.current .flow-number {
    background-color: var(--secondary);
    color: var(--text-white);
}

.flow-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flow-info h3 .status-badge {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
}

.flow-info h3 .status-badge.current {
    background-color: rgba(49, 130, 206, 0.15);
    color: var(--secondary);
}

.flow-info h3 .status-badge.completed {
    background-color: rgba(56, 161, 105, 0.15);
    color: var(--success);
}

.flow-info h3 .status-badge.next {
    background-color: rgba(113, 128, 150, 0.15);
    color: var(--text-muted);
}

/* Belgeler Sayfası */
.doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.doc-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 20px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.doc-card:hover {
    box-shadow: var(--shadow-sm);
    border-color: rgba(49, 130, 206, 0.2);
}

.doc-icon {
    font-size: 2rem;
    color: #e53e3e;
    margin-bottom: 15px;
}

.doc-card h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.doc-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

.doc-btn {
    margin-top: auto;
    font-size: 0.85rem;
    padding: 8px 16px;
    width: 100%;
}

/* Responsive Tasarım */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero {
        padding: 60px 0 50px 0;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.3rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin-top: 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        padding: 20px;
        box-shadow: var(--shadow-md);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 12px 20px;
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .flow-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .flow-number {
        margin: 0 auto;
    }
}
