:root {
    --primary: #DC2626;
    --secondary: #1E3A8A;
    --accent: #F59E0B;
    --light: #F9FAFB;
    --dark: #111827;
    --gray: #6B7280;
    --light-gray: #E5E7EB;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Genel overflow kontrolü */
html {
    overflow-x: hidden;
    width: 100%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--light);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.container {
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--white);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #ffffff;
    border: 1px solid #1ebe57;
    transition: all 0.2s ease-in-out;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
    background-color: #1ebe57;
    border-color: #1ebe57;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Header Styles - GÜNCELLENDİ */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
    height: 80px;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    height: 80px;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 20px;
}

.logo span {
    color: var(--secondary);
}

.logo a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Büyük logo için stil - 145px */
.logo-img {
    height: 145px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 25px;
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 4px;
    padding: 15px;
    width: 250px;
    display: none;
    z-index: 100;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    margin: 10px 0;
    margin-left: 0;
}

.dropdown-menu a {
    color: var(--gray);
    font-weight: 400;
    font-size: 15px;
}

.dropdown-menu a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0,0,0,0.82), rgba(0,0,0,0.82)), url('../img/hakan28.webp') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--white);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.service-img {
    height: 200px;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

/* Districts Section */
.districts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.district-card {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--light-gray);
}

.district-card:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(220, 38, 38, 0.2);
}

.district-card h3 a {
    color: inherit;
    text-decoration: none;
    font-size: 1.1rem;
}

.district-card:hover h3 a {
    color: var(--white);
}

/* About Page */
.about-content {
    padding: 80px 0;
}

.about-section {
    margin-bottom: 4rem;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.mission-vision {
    margin: 4rem 0;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.mission-card,
.vision-card {
    background: #f8f9fa;
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mission-icon,
.vision-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mission-icon i,
.vision-icon i {
    font-size: 2rem;
    color: white;
}

.mission-card h3,
.vision-card h3 {
    color: #333;
    margin-bottom: 1rem;
}

/* Values Section */
.values-section {
    margin: 4rem 0;
}

.values-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.value-icon i {
    font-size: 1.8rem;
    color: white;
}

.value-item h4 {
    color: #333;
    margin-bottom: 1rem;
}

/* Statistics Section */
.stats-section {
    margin: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    border-radius: 12px;
}

.stats-section h2 {
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Certificates Section */
.certificates-section {
    margin: 4rem 0;
}

.certificates-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.certificate-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.certificate-item:hover {
    transform: translateY(-5px);
}

.certificate-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.certificate-icon i {
    font-size: 1.8rem;
    color: white;
}

.certificate-item h4 {
    color: #333;
    margin-bottom: 0.5rem;
}

.certificate-item p {
    color: #666;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(rgba(30, 58, 138, 0.9), rgba(30, 58, 138, 0.9)), url('../images/testimonial-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    overflow: hidden;
}

.testimonials .section-title h2 {
    color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 30px;
    border: 1px solid rgba(255,255,255,0.2);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before {
    content: """";
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -15px;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-gray);
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--dark);
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
    padding: 60px 0;
    overflow: hidden;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 30px;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #9CA3AF;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    margin-bottom: 15px;
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #E5E7EB;
    border-radius: 50%;
    color: #6B7280;
    transition: var(--transition);
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

/* Her sosyal medya için özel hover renkleri */
.social-links a:hover .fa-facebook-f {
    color: var(--white);
}

.social-links a:has(.fa-facebook-f):hover {
    background: #1877F2;
}

.social-links a:has(.fa-instagram):hover {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF, #515BD4);
}

.social-links a:has(.fa-twitter):hover {
    background: #1DA1F2;
}

.social-links a:has(.fa-youtube):hover {
    background: #FF0000;
}

.social-links a:has(.fa-linkedin):hover {
    background: #0A66C2;
}

.social-links a:has(.fa-tiktok):hover {
    background: #000000;
}

.social-links a:has(.fa-whatsapp):hover {
    background: #25D366;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #9CA3AF;
    font-size: 0.9rem;
}

/* ===================================
   FIXED ACTION BUTTONS
   =================================== */

/* Left Side Buttons (WhatsApp & Call) */
.fixed-buttons {
    position: fixed;
    bottom: 5vh;
    left: 5vw;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fixed-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
    text-decoration: none;
}

.fixed-btn:hover {
    transform: scale(1.1);
}

.whatsapp-btn {
    background: #25D366;
    animation: pulse 2s infinite;
}

.call-btn {
    background: var(--primary);
    animation: pulse 2s infinite 0.5s;
}

/* Pulse Animation for Contact Buttons */
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 10px rgba(37, 211, 102, 0.2);
        transform: scale(1.05);
    }
}

.call-btn {
    animation-name: pulse-red;
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    }
    50% {
        box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 0 10px rgba(220, 38, 38, 0.2);
        transform: scale(1.05);
    }
}

/* Back to Top Button - Right Side */
.back-to-top {
    position: fixed;
    bottom: 5vh;
    right: 5vw;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 998;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #b91c1c;
    transform: translateY(-3px);
}

/* Page Header */
.page-header {
    background: linear-gradient(rgba(30, 58, 138, 0.8), rgba(30, 58, 138, 0.8)), url('../images/page-header-bg.jpg') no-repeat center center/cover;
    color: var(--white);
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header ol {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 10px;
}

.page-header ol li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.page-header ol li:not(:last-child)::after {
    content: ">";
    color: var(--white);
}

.page-header ol a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.page-header ol a:hover {
    color: var(--accent);
}

/* Service Detail Page */
.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.service-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-steps {
    list-style: none;
    margin: 30px 0;
}

.service-steps li {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--secondary);
    margin-bottom: 5px;
}

.service-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
}

.feature i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* District Detail Page */
.district-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.district-image {
    align-self: flex-start;
    margin-top: 50px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.district-image img {
    width: 100%;
    height: auto;
    display: block;
}

.service-list {
    list-style: none;
    margin: 20px 0;
}

.service-list li {
    display: block;
    overflow: hidden;
    margin-bottom: 15px;
}

.service-list i {
    color: var(--primary);
    float: left;
    margin-right: 10px;
    margin-top: 5px;
}

.process-steps {
    margin: 30px 0;
}

.process-step {
    display: flex;
    margin-bottom: 25px;
    align-items: flex-start;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-info h4 {
    color: var(--secondary);
    margin-bottom: 5px;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--light);
}

.faq-question h3 {
    margin: 0;
    color: var(--secondary);
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 500px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Blog Page */
.blog-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--gray);
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    margin-bottom: 15px;
}

.blog-content h3 a {
    color: var(--secondary);
    text-decoration: none;
    transition: var(--transition);
}

.blog-content h3 a:hover {
    color: var(--primary);
}

/* Sidebar */
.blog-sidebar {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
    align-self: start;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    color: var(--secondary);
    padding-bottom: 15px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--light-gray);
}

.sidebar-links {
    list-style: none;
}

.sidebar-links li {
    margin-bottom: 12px;
}

.sidebar-links a {
    display: flex;
    justify-content: space-between;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.sidebar-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.sidebar-links span {
    background: var(--light);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.8rem;
}

/* Popular Posts */
.popular-posts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.popular-post {
    display: flex;
    gap: 15px;
}

.popular-post-image {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-content h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.popular-post-content h4 a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.popular-post-content h4 a:hover {
    color: var(--primary);
}

.post-date {
    font-size: 0.85rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tags a {
    background: var(--light);
    color: var(--dark);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.tags a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Newsletter Widget */
.newsletter-widget p {
    margin-bottom: 20px;
    color: var(--gray);
}

.newsletter-form .form-group {
    margin-bottom: 15px;
}

.newsletter-form input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--dark);
    transition: var(--transition);
}

.pagination a:hover, 
.pagination a.active {
    background: var(--primary);
    color: var(--white);
}

.pagination .prev, 
.pagination .next {
    width: auto;
    padding: 0 15px;
}

/* Blog Post */
.blog-post-content {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.post-header {
    margin-bottom: 30px;
}

.post-header h1 {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    color: var(--gray);
    font-size: 0.95rem;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: auto;
    display: block;
}

.post-content h2 {
    color: var(--secondary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content h3 {
    color: var(--secondary);
    margin-top: 25px;
    margin-bottom: 15px;
}

.post-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.post-content ul, 
.post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--light-gray);
}

.post-tags strong {
    margin-right: 10px;
    color: var(--dark);
}

.post-tags a {
    background: var(--light);
    color: var(--dark);
    padding: 6px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 8px;
    transition: var(--transition);
}

.post-tags a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Post Share */
.post-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
}

.post-share h3 {
    color: var(--secondary);
    margin-bottom: 20px;
}

.social-share {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
}

.share-btn.facebook {
    background: #3b5998;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.whatsapp {
    background: #25d366;
}

.share-btn.linkedin {
    background: #0077b5;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Author Box */
.author-box {
    display: flex;
    gap: 25px;
    background: var(--light);
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
}

.author-image {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h3 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.author-info p {
    margin-bottom: 15px;
    color: var(--gray);
}

.author-social {
    display: flex;
    gap: 15px;
}

.author-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: var(--white);
    border-radius: 50%;
    color: var(--dark);
    transition: var(--transition);
}

.author-social a:hover {
    background: var(--primary);
    color: var(--white);
}

/* Related Posts */
.related-posts {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--light-gray);
}

.related-posts h3 {
    color: var(--secondary);
    margin-bottom: 25px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.related-post {
    display: flex;
    gap: 15px;
}

.related-post-image {
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.related-post-content h4 a {
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.related-post-content h4 a:hover {
    color: var(--primary);
}

/* Contact Page */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info-section h2, 
.contact-form-section h2 {
    color: var(--secondary);
}

.contact-details {
    margin: 30px 0;
}

.contact-item {
    display: flex;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--primary);
    font-size: 1.2rem;
}

.contact-text h4 {
    color: var(--secondary);
    margin-bottom: 5px;
}

.map-section {
    background: var(--white);
}

.map-container {
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablet (992px ve altı) */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .about-content-wrapper,
    .mission-vision-grid,
    .service-detail,
    .district-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image,
    .service-image,
    .district-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .values-grid,
    .stats-grid,
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-features {
        grid-template-columns: 1fr;
    }
    
    .contact-container,
    .blog-container {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        position: static;
    }
    
    .about-content {
        padding: 60px 0;
    }
    
    .mission-vision,
    .values-section,
    .stats-section,
    .certificates-section {
        margin: 3rem 0;
    }
    
    .mission-card,
    .vision-card {
        padding: 2rem;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-image {
        margin: 0 auto;
    }
}

/* Mobile (768px ve altı) */
@media (max-width: 768px) {
    /* Navbar Adjustments */
    .navbar {
        padding: 0;
        height: 70px;
    }
    
    .logo {
        height: 70px;
    }
    
    .logo-img {
        height: 100px;
        transform: translateY(-10px);
    }
    
    .logo h1 {
        font-size: 20px;
        padding: 0 15px;
    }
    
    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: block;
        z-index: 1002;
        position: relative;
        width: 40px;
        height: 40px;
        background: transparent;
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn:hover {
        background: var(--light);
    }
    
    /* Navigation Links Container */
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        max-height: 50vh;
        background: var(--white);
        flex-direction: column;
        padding: 30px 20px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        overflow-y: auto;
        z-index: 1000;
        align-items: center;
        justify-content: flex-start;
        animation: slideDown 0.3s ease;
        border-radius: 0 0 12px 12px;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-links.active {
        display: flex;
    }
    
    /* Menu Items */
    .nav-links li {
        margin: 0 0 8px 0;
        border-bottom: none;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .nav-links > li > a {
        display: block;
        padding: 16px 20px;
        color: var(--dark);
        font-size: 17px;
        font-weight: 600;
        transition: all 0.3s ease;
        border-radius: 8px;
        text-align: center;
    }
    
    .nav-links > li > a:hover,
    .nav-links > li > a.active {
        background: var(--light);
        color: var(--primary);
    }
    
    .nav-links > li > a.active::after {
        display: none;
    }
    
    /* Dropdown Icon */
    .dropdown > a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .dropdown > a i {
        font-size: 12px;
        transition: transform 0.3s ease;
    }
    
    .dropdown.active > a i {
        transform: rotate(180deg);
    }
    
    /* Dropdown Menu */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        padding: 0;
        background: var(--light);
        border-radius: 8px;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, margin 0.3s ease;
        margin-top: 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
        max-height: 300px;
        margin-top: 8px;
        padding: 8px 0;
    }
    
    .dropdown-menu li {
        margin: 0;
        border-bottom: none;
    }
    
    .dropdown-menu a {
        display: block;
        padding: 12px 20px;
        color: var(--gray);
        font-weight: 500;
        font-size: 15px;
        transition: all 0.3s ease;
        text-align: center;
    }
    
    .dropdown-menu a:hover {
        color: var(--primary);
        background: var(--white);
    }
    
    /* Prevent body scroll when menu is open */
    body:has(.nav-links.active) {
        overflow: hidden;
    }
    
    /* Scrollbar Styling */
    .nav-links::-webkit-scrollbar {
        width: 4px;
    }
    
    .nav-links::-webkit-scrollbar-track {
        background: var(--light);
    }
    
    .nav-links::-webkit-scrollbar-thumb {
        background: var(--gray);
        border-radius: 2px;
    }
    
    .nav-links::-webkit-scrollbar-thumb:hover {
        background: var(--primary);
    }
    
    /* General Mobile Adjustments */
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header ol {
        flex-wrap: wrap;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .cta p {
        font-size: 1rem;
    }
    
    /* About Section Mobile */
    .about-section {
        margin-bottom: 2rem;
    }
    
    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
    }
    
    .mission-vision {
        margin: 2rem 0;
    }
    
    .mission-card,
    .vision-card {
        padding: 1.5rem;
    }
    
    .mission-icon,
    .vision-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .mission-icon i,
    .vision-icon i {
        font-size: 1.5rem;
    }
    
    .mission-card h3,
    .vision-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .values-section h2,
    .stats-section h2,
    .certificates-section h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .values-grid,
    .stats-grid,
    .certificates-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .value-item,
    .certificate-item {
        padding: 1.5rem;
    }
    
    .value-icon,
    .certificate-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .value-icon i,
    .certificate-icon i {
        font-size: 1.5rem;
    }
    
    .value-item h4 {
        font-size: 1.1rem;
    }
    
    .stats-section {
        margin: 2rem 0;
        padding: 3rem 0;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    /* Blog Mobile */
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .post-meta {
        gap: 15px;
        font-size: 0.9rem;
    }
    
    .social-share {
        flex-direction: column;
    }
    
    .share-btn {
        justify-content: center;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .related-post {
        flex-direction: column;
    }
    
    .related-post-image {
        width: 100%;
        height: 150px;
    }
}

/* Small Mobile (576px ve altı) */
@media (max-width: 576px) {
    .hero-btns, 
    .cta-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    /* Fixed Buttons Mobile */
    .fixed-buttons {
        bottom: 10px;
        left: 10px;
    }
    
    .fixed-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .back-to-top {
        bottom: 10px;
        right: 10px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
    
    .pagination a {
        width: 35px;
        height: 35px;
    }
    
    /* Mobile Menu Adjustments */
    .navbar {
        height: 65px;
    }
    
    .logo {
        height: 65px;
    }
    
    .logo-img {
        height: 80px;
        transform: translateY(-8px);
    }
    
    .logo h1 {
        font-size: 18px;
        padding: 0 10px;
    }
    
    /* About Content Mobile */
    .about-content {
        padding: 40px 0;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
    }
    
    .mission-card,
    .vision-card {
        padding: 1.5rem 1rem;
    }
    
    .mission-card h3,
    .vision-card h3 {
        font-size: 1.2rem;
    }
    
    .mission-card p,
    .vision-card p {
        font-size: 0.9rem;
    }
    
    .value-item {
        padding: 1rem;
    }
    
    .value-item h4 {
        font-size: 1rem;
    }
    
    .value-item p {
        font-size: 0.9rem;
    }
    
    .stats-section {
        padding: 2rem 0;
    }
    
    .stats-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    .certificates-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .certificate-item {
        padding: 1.5rem 1rem;
    }
    
    .certificate-item h4 {
        font-size: 1rem;
    }
    
    .certificate-item p {
        font-size: 0.9rem;
    }
}

/* Çok küçük ekranlar için */
@media (max-width: 320px) {
    * {
        overflow-x: hidden !important;
    }
    
    body, html {
        max-width: 100vw;
        overflow-x: hidden;
    }
}
/* ==========================================
   CAROUSEL DÜZELTMELERİ
   ========================================== */
.carousel-track {
    display: flex !important;
    transition: transform 0.5s ease-in-out !important;
}

.carousel-slide {
    min-width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    position: relative !important;
    background: #000 !important;
}

.carousel-slide img,
.carousel-slide video {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Indicator'lar için basit stil */
#carouselIndicators {
    position: absolute !important;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 10 !important;
    display: flex !important;
    gap: 10px !important;
}
/* Modern KVKK Modal CSS */
#kvkkModal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(2px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

#kvkkModalContent {
  background-color: #fff;
  margin: 10% auto;
  padding: 25px 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 600px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  position: relative;
  transform: translateY(-20px);
  animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

#kvkkModalClose {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 22px;
  font-weight: bold;
  color: #274156;
  cursor: pointer;
  transition: color 0.2s ease;
}

#kvkkModalClose:hover {
  color: #ff4d4f;
}

#kvkkModalOpen {
  color: #274156;
  text-decoration: underline;
  cursor: pointer;
  font-weight: 500;
}

#kvkkAccept {
  display: block;
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
  color: #fff;
  background-color: #274156;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
}

#kvkkAccept:hover {
  background-color: #1d2e3b;
}

#kvkkModalContent h2 {
  margin-top: 0;
  color: #274156;
  text-align: center;
}
