/* ---------------------------------- */
/* Renk Paleti (Yeni)
/* ---------------------------------- */
:root {
    --color-dark-bg: #284b63;      /* Koyu Mavi (Header/Footer Arka Planı) */
    --color-accent: #3c6e71;       /* Koyu Yeşil/Teal (Butonlar, Linkler, İkonlar) */
    --color-white: #ffffff;        /* Beyaz (İçerik Arka Planı) */
    --color-light-gray: #d9d9d9;   /* Açık Gri (Kenarlıklar) */
    --color-text: #353535;         /* Koyu Gri (Ana Metin Rengi) */
    
    /* Yardımcı Renkler */
    --color-page-bg: #f4f7f6;     /* Çok hafif gri - Sayfa Arka Planı */
    --color-text-light: #ffffff;   /* Koyu zeminde açık renk metin */
}

/* ---------------------------------- */
/* Temel Ayarlar
/* ---------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-page-bg);
}
a {
    text-decoration: none;
    color: var(--color-accent);
    transition: color 0.3s ease;
}
a:hover {
    color: var(--color-dark-bg);
}
h1, h2, h3 {
    color: var(--color-text);
    margin-bottom: 0.8em;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ---------------------------------- */
/* Header & Navigasyon
/* ---------------------------------- */
.site-header {
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
}
.logo a {
  color: var(--color-white);
    text-decoration: none;
    display: flex; /* ÖNEMLİ: Logoyu ve yazıyı yan yana hizalar */
    align-items: center; /* Dikeyde ortalar */
    gap: 12px; /* Logo ile yazı arasına boşluk verir */
}
.logo a:hover {
    color: var(--color-light-gray);
}
.logo img {
    height: 50px;
    width: auto;
    
    border-radius: 8px; /* Yuvarlatılmış logo */
}
.logo span {
    font-size: 20px; /* Yazı boyutu */
    font-weight: 700; /* Kalın */
    color: var(--color-white);
    line-height: 1; /* Satır yüksekliğini ayarlar */
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}
.main-nav li {
    margin-left: 30px;
}
.main-nav a {
    display: block;
    padding: 10px 0;
    color: var(--color-white);
    font-weight: 500;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-accent);
    transform: translateX(-100%);
    transition: transform 0.3s ease-out;
}
.main-nav a:hover::after,
.main-nav a.active::after {
    transform: translateX(0);
}

/* Açılır Dil Menüsü */
.language-dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-toggle {
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: 8px 15px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
}
.dropdown-toggle:hover {
    background-color: var(--color-text);
}
.dropdown-toggle .arrow-down {
    border: solid var(--color-white);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    margin-left: 10px;
}
.dropdown-menu {
    display: none;
    position: absolute;
    background-color: var(--color-white);
    min-width: 140px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 10;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 5px;
    right: 0; /* Dil menüsünün sağa açılmasını sağlar */
}
html[dir="rtl"] .dropdown-menu {
    right: auto;
    left: 0;
}
.language-dropdown.open .dropdown-menu {
    display: block;
}
.dropdown-menu a {
    color: var(--color-text);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s ease;
}
.dropdown-menu a:hover {
    background-color: var(--color-page-bg);
    color: var(--color-accent);
}

/* ---------------------------------- */
/* HAMBURGER MENÜ BUTONU
/* ---------------------------------- */
.hamburger-button {
    display: none; /* MASAÜSTÜNDE GİZLİ */
    background: none;
    border: none;
    color: var(--color-white); /* İkon rengi */
    font-size: 24px; /* İkon boyutu */
    cursor: pointer;
    padding: 5px;
    z-index: 1050; /* Menünün üstünde kalsın */
    transition: color 0.3s ease;
}
.hamburger-button:hover {
    color: var(--color-accent); /* Hover rengi */
}

/* ---------------------------------- */
/* Ana İçerik Alanı
/* ---------------------------------- */
.site-content {
    background: var(--color-white);
    padding: 40px 0;
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    min-height: 50vh;
}
.site-content .container {
    padding: 0 20px;
}
.section-title {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--color-accent);
    border-radius: 2px;
}

/* ---------------------------------- */
/* Hizmet Kartları (Animasyonlu)
/* ---------------------------------- */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}
.card {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 12px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    padding-bottom: 80px; /* Buton için altta boşluk */
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(40, 75, 99, 0.15);
}
.card h3 {
    color: var(--color-accent);
    margin-bottom: 15px;
}
.card p {
    color: var(--color-text);
}
.card .read-more {
    display: inline-block;
    position: absolute;
    bottom: 25px;
    left: 25px;
    margin-top: 20px;
    padding: 8px 18px;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.card .read-more:hover {
    background-color: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

/* Kart İkonları */
.card-icon {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 70px;
    height: 70px;
    background-color: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--color-white);
    transition: all 0.4s ease-out;
    opacity: 0.2;
}
.card:hover .card-icon {
    bottom: 20px;
    opacity: 1;
    transform: rotate(10deg);
}

/* ---------------------------------- */
/* Ana Sayfa (index.php) Stilleri
/* ---------------------------------- */
/* Hero Alanı (İki Sütunlu) */
.hero-section {
    display: flex;
    align-items: center;
    gap: 40px;
}
.hero-content {
    flex: 1;
}
.hero-content h1 {
    font-size: 3.5em;
    color: var(--color-dark-bg);
    line-height: 1.2;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: 1.4em;
    color: var(--color-text);
    margin-bottom: 30px;
    margin-top: 15px;
}
.hero-image {
    flex: 1;
    text-align: center;
}
.hero-image img {
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Öne Çıkan Hizmetler Alanı */
.featured-services {
    background-color: var(--color-page-bg);
    padding: 60px 0;
    margin-top: 60px;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-top: 1px solid var(--color-light-gray);
    border-bottom: 1px solid var(--color-light-gray);
}
.featured-services .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.featured-services .section-title {
    color: var(--color-dark-bg);
    margin-bottom: 40px;
}
.featured-services .card {
    background-color: var(--color-white);
}

/* Hakkımızda Kısa Özet Bölümü */
.about-summary {
    text-align: center;
    padding: 60px 0;
}
.about-summary .section-title {
    color: var(--color-dark-bg);
}
.about-summary p {
    max-width: 900px;
    margin: 0 auto 30px auto;
    font-size: 1.2em;
    color: var(--color-text);
}

/* Neden Bizi Seçmelisiniz? */
.why-us-section {
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    padding: 80px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}
.why-us-section .section-title {
    color: var(--color-white);
    margin-bottom: 60px;
}
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}
.why-us-item {
    text-align: center;
    padding: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}
.why-us-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}
.why-us-item .icon {
    font-size: 45px;
    color: var(--color-accent);
    margin-bottom: 20px;
}
.why-us-item h3 {
    font-size: 1.4em;
    color: var(--color-white);
    margin-bottom: 15px;
}
.why-us-item p {
    color: var(--color-light-gray);
    line-height: 1.6;
}

/* ---------------------------------- */
/* Kullandığımız Teknolojiler (Akan Bant)
/* ---------------------------------- */
.tech-stack-section {
    padding: 60px 0;
    background-color: var(--color-white);
    overflow: hidden;
}
.tech-stack-section .section-title {
    color: var(--color-dark-bg);
}
.tech-stack-section .section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: -20px auto 40px auto;
    font-size: 1.1em;
    color: var(--color-text);
}
.tech-marquee-container {
    /* İsteğe bağlı: Fare gelince durması için */
}
.tech-marquee {
    display: flex;
    width: max-content;
    animation: marquee-scroll 40s linear infinite;
}
.tech-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    margin: 0 40px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}
.tech-logo img {
    max-height: 50px;
    width: auto;
}
.tech-marquee-container:hover .tech-marquee {
    animation-play-state: paused;
}
.tech-marquee-container:hover .tech-logo {
    filter: grayscale(0%);
    opacity: 1;
}
@keyframes marquee-scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

/* ---------------------------------- */
/* Referans Logoları (.home-references & referanslarimiz.php)
/* ---------------------------------- */
.home-references {
    padding: 60px 0;
    text-align: center;
    background-color: var(--color-white);
}
.home-references .section-title {
    color: var(--color-dark-bg);
}
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    align-items: center;
    justify-items: center;
    margin-top: 40px;
}
.logo-item {
    background: var(--color-white);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--color-light-gray);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-item img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(40, 75, 99, 0.1);
}
.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ---------------------------------- */
/* Hakkımızda Sayfası (hakkimizda.php)
/* ---------------------------------- */
.about-section {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}
.about-content {
    flex: 1;
}
.about-feature {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}
.about-feature-icon {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 28px;
    color: var(--color-accent);
}
.about-feature h3 {
    color: var(--color-dark-bg);
    font-size: 1.5em;
    margin-bottom: 8px;
}
.about-feature p {
    line-height: 1.7;
    color: var(--color-text);
}
.about-image {
    flex: 0.8;
    text-align: center;
    position: sticky;
    top: 120px;
}
.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.cta-hook-box {
    background-color: var(--color-page-bg);
    border: 2px dashed var(--color-light-gray);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-top: 40px;
}
.cta-hook-box h3 {
    color: var(--color-dark-bg);
    font-size: 1.8em;
    margin-bottom: 15px;
}
.cta-hook-box p {
    font-size: 1.1em;
    color: var(--color-text);
    margin-bottom: 25px;
}

/* ---------------------------------- */
/* Hizmet Detay Sayfası (hizmet-detay.php)
/* ---------------------------------- */
.service-detail-header {
    position: relative;
    padding: 80px 20px;
    margin-bottom: 50px;
    background-size: cover;
    background-position: center center;
    color: var(--color-white);
    text-align: center;
    border-radius: 0 0 12px 12px;
    overflow: hidden;
}
.service-detail-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(40, 75, 99, 0.7);
    z-index: 1;
}
.service-detail-header h1 {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    font-size: 3em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
.service-detail-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}
.service-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 10px 0 25px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.service-content h3 {
    color: var(--color-accent);
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
}
.service-content p {
    line-height: 1.7;
    margin-bottom: 15px;
}
.service-content ul {
    margin-left: 25px;
    margin-bottom: 20px;
    line-height: 1.8;
}
.key-benefits {
    background-color: var(--color-page-bg);
    padding: 50px 0;
    margin-bottom: 50px;
    border-top: 1px solid var(--color-light-gray);
    border-bottom: 1px solid var(--color-light-gray);
    width: 100vw;
    position: relative; left: 50%; right: 50%;
    margin-left: -50vw; margin-right: -50vw;
}
.key-benefits .container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
}
.key-benefits .section-title {
    color: var(--color-dark-bg);
    margin-bottom: 40px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.benefit-item .icon {
    font-size: 3em;
    color: var(--color-accent);
    margin-bottom: 15px;
}
.benefit-item h4 {
    color: var(--color-text);
    font-size: 1.3em;
    margin-bottom: 10px;
}
.benefit-item p {
    color: var(--color-text);
    font-size: 1em;
}
.cta-inline {
    text-align: center;
    margin: 40px 0 20px 0;
    padding: 30px;
    background-color: var(--color-page-bg);
    border-radius: 12px;
    border: 1px dashed var(--color-light-gray);
}
.cta-inline .btn {
    font-size: 1.2em;
}
.service-sidebar {
    position: sticky;
    top: 120px;
    padding: 20px;
    background: var(--color-page-bg);
    border-radius: 12px;
    border: 1px solid var(--color-light-gray);
}
.service-sidebar h4 {
    color: var(--color-dark-bg);
    font-size: 1.3em;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 10px;
}
.service-sidebar ul { list-style: none; padding: 0; }
.service-sidebar li { margin-bottom: 10px; }
.service-sidebar a {
    color: var(--color-text);
    font-weight: 500;
    display: block;
    padding: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}
.service-sidebar a:hover {
    color: var(--color-accent);
    background-color: var(--color-white);
}
.service-sidebar a.active {
    background-color: var(--color-accent);
    color: var(--color-white);
}

/* ---------------------------------- */
/* İletişim Sayfası (iletisim.php)
/* ---------------------------------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info-col { }
.contact-info-box {
    background: var(--color-page-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--color-light-gray);
}
.contact-info-box h3 {
    color: var(--color-dark-bg);
    font-size: 1.6em;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 10px;
}
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 1.1em;
}
.info-item .icon {
    font-size: 1.8em;
    color: var(--color-accent);
    margin-right: 20px;
    width: 30px;
    text-align: center;
}
.info-item .details { flex: 1; }
.info-item .details strong {
    color: var(--color-text);
    display: block;
    font-size: 1.1em;
    margin-bottom: 3px;
}
.info-item .details a {
    color: var(--color-text);
    text-decoration: none;
}
.info-item .details a:hover { color: var(--color-accent); }

.map-container {
    margin-top: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--color-light-gray);
}
.map-container iframe {
    width: 100%;
    height: 450px; /* Senin istediğin yükseklik */
    border: 0;
}

/* ---------------------------------- */
/* Form Stilleri (Genel)
/* ---------------------------------- */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-accent);
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-light-gray);
    border-radius: 6px;
    font-size: 16px;
    background-color: var(--color-page-bg);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(60, 110, 113, 0.2);
    outline: none;
}
.btn {
    background: var(--color-accent);
    color: var(--color-white);
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}
.btn:hover {
    background: var(--color-dark-bg);
    transform: translateY(-2px);
}
.alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
}
.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}

/* ---------------------------------- */
/* BREADCRUMBS (KONUM BİLGİSİ)
/* ---------------------------------- */
.breadcrumbs {
    background-color: var(--color-page-bg);
    padding: 15px 0;
    border-bottom: 1px solid var(--color-light-gray);
    margin-bottom: 30px;
    font-size: 0.9em;
}
.breadcrumbs .container {
    padding: 0 20px;
}
.breadcrumbs ul { list-style: none; padding: 0; margin: 0; }
.breadcrumbs li {
    display: inline-block;
    margin-right: 8px;
    color: var(--color-text);
}
.breadcrumbs li + li::before {
    content: '/';
    margin-right: 8px;
    color: var(--color-light-gray);
}
.breadcrumbs a {
    color: var(--color-accent);
    text-decoration: none;
}
.breadcrumbs a:hover { color: var(--color-dark-bg); }
.breadcrumbs li.current {
    font-weight: 600;
    color: var(--color-text);
}

/* ---------------------------------- */
/* YUKARI ÇIK (SCROLL TO TOP) BUTONU
/* ---------------------------------- */
#scrollToTopBtn {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    border: none;
    outline: none;
    background-color: var(--color-accent);
    color: var(--color-white);
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, opacity 0.4s ease, transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}
#scrollToTopBtn.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}
#scrollToTopBtn:hover {
    background-color: var(--color-dark-bg);
}

/* ---------------------------------- */
/* Footer
/* ---------------------------------- */
.site-footer {
    padding: 60px 0 30px 0;
    margin-top: 40px;
    background-color: var(--color-dark-bg);
    color: var(--color-light-gray);
    font-size: 0.9em;
    border-top: 4px solid var(--color-accent);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.footer-col h4 {
    color: var(--color-white);
    font-size: 1.3em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--color-accent);
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
    color: var(--color-light-gray);
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-col a:hover {
    color: var(--color-white);
    padding-left: 5px;
}
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-icons a {
    color: var(--color-light-gray);
    font-size: 1.8em;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    color: var(--color-white);
    transform: scale(1.1);
}
.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9em;
    color: var(--color-light-gray);
}


/* ---------------------------------- */
/* MOBİL UYUMLULUK (Responsive)
/* ---------------------------------- */
@media (max-width: 992px) {
    /* Hakkımızda sayfası sütunları alt alta */
    .about-section {
        flex-direction: column;
    }
    .about-image {
        position: static;
        margin-top: 30px;
        flex: 1;
    }
    
    /* Hizmet Detay sayfası sütunları alt alta */
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    .service-sidebar {
        position: static;
        margin-top: 40px;
    }
    .service-detail-header h1 {
        font-size: 2.5em;
    }

    /* İletişim sayfası sütunları alt alta */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 768px) {
    /* Ana sayfa Hero alanı */
    .hero-section {
        flex-direction: column;
        gap: 30px;
        text-align: center;
        padding: 60px 0;
    }
    .hero-content h1 {
        font-size: 2.5em;
    }
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    /* Neden Biz alanı */
    .why-us-section {
        padding: 50px 0;
    }
    
    /* Hizmet kartları tek sütun */
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    /* HAMBURGER MENÜ AKTİF */
    .hamburger-button {
        display: block; /* MOBİLDE GÖSTER */
    }
    .header-right {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-dark-bg);
        z-index: 1040;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        /* Gizle */
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        opacity: 0;
        visibility: hidden;
    }
    .header-right.is-active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .main-nav li { margin: 0; border: none; }
    .main-nav a { font-size: 28px; color: var(--color-white); padding: 10px; }
    .main-nav a.active::after,
    .main-nav a:hover::after { display: none; }
    .main-nav a:hover { color: var(--color-accent); }
    .language-dropdown { margin-top: 20px; }
    .language-dropdown .dropdown-toggle { font-size: 18px; }
    .dropdown-menu { width: 100%; }
}


/* ---------------------------------- */
/* ARAPÇA - RTL (Sağdan Sola) Desteği
/* ---------------------------------- */
html[dir="rtl"] body {
    text-align: right;
}
html[dir="rtl"] .main-nav li {
    margin-left: 0;
    margin-right: 30px;
}
html[dir="rtl"] .main-nav a::after {
    left: auto;
    right: 0;
    transform: translateX(100%);
}
html[dir="rtl"] .main-nav a:hover::after,
html[dir="rtl"] .main-nav a.active::after {
    transform: translateX(0);
}
html[dir="rtl"] .dropdown-toggle .arrow-down {
    margin-left: 0;
    margin-right: 10px;
}
html[dir="rtl"] .dropdown-menu {
    right: auto;
    left: 0;
}
html[dir="rtl"] .card {
    text-align: right;
}
html[dir="rtl"] .card .read-more {
    left: auto;
    right: 25px;
}
html[dir="rtl"] .card-icon {
    right: auto;
    left: 20px;
}
html[dir="rtl"] .card:hover .card-icon {
    transform: rotate(-10deg);
}
html[dir="rtl"] .about-feature {
    padding-left: 0;
    padding-right: 50px;
}
html[dir="rtl"] .about-feature-icon {
    left: auto;
    right: 0;
}
html[dir="rtl"] .service-content ul {
    margin-left: 0;
    margin-right: 25px;
}
html[dir="rtl"] .service-sidebar a:hover {
    padding-left: 0;
    padding-right: 5px;
}
html[dir="rtl"] .info-item .icon {
    margin-right: 0;
    margin-left: 20px;
}
html[dir="rtl"] .breadcrumbs li {
    margin-right: 0;
    margin-left: 8px;
}
html[dir="rtl"] .breadcrumbs li + li::before {
    margin-right: 0;
    margin-left: 8px;
    content: '\\';
}
html[dir="rtl"] #scrollToTopBtn {
    right: auto;
    left: 30px;
}
html[dir="rtl"] .footer-col h4::after {
    left: auto;
    right: 0;
}
html[dir="rtl"] .footer-col a:hover {
    padding-left: 0;
    padding-right: 5px;
}

/* ---------------------------------- */
/* 404 HATA SAYFASI
/* ---------------------------------- */
.error-404-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden; /* Dev 404 yazısı taşmasın */
    min-height: 50vh; /* Footer'ı aşağı iter */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Dev 404 Yazısı (Arka Plan) */
.error-404-section::before {
    content: '404';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 250px; /* Dev font boyutu */
    font-weight: 900;
    color: var(--color-page-bg); /* En soluk gri */
    z-index: 1;
    line-height: 1;
}

/* Ön Plandaki İçerik */
.error-404-content {
    position: relative;
    z-index: 2; /* Arka plan yazısının önünde */
}
.error-404-content h1 {
    color: var(--color-accent); /* Ana Rengimiz (Teal) */
    font-size: 2.5em;
    margin-bottom: 15px;
    text-shadow: 1px 1px 2px var(--color-white);
}
.error-404-content p {
    font-size: 1.2em;
    color: var(--color-text);
    max-width: 500px;
    margin: 0 auto 30px auto;
}


/* ---------------------------------- */
/* CHAT BOX (YENİ)
/* ---------------------------------- */
.chat-bubble {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent); /* Ana Rengimiz (Teal) */
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}
.chat-bubble:hover {
    transform: scale(1.1);
}

.chat-box {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    max-width: 90%;
    height: 500px;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    
    /* Başlangıçta gizli */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-out;
}
.chat-box.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background-color: var(--color-dark-bg); /* Header Rengi (Koyu Mavi) */
    color: var(--color-white);
    padding: 15px 20px;
    border-bottom: 1px solid var(--color-accent);
}
.chat-header h4 {
    color: var(--color-white);
    margin: 0;
}
.chat-header p {
    color: var(--color-light-gray);
    font-size: 0.9em;
    margin: 3px 0 0 0;
}

.chat-body {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: var(--color-page-bg); /* Hafif Gri */
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.chat-message {
    padding: 10px 15px;
    border-radius: 18px;
    max-width: 80%;
    line-height: 1.5;
}
.chat-message.user {
    background-color: var(--color-accent);
    color: var(--color-white);
    align-self: flex-end; /* Kullanıcı mesajları sağa */
    border-bottom-right-radius: 5px;
}
.chat-message.bot {
    background-color: var(--color-white);
    color: var(--color-text);
    align-self: flex-start; /* Bot mesajları sola */
    border-bottom-left-radius: 5px;
    border: 1px solid var(--color-light-gray);
}
.chat-message.loading {
    font-style: italic;
    color: #888;
}

.chat-footer {
    display: flex;
    border-top: 1px solid var(--color-light-gray);
    padding: 10px;
}
.chat-footer input {
    flex-grow: 1;
    border: none;
    padding: 10px;
    font-size: 1em;
    background-color: var(--color-white);
}
.chat-footer input:focus {
    outline: none;
}
.chat-footer button {
    background-color: var(--color-accent);
    border: none;
    color: white;
    padding: 0 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.2em;
    margin-left: 10px;
}
.chat-footer button:hover {
    background-color: var(--color-dark-bg);
}

/* Mobilde Chat Kutusunu Ayarla */
@media (max-width: 768px) {
    .chat-box {
        width: 90%;
        height: 70%;
        bottom: 90px;
        right: 5%;
    }
}
