:root {
    --primary-color: #FF6B00;
    /* Vibrant Orange for CTA */
    --primary-hover: #e65100;
    --secondary-color: #0A192F;
    /* Deep Navy for Trust/Premium feel */
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --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);
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

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

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

.btn-secondary {
    background-color: #25D366;
    /* WhatsApp Green */
    color: white;
}

.btn-secondary:hover {
    background-color: #128C7E;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Pulse Animation for Call Button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
    }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary-color);
}

.logo span {
    color: var(--primary-color);
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-weight: 500;
    color: var(--secondary-color);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    order: -1;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: 0.3s;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .header-container {
        position: relative;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background-color: white;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .nav.active {
        max-height: 400px;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .nav-list li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-list a {
        display: block;
        padding: 16px 20px;
        font-size: 1.1rem;
    }

    .header-container .btn {
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .header-container .btn svg {
        width: 16px;
        height: 16px;
    }

    .nav.active {
        max-height: 480px;
    }
}

/* 385px ve altı için özel düzenleme */
@media (max-width: 385px) {
    .logo {
        font-size: 1.15rem;
    }

    .header-container .btn {
        font-size: 0.7rem;
        padding: 6px 8px;
        gap: 4px;
    }

    .header-container .btn svg {
        width: 14px;
        height: 14px;
    }
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.language-switcher.desktop-only {
    display: block;
}

.language-switcher.mobile-only {
    display: none;
}

.lang-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 8px 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary-color);
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.flag-icon {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 50%;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    flex-shrink: 0;
}

.lang-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 1002;
}

.language-switcher:hover .lang-dropdown,
.lang-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: all 0.2s;
    border-bottom: 1px solid var(--border-color);
}

.lang-dropdown a:last-child {
    border-bottom: none;
}

.lang-dropdown a:hover {
    background-color: #f5f5f5;
    color: var(--primary-color);
}

/* Mobile Language Switcher */
.language-switcher.mobile-only {
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-color);
    background-color: #f8f9fa;
}

.language-switcher.mobile-only .lang-options {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.language-switcher.mobile-only .lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 10px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--secondary-color);
    background: white;
    transition: all 0.2s;
    flex: 1;
    white-space: nowrap;
}

.lang-dropdown a img,
.language-switcher.mobile-only .lang-option img {
    display: block;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.language-switcher.mobile-only .lang-option:hover,
.language-switcher.mobile-only .lang-option.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .language-switcher.desktop-only {
        display: none;
    }

    .language-switcher.mobile-only {
        display: block;
    }
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, #0A192F 0%, #112240 100%);
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    align-items: stretch;
}

.hero-buttons .btn {
    flex: 1 1 240px;
    min-width: 200px;
    max-width: 100%;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

/* Page Hero (Internal Pages) */
.page-hero {
    padding: 60px 0;
    background: var(--secondary-color);
    color: white;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-hero p {
    color: #cbd5e1;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        flex-basis: 100%;
        width: 100%;
        min-width: 0;
    }

    .service-card {
        text-align: left;
        align-items: flex-start;
    }

    .service-icon {
        margin: 0 0 16px 0;
    }
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--secondary-color);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.text-white {
    color: white !important;
}

.text-gray {
    color: #94a3b8 !important;
}

.text-left {
    text-align: left !important;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 1.1rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.service-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.service-icon {
    font-size: 3rem;
    margin: 0 auto 24px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Service Detail Item (Hizmetler Page) */
.service-detail-item {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-bottom: 64px;
}

.service-detail-item.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-text h2 {
    color: var(--secondary-color);
    margin-bottom: 16px;
    font-size: 1.8rem;
}

.service-text p {
    margin-bottom: 18px;
}

.service-img-placeholder {
    flex: 1;
    height: 300px;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

@media (max-width: 768px) {

    .service-detail-item,
    .service-detail-item.reverse {
        flex-direction: column;
        gap: 24px;
    }

    .service-text p {
        margin-bottom: 12px;
    }

    .service-img-placeholder {
        width: 100%;
        height: 250px;
        padding: 0;
    }
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.features-list {
    margin-top: 24px;
}

.features-list li {
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
}

.features-list li::before {
    content: "✓";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.img-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-weight: 600;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Areas Grid */
.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.area-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.area-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.area-item h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
}

.area-item p {
    color: #cbd5e1;
    font-size: 0.9rem;
}

/* Compact Modern Mahalle Cards */
.mahalle-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.mahalle-card-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 14px 16px;
    text-decoration: none;
    color: white;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 56px;
    text-align: center;
}

.mahalle-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 0, 0.08) 0%, rgba(251, 191, 36, 0.08) 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.mahalle-card-compact:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 107, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mahalle-card-compact:hover::before {
    opacity: 1;
}

.mahalle-name-compact {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    color: white;
}

/* Breadcrumb Navigation */
.breadcrumb {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0;
}

.breadcrumb-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.875rem;
    color: #cbd5e1;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 8px;
    color: #64748b;
    font-weight: 300;
}

.breadcrumb-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-link:hover {
    color: #fbbf24;
}

.breadcrumb-current {
    color: white;
    font-weight: 500;
}

/* Light background breadcrumb */
.breadcrumb-light {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-light .breadcrumb-item {
    color: var(--text-light);
}

.breadcrumb-light .breadcrumb-link {
    color: var(--text-light);
}

.breadcrumb-light .breadcrumb-link:hover {
    color: var(--primary-color);
}

.breadcrumb-light .breadcrumb-current {
    color: var(--text-color);
    font-weight: 600;
}

.breadcrumb-light .breadcrumb-item:not(:last-child)::after {
    color: var(--text-light);
}

/* Responsive */
/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.blog-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    padding: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: linear-gradient(45deg, #f3f4f6, #e5e7eb);
}

.blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--text-light);
}

.blog-category {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    background: rgba(255, 107, 0, 0.1);
    color: var(--primary-color);
}

.blog-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    flex-grow: 1;
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s;
}

.blog-read-more:hover {
    color: var(--primary-hover);
    transform: translateX(4px);
}

.article-header {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 2px solid var(--border-color);
}

.article-content {
    font-size: 1.05rem;
}

.article-content h2 {
    margin-top: 40px;
    margin-bottom: 16px;
}

.article-content h3 {
    font-size: 1.4rem;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--secondary-color);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
}

.article-content li {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-card {
        padding: 20px;
    }
    
    .breadcrumb {
        padding: 10px 0;
    }
    
    .breadcrumb-item {
        font-size: 0.8rem;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin-left: 6px;
    }
    
    .mahalle-grid-compact {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 8px;
    }
    
    .mahalle-card-compact {
        padding: 12px 14px;
        min-height: 52px;
    }
    
    .mahalle-name-compact {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .mahalle-grid-compact {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 6px;
    }
    
    .mahalle-card-compact {
        padding: 10px 12px;
        min-height: 48px;
    }
    
    .mahalle-name-compact {
        font-size: 0.8rem;
    }
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 24px 0;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.faq-answer {
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: white;
    padding: 64px 0 32px;
}

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

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    display: block;
    margin-bottom: 16px;
}

.footer-logo span {
    color: var(--primary-color);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: white;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #cbd5e1;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.footer-col p {
    color: #cbd5e1;
    margin-bottom: 12px;
}

.footer-col p a {
    color: white;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: white;
}

.cta-section .section-title,
.cta-section .section-desc {
    color: white;
}