@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700&family=Lato:wght@300;400;600&display=swap');

:root {
    /* --- YENİ MONOKROM (SİYAH/BEYAZ) PALET --- */

    /* Ana Renk (Vurgu Rengi Artık Siyah) */
    --primary-red: #111111;
    --hover-dark-red: #444444;

    /* Arka Planlar (Açık Tema) */
    --dark-bg: #FFFFFF;        /* Ana Arka Plan (Beyaz) */
    --card-bg: #F5F5F5;        /* Kartlar, Hizmetler vb. (Çok Açık Gri) */
    --dark-gray-trans: rgba(255, 255, 255, 0.85); /* Navbar kaydırma arkaplanı */

    /* Metinler (Açık Tema) */
    --light-text: #111111;      /* Ana Metin (Koyu Siyah) */
    --gray-text: #555555;       /* İkincil Metin (Orta Gri) */

    /* Form ve Kenarlıklar (Açık Tema) */
    --border-color: #EAEAEA;
    --form-input-bg: #FFFFFF;
    
    /* Efektler (Gölgeler) */
    --neon-glow: none;
    --neon-glow-white: none;
    --button-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Hafif Siyah Gölge */
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    color: var(--light-text);
    background-color: var(--dark-bg);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* YENİ: Mobil menü açıkken kaydırmayı engellemek için */
body.no-scroll {
    overflow: hidden;
}


a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-red);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Yükleniyor Ekranı (GÜNCELLENDİ) --- */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* DEĞİŞİKLİK: Açık temaya uygun */
    background-color: var(--dark-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

#loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    transform: translate(var(--logo-end-x, 0), var(--logo-end-y, 0)) scale(var(--logo-end-scale, 1));
    transition: transform 1s cubic-bezier(0.6, -0.28, 0.735, 0.045);
}

/* YENİ: Animasyonlu çizgi (Açık tema için siyah) */
.loading-line {
    width: 0px;
    height: 2px;
    background-color: #111111;
    margin-top: 20px;
    transition: width 1s cubic-bezier(0.23, 1, 0.32, 1) 0.2s;
}

#loading-screen.animate-line .loading-line {
    width: 120px;
}

#loading-screen.is-flying {
    background-color: transparent;
    transition: background-color 0.8s ease-in;
}

#loading-screen.is-flying .loading-line {
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* --- Neon Yazı Efekti (KAPATILDI) --- */
.neon-text {
    text-shadow: var(--neon-glow);
}

.neon-text-white {
    color: var(--light-text);
    text-shadow: var(--neon-glow-white);
}

/* --- Navbar --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: none;
    transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
    /* DEĞİŞİKLİK: Açık tema değişkeni */
    background-color: var(--dark-gray-trans);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    -webkit-backdrop-filter: blur(5px); /* DÜZELTME: Eklendi */
    backdrop-filter: blur(5px);
}

.logo .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo .logo-link:hover {
    opacity: 0.8;
}

.logo .logo-link:hover .logo-img {
    transform: scale(1.2);
}

.logo .logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    transition: transform 0.4s ease-in-out;
}

.logo .logo-text {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light-text);
    line-height: 1;
}
.navbar nav ul {
        display: none;
    }


.logo .logo-text span {
    color: var(--primary-red);
}

.navbar nav ul {
    display: flex;
    list-style: none;
}

.navbar nav ul li {
    margin-left: 2rem;
}

.navbar nav ul li a {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 5px;
    transition: color 0.3s ease;
}

.navbar nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    left: 0;
    bottom: 0;
    transition: width 0.3s ease;
}

.navbar nav ul li a:hover::after,
.navbar nav ul li a.active::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    margin: 5px;
    transition: all 0.3s ease;
}

/* --- Hero Section (ANA SAYFA - İSTİSNAİ KOYU TEMA) --- */
.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    padding-top: 60px;
}

.hero-background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-background-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 8s ease-out;
    filter: brightness(0.7) contrast(1.1); /* Hafif aydınlık */
    transform: scale(1.1);
}

.hero-background-slider .slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    padding: 0 30px;
}

.hero-slogan {
    font-family: 'Raleway', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: #BBBBBB; /* Ana sayfa istisnası */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.hero-content h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    color: #F2F2F2; /* Ana sayfa istisnası */
}

.hero-content p {
    font-family: 'Raleway', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: #BBBBBB; /* Ana sayfa istisnası */
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    margin-top: 3.5rem;
}

.btn {
    padding: 1.1rem 3rem;
    border-radius: 8px;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 1.05rem;
    text-transform: uppercase;
    transition: all 0.3s ease-out;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--dark-bg); /* Siyah zemin üzerine beyaz yazı */
    box-shadow: var(--button-shadow);
}

.btn-primary:hover {
    background-color: var(--hover-dark-red);
    color: var(--dark-bg);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--light-text);
    color: var(--light-text);
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: var(--light-text);
    color: var(--dark-bg);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transform: skewX(-30deg);
    transition: all 1.0s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary i.fa-arrow-right {
    margin-left: 10px;
    transition: transform 0.3s ease-out;
}

.btn-primary:hover i.fa-arrow-right {
    transform: translateX(8px);
}

.all-projects-btn {
    margin-top: 50px;
    display: inline-block;
}

/* --- Diğer Sayfaların Hero Bölümleri (AÇIK TEMA) --- */
.page-hero {
    position: relative;
    width: 100%;
    height: 40vh;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 60px;
    border-bottom: 1px solid var(--border-color);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.5); /* Siyah yazının okunması için beyaz filtre */
    z-index: 1;
}

.page-hero[style*="background-color"]::before {
    display: none;
}


.page-hero-content {
    position: relative;
    z-index: 5;
    color: var(--light-text); /* Ana metin (siyah) */
    max-width: 800px;
    padding: 0 20px;
}

.page-hero-content h1 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-hero-content p {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--gray-text); /* İkincil metin (gri) */
}

/* --- İçerik Bölümleri --- */
.content-section {
    padding: 80px 0;
    text-align: center;
}

.content-section:nth-child(even) {
    background-color: var(--card-bg); /* DEĞİŞİKLİK: Açık gri */
}

.content-section h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--light-text);
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-image: linear-gradient(to right, var(--primary-red), var(--hover-dark-red));
    border-radius: 2px;
}

.section-description {
    font-size: 1.15rem;
    color: var(--gray-text);
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

.card-hover-effect {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-hover-effect:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* Gölge rengi güncellendi */
}

.card-hover-effect:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--light-text);
}

.about-item,
.service-card,
.team-member,
.value-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
}

.team-member,
.value-card {
    opacity: 1; /* Opacity kaldırıldı */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Gölge hafifletildi */
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}

.team-member:hover,
.value-card:hover {
    opacity: 1;
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}


.about-item i,
.service-card i {
    font-size: 3.5rem;
    color: var(--primary-red);
    margin-bottom: 20px;
    transition: all 0.4s ease-in-out;
}

.about-item h3,
.service-card h3,
.team-member h3 {
    font-family: 'Lato', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.about-item p,
.service-card p,
.team-member p {
    color: var(--gray-text);
    font-size: 0.95rem;
}

/* Hakkımızda Detay Sayfası */
.about-detail-section .about-content-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
    margin-top: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.about-detail-section .about-content-flex:nth-child(even) {
    flex-direction: row-reverse;
}

.about-detail-section .about-text {
    flex: 1;
    min-width: 300px;
}

.about-detail-section .about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    text-align: left;
    color: var(--light-text);
    transition: text-shadow 0.4s ease;
}

.about-detail-section .about-text h2:hover {
    text-shadow: none; /* Neon kaldırıldı */
}

.about-detail-section .about-text h2.neon-text {
    color: var(--primary-red);
    text-shadow: none;
}

.about-detail-section .about-text h2::after {
    left: 0;
    transform: translateX(0);
}

.about-detail-section .about-text p {
    color: var(--gray-text);
    font-size: 1.05rem;
}

.about-detail-section .about-image {
    flex: 0 0 500px;
    max-width: 70%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Gölge hafifletildi */
}

.about-detail-section .about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.about-detail-section .about-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* Takım Bölümü */
.team-section {
    padding-top: 50px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    padding: 30px;
}

.team-member img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-red);
    transition: transform 0.4s ease-in-out;
}

.team-member:hover img {
    transform: scale(1.1) rotate(3deg);
}

.team-member h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.team-member p {
    font-size: 0.9rem;
}

/* Hizmetler Bölümü */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card p {
    transition: color 0.3s ease;
}

/* Projeler Bölümü */
.project-filters {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    background-color: var(--card-bg);
    color: var(--light-text);
    border: 1px solid var(--border-color);
    padding: 10px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background-color: var(--hover-dark-red);
    border-color: var(--primary-red);
    transform: scale(1.05);
    color: var(--dark-bg); /* Hover'da yazı beyaz */
}

.filter-btn.active {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: var(--dark-bg); /* Aktifken yazı beyaz */
    box-shadow: var(--button-shadow);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Gölge hafifletildi */
    text-align: left;
    transition: opacity 0.5s ease, height 0.5s ease, padding 0.5s ease, margin 0.5s ease;
    will-change: opacity, transform, height, padding, margin;
    position: relative;
    overflow: hidden;
}

.project-card.hidden {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    padding: 0;
    margin: 0;
    pointer-events: none;
    overflow: hidden;
}

.project-card.visible {
    opacity: 1;
    transform: scale(1);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
    transition: none;
}

.project-card-content {
    padding: 20px;
    color: var(--light-text);
    position: relative;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.project-card-content h3 {
    font-family: 'Lato', sans-serif;
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: var(--light-text);
}

.project-card-content p {
    color: var(--gray-text);
    font-size: 1rem;
    margin-bottom: 0;
}

/* --- Contact Page --- */
.contact-detail-section {
    padding-bottom: 80px;
    padding-top: 0;
    background-color: var(--card-bg); /* DEĞİŞİKLİK: Açık gri */
}

.contact-sections-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    padding-bottom: 80px;
    padding-top: 80px;
}

.contact-sections-wrapper>div {
    flex: 1;
    min-width: 300px;
    max-width: 550px;
}

.contact-info-wrapper,
.contact-form-section {
    background-color: transparent;
    box-shadow: none;
    padding: 15px 0 0 0;
}

.section-subtitle {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-text);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 30px;
    text-align: left;
    line-height: 1.2;
}

.contact-sections-wrapper h2.neon-text,
.contact-sections-wrapper h2::after,
.contact-sections-wrapper .section-description {
    display: none;
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin-top: 0;
}

/* === DÜZELTME 1: KUTU GÖRÜNÜMÜNÜ KALDIRMA === */
.contact-info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 45px;
    padding: 0px; /* Değiştirildi: 20px -> 0px */
    border-radius: 0px; /* Değiştirildi: 8px -> 0px */
    background-color: transparent; /* Zaten transparent, ancak tekrar belirttik */
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    cursor: default;
}

.contact-info-list li:hover {
    transform: scale(1.02) translateX(5px);
    background-color: rgba(255, 255, 255, 0.7); /* Hover rengi güncellendi */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* === YENİ: MOBİL DOKUNMA EFEKTİ SINIFI === */
.contact-info-list li.active-touch {
    /* Masaüstü hover etkisini taklit et */
    transform: scale(1.02) translateX(5px) !important; 
    /* Arka plan ve gölgeyi hover'daki gibi hafifçe ekle */
    background-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

.contact-info-list li:last-child {
    margin-bottom: 0;
}

.contact-info-list li i {
    font-size: 1.2rem;
    color: var(--dark-bg); /* İkon yazı rengi (beyaz) */
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--primary-red); /* Siyah */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    transition: all 0.3s ease;
    line-height: 0;
}

.contact-info-list li:hover i {
    transform: scale(1.1);
    background-color: var(--hover-dark-red);
}

.contact-info-list .info-text {
    flex-grow: 1;
}

.contact-info-list .info-text h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--light-text);
    text-transform: none;
}

.contact-info-list .info-text p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2px;
}

.contact-info-list .info-text p:last-child {
    margin-bottom: 0;
}

.contact-info-list .info-text p a {
    color: var(--gray-text);
    transition: color 0.3s ease;
}

.contact-info-list .info-text p a:hover {
    color: var(--primary-red);
}

.contact-form-section {
    text-align: left;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 0;
    background-color: transparent;
    border-radius: 0px;
    box-shadow: none;
    text-align: left;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 30px;
}

.contact-form label {
    position: absolute;
    top: 15px;
    left: 20px;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--gray-text);
    pointer-events: none;
    transition: all 0.3s ease;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--form-input-bg);
    color: var(--light-text);
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.contact-form input:focus+label,
.contact-form input:not(:placeholder-shown)+label,
.contact-form textarea:focus+label,
.contact-form textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 15px;
    font-size: 0.8rem;
    color: var(--primary-red);
    background-color: var(--form-input-bg); /* Beyaz zemin */
    padding: 0 5px;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    border-color: var(--primary-red);
    outline: none;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.3); /* Gölge güncellendi */
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 10px;
}

#form-success-message {
    background-color: var(--primary-red);
    color: var(--dark-bg);
    padding: 15px;
    border-radius: 12px; /* DÜZELTME: Köşeler daha yuvarlak */
    text-align: center;
    font-weight: 500;
    opacity: 0;
    visibility: hidden;
    margin-bottom: 30px;
    /* DÜZELTME: Animasyon için yeni başlangıç noktası (daha yumuşak) */
    transform: translateY(10px) scale(0.98);
    /* DÜZELTME: Animasyon süresi ve türü (daha hızlı) */
    transition: opacity 0.3s ease-out, transform 0.3s ease-out, visibility 0.3s;
}

#form-success-message.visible {
    opacity: 1;
    visibility: visible;
    /* DÜZELTME: Animasyonun son hali (hafif büyüme) */
    transform: translateY(0) scale(1);
}

/* Harita Bölümü */
.map-section {
    background-color: var(--card-bg); /* DEĞİŞİKLİK: Açık gri */
    padding-top: 0;
    padding-bottom: 80px;
}

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); /* Gölge hafifletildi */
    line-height: 0;
}

.map-container iframe {
    display: block;
    width: 100%;
    border: 0;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-bg);
    padding: 25px 0 15px 0;
    text-align: center;
    margin-top: 0;
    border-top: 1px solid var(--border-color); /* DEĞİŞİKLİK: Açık gri kenarlık */
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-logo {
    display: none;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.footer-social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border: 2px solid var(--gray-text);
    border-radius: 50%;
    transition: background-color 0.4s ease, border-color 0.4s ease;
}

.footer-social-icons a i {
    font-size: 1.3rem;
    color: var(--gray-text);
    transition: color 0.4s ease, transform 0.4s ease;
    
}

.footer-social-icons a:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

.footer-social-icons a:hover i {
    color: var(--dark-bg); /* Beyaz */
    transform: translateY(-4px);
}

.footer p {
    font-size: 1rem;
    color: var(--gray-text);
}

/* --- Scroll to Top --- */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-red);
    color: var(--dark-bg); /* Beyaz */
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    box-shadow: var(--button-shadow);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    color: var(--dark-bg);
    transform: translateY(-5px) scale(1.1);
}

/* --- Animasyonlar --- */
.reveal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
    will-change: opacity, visibility, transform;
}

.reveal.fade-bottom {
    transform: translateY(50px);
}

.reveal.fade-left {
    transform: translateX(-50px);
}

.reveal.fade-right {
    transform: translateX(50px);
}

.reveal.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateX(0);
}

.reveal.delay-1 {
    transition-delay: 0.2s;
}

.reveal.delay-2 {
    transition-delay: 0.4s;
}

.reveal.delay-3 {
    transition-delay: 0.6s;
}

.reveal.delay-4 {
    transition-delay: 0.8s;
}

/* Sayfa Geçiş Animasyonları */
#page-content {
    /* === YAVAŞLATILDI === */
    transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}

#page-content.page-exit {
    opacity: 0;
    transform: translateY(20px);
}

#page-content.page-enter-active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 4. NAVBAR: SİHİRLİ ÇİZGİ EFEKTİ --- */
.navbar nav ul li a::after {
    display: none;
}

.navbar .nav-links {
    position: relative;
}

.nav-links .magic-line {
    position: absolute;
    bottom: -2px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
    box-shadow: none; /* Neon kaldırıldı */
    transition: left 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55), width 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* --- 5. BAŞLIKLAR: NEFES ALAN PARLAMA (GLOW) EFEKTİ (KAPATILDI) --- */
@keyframes pulse-glow {
    /* ...içerik kaldırıldı... */
}

.content-section h2.reveal {
    color: var(--light-text);
}



.content-section h2.reveal::after {
    width: 0;
    transition: width 0.8s ease 0.5s;
}

.content-section h2.reveal.active::after {
    width: 80px;
}

.contact-info-list li i.fa-phone-alt {
    transform: scaleX(-1);
}

.contact-info-list li i {
    transition: transform 0.5s ease-in-out;
}

.contact-info-list li i.fa-phone-alt {
    transform: scaleX(-1);
}

.contact-info-list li:hover .fa-map-marker-alt {
    transform: rotate(-15deg) translateY(-5px);
}

.contact-info-list li:hover .fa-phone-alt {
    transform: scaleX(-1) rotate(15deg);
}

.contact-info-list li:hover .fa-envelope {
    transform: scale(1.1) rotate(5deg) translateX(5px);
}

.contact-info-list li:hover .fa-clock {
    transform: rotate(360deg) scale(1.1);
}

.contact-form .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    overflow: hidden;
}

.contact-form .btn .fa-paper-plane {
    opacity: 0;
    transform: translateX(-20px) scale(0.5);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    font-size: 1.1em;
}

.contact-form .btn:hover .fa-paper-plane {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.contact-form .btn span {
    transition: transform 0.3s ease-out;
}

.contact-form .btn:hover span {
    transform: translateX(-5px);
}

/* --- YENİ EKLENEN HAKKIMIZDA SAYFASI STİLLERİ --- */
.stats-section {
    background-color: var(--card-bg); /* DEĞİŞİKLİK: Açık gri */
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    color: var(--light-text);
}

.stat-item {
    text-align: center;
}

.stat-item .stat-number {
    font-family: 'Lato', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-item p {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 10px;
}

.values-section {
    background-color: var(--dark-bg); /* DEĞİŞİKLİK: Beyaz */
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.value-card i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 20px;
}

.value-card h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light-text);
}

.value-card p {
    color: var(--gray-text);
}

@keyframes pulse-check {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes wiggle-users {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes shield-glow {
    0%, 100% { filter: drop-shadow(0 0 0px var(--primary-red)); }
    50% { filter: drop-shadow(0 0 10px var(--primary-red)); } /* Hafifletildi */
}

@keyframes bulb-flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes shake-hands {
    0%, 100% { transform: rotate(0); }
    25% { transform: rotate(-8deg); }
    75% { transform: rotate(8deg); }
}

@keyframes grow-leaf {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15) rotate(5deg); }
}

.value-card:hover .fa-check-circle { animation: pulse-check 0.8s ease-in-out; }
.value-card:hover .fa-users { animation: wiggle-users 0.6s ease-in-out; }
.value-card:hover .fa-shield-alt { animation: shield-glow 1.5s ease-in-out infinite; }
.value-card:hover .fa-lightbulb { animation: bulb-flicker 0.4s ease-in-out infinite; }
.value-card:hover .fa-hands-helping { animation: shake-hands 0.7s ease-in-out; }
.value-card:hover .fa-leaf { animation: grow-leaf 0.8s ease-in-out; }

.timeline-section {
    background-color: var(--dark-bg);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 50px auto;
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}

.timeline-dot {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--light-text);
    border: 4px solid var(--primary-red);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) 0.5s;
}

.timeline-item.reveal.active .timeline-dot {
    transform: scale(1);
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -8px;
}

.timeline-content {
    padding: 15px 20px;
    background-color: var(--card-bg);
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.timeline-content h3 {
    color: var(--primary-red);
}

.timeline-content p {
    color: var(--gray-text);
}

.cta-section {
    /* DEĞİŞİKLİK: Monokrom tema */
    background: linear-gradient(45deg, #222222, #000000);
    color: #FFFFFF; /* Beyaz yazı */
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-section .btn {
    /* DEĞİŞİKLİK: Beyaz zemin, siyah yazı */
    background-color: var(--dark-bg);
    color: var(--light-text);
}

.cta-section .btn:hover {
    background-color: transparent;
    color: var(--dark-bg);
    border: 1px solid var(--dark-bg);
}


/* --- Responsive --- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.15rem;
    }

    .hero-slogan {
        font-size: 1.2rem;
    }

    .btn {
        padding: 0.9rem 2.2rem;
        font-size: 0.95rem;
    }
}

.content-section {
    position: relative;
    overflow: hidden;
}

/* Fare takip eden parlama efekti (kapatıldı) */
.content-section::before {
    display: none;
}

@media (max-width: 768px) {
    .content-section::before {
        display: none;
    }
}

.navbar nav ul li a::after {
    display: none;
}

.navbar .nav-links {
    position: relative;
}

.nav-links .magic-line {
    position: absolute;
    bottom: -2px;
    height: 3px;
    background-color: var(--primary-red);
    border-radius: 2px;
    box-shadow: var(--neon-glow);
    transition: left 0.4s cubic-bezier(0.23, 1, 0.32, 1), width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes pulse-glow {
    /* İçerik kaldırıldı */
}



.content-section h2::after {
    background-image: none;
    background-color: var(--primary-red);
}

#our-vision,
#our-mission {
    background-color: var(--card-bg);
}

.about-detail-section .about-content-flex {
    flex-wrap: nowrap;
}

#our-vision .about-content-flex {
    flex-direction: row;
}

#our-mission .about-content-flex {
    flex-direction: row;
    padding-top: 0;
}

.about-detail-section .about-image {
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.about-detail-section .about-image:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.about-detail-section .about-image img {
    transition: transform 0.4s ease;
}

.about-detail-section .about-image:hover img {
    transform: scale(1.1);
}

.about-detail-section .about-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%); /* Siyah gradient */
    opacity: 0;
    transition: opacity 0.4s ease;
}

.about-detail-section .about-image:hover::after {
    opacity: 1;
}

.values-section {
    background-color: var(--dark-bg); /* DEĞİŞİKLİK */
}

.values-grid {
    perspective: 1500px;
}

.value-card {
    position: relative;
    overflow: hidden;
    will-change: transform;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transform-style: preserve-3d;
    transition: border-color 0.3s ease;
}

.value-card.reveal.active {
    transition: border-color 0.3s ease, transform 0.1s ease-out;
}

.value-card::before {
    content: "";
    position: absolute;
    left: var(--mouse-x-local, 50%);
    top: var(--mouse-y-local, 50%);
    width: 0;
    height: 0;
    background: radial-gradient(circle closest-side, rgba(0, 0, 0, 0.05), transparent); /* Siyah parlama */
    transform: translate(-50%, -50%);
    transition: width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
    opacity: 0;
}

.value-card:hover::before {
    width: 400px;
    height: 400px;
    opacity: 1;
}

.value-card>* {
    position: relative;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translateZ(0);
}

.value-card:hover>* {
    transform: translateZ(20px);
}

@keyframes draw-line {
    from { transform: scaleY(0); }
    to { transform: scaleY(1); }
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--border-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
}

.timeline-container::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--primary-red);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    z-index: 1;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 2s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.timeline-container.animate::before {
    transform: scaleY(1);
}

@media (max-width: 768px) {
    .timeline-container::before,
    .timeline-container::after {
        left: 10px;
    }
}

.timeline-dot {
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0.8s;
}

.timeline-item.reveal.active .timeline-dot {
    transform: scale(1);
}

@media (max-width: 768px) {
    .timeline-container::before,
    .timeline-container::after {
        left: 10px;
    }
}

@keyframes background-pan {
    from { background-position: 0% center; }
    to { background-position: -200% center; }
}

.team-member {
    position: relative;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 2px;
    will-change: transform;
    transition: transform 0.25s ease;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* DEĞİŞİKLİK: Beyaz parlama */
    background: linear-gradient(115deg, transparent 30%, var(--light-text), transparent 70%);
    background-size: 200% 100%;
    animation: background-pan 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.team-member:hover::before {
    opacity: 1;
}

.team-member-content {
    position: relative;
    z-index: 1;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 30px;
    height: 100%;
    transition: transform 0.25s ease;
}

.team-member:hover .team-member-content {
    transform: scale(0.98);
}

.team-member img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid var(--border-color);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.team-member:hover img {
    transform: scale(1.05);
    border-color: var(--primary-red);
}

.team-member h3 {
    transition: color 0.3s ease;
}

.team-member:hover h3 {
    color: var(--primary-red);
}

.team-member .team-role {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.team-member:hover .team-role {
    color: var(--primary-red);
}

.team-member .team-desc {
    font-size: 0.9rem;
    color: var(--gray-text);
    font-style: italic;
    transition: color 0.3s ease;
}

.team-member:hover .team-desc {
    color: var(--light-text);
}


#our-mission {
    padding-top: 0px;
}

.about-detail-section .about-text h2::after {
    width: 0;
    transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s;
}

.about-detail-section .about-text.reveal.active h2::after {
    width: 80px;
}

.services-detail-section .service-grid {
    display: none;
}

.service-list-section {
    padding: 100px 0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.service-item:last-child {
    margin-bottom: 0;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.service-content {
    flex: 1;
    position: relative;
    padding-left: 20px;
}

.service-item.reverse .service-content {
    padding-left: 0;
    padding-right: 20px;
}

.service-number {
    position: absolute;
    top: -60px;
    left: -30px;
    font-family: 'Raleway', sans-serif;
    font-size: 10rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.04); /* Siyah opacity */
    z-index: 0;
    user-select: none;
    line-height: 1;
}

.service-item.reverse .service-number {
    left: auto;
    right: -30px;
}

.service-title {
    font-family: 'Raleways', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--light-text);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-description {
    color: var(--gray-text);
    font-size: 1.05rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.service-details-list {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.service-details-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--light-text);
}

.service-details-list li i {
    color: var(--primary-red);
    margin-right: 15px;
    margin-top: 5px;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .service-item,
    .service-item.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .service-content {
        padding: 0 !important;
        text-align: center;
    }

    .service-number {
        font-size: 8rem;
        top: -40px;
        left: 50%;
        transform: translateX(-50%);
        right: auto;
    }

    .service-details-list {
        display: inline-block;
        text-align: left;
    }
}

.btn-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-family: Raleway', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 30px;
    background-color: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    transition: all 0.4s ease;
}

.btn-service:hover {
    background-color: var(--primary-red);
    color: var(--dark-bg);
    transform: translateY(-3px);
    box-shadow: var(--button-shadow);
}

.btn-service i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.btn-service:hover i {
    transform: translateX(5px);
}

.service-item {
    padding: 3.5rem;
    border-radius: 10px;
    margin-bottom: 80px;
    gap: 80px;
    background-color: transparent;
    border: 1px solid transparent;
    box-shadow: none;
    transform: translateY(0);
    transition: transform 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-item:hover {
    transform: translateY(-10px);
    background-color: var(--dark-bg); /* Hover'da beyaz */
    border-color: var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-item .service-image {
    flex: 1.2;
}

.service-item .service-content {
    flex: 1;
}

.service-content {
    display: flex;
    flex-direction: column;
}

.service-content .btn-service {
    margin-top: auto;
    align-self: flex-start;
}

.service-number {
    top: -40px;
    left: 0;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), color 0.5s ease;
}

.service-item.reverse .service-number {
    left: auto;
    right: 0;
}

.service-item:hover .service-number {
    transform: translateY(-15px);
    color: rgba(0, 0, 0, 0.08); /* Koyu opacity */
}


@media (max-width: 992px) {
    .service-item {
        padding: 2.5rem;
        gap: 40px;
    }

    .service-content .btn-service {
        align-self: center;
    }
}

.service-list-section {
    padding: 100px 0;
    background-color: var(--card-bg); /* Açık gri */
}

.service-item {
    padding: 3.5rem;
    background-color: transparent;
    border: 1px solid transparent;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-item:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-10px);
}


.service-image {
    overflow: hidden;
}

.service-image img {
    transition: filter 0.4s ease, transform 0.1s linear;
}

.service-item:hover .service-image img {
    filter: brightness(1.1);
}

.service-item.reveal .service-image img {
    transform: scale(1.05) translateX(-101%);
    transition: transform 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-item.reveal.reverse .service-image img {
    transform: scale(1.05) translateX(101%);
}

.service-item.reveal.active .service-image img {
    transform: scale(1.05) translateX(0);
}

.service-item.reveal .service-title,
.service-item.reveal .service-number,
.service-item.reveal .service-description,
.service-item.reveal .service-details-list,
.service-item.reveal .btn-service {
    opacity: 0;
    transform: translateY(20px);
    /* === YAVAŞLATILDI === */
    transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.service-item.reveal.active .service-title,
.service-item.reveal.active .service-number {
    transition-delay: 0.4s;
}

.service-item.reveal.active .service-description {
    transition-delay: 0.5s;
}

.service-item.reveal.active .service-details-list {
    transition-delay: 0.6s;
}

.service-item.reveal.active .btn-service {
    transition-delay: 0.7s;
}

.service-item.reveal.active .service-title,
.service-item.reveal.active .service-number,
.service-item.reveal.active .service-description,
.service-item.reveal.active .service-details-list,
.service-item.reveal.active .btn-service {
    opacity: 1;
    transform: translateY(0);
}

.service-title {
    transition: color 0.3s ease;
}

.service-item:hover .service-title {
    color: var(--primary-red);
}

.service-number {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), color 0.5s ease;
}

.service-item:hover .service-number {
    transform: translateY(-15px);
    color: rgba(0, 0, 0, 0.08); /* Koyu opacity */
}

.service-item.reverse:hover .service-number {
    transform: translateY(-15px);
}

.service-details-list li i {
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), color 0.3s ease;
}

.service-item:hover .service-details-list li i {
    transform: translateX(5px) scale(1.2);
    color: var(--light-text);
}

.btn-service:hover i {
    transform: translateX(8px) rotate(-15deg);
}

.projects-intro {
    padding: 80px 0;
    text-align: center;
    background-color: var(--card-bg);
}

.projects-intro h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.projects-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    background-color: var(--dark-bg); /* Beyaz */
}

.projects-section::before {
    display: none;
}

.projects-section .container {
    position: relative;
    z-index: 1;
}

.project-filters {
    gap: 15px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--card-bg);
    color: var(--gray-text);
    border: 1px solid var(--border-color);
    padding: 10px 25px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Raleways', sans-serif;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-btn:hover {
    transform: translateY(-3px);
    border-color: var(--primary-red);
    color: var(--dark-bg); /* DÜZELTME: Yazı beyaz */
    background-color: var(--primary-red);
}

.filter-btn.active {
    background-color: var(--primary-red);
    color: var(--dark-bg);
    border-color: var(--primary-red);
    box-shadow: var(--button-shadow);
    transform: translateY(-3px);
}

.btn-service,
.filter-btn {
    position: relative;
    overflow: hidden;
}


.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 420px;
    background-color: var(--card-bg);
    transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
}

.project-card.is-hiding {
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
}

.project-card.is-hidden {
    display: none;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.project-card-image {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    transition: transform 0.3s linear;
}

.project-card-content,
.project-card-hover-overlay {
    position: relative;
    z-index: 2;
}

.project-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 25px 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 40%, transparent 100%);
}

.project-card-content p {
    color: #F2F2F2; /* Beyaz */
    font-size: 0.95rem;
    margin: 0;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.project-card-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.3); /* Açık renk blur */
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card:hover .project-card-hover-overlay {
    opacity: 1;
}

.project-card-hover-overlay h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.8rem;
    color: var(--light-text);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.project-details-link {
    width: 55px;
    height: 55px;
    border: 2px solid var(--light-text);
    border-radius: 50%;
    color: var(--light-text);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    position: relative;
}

.project-details-link:hover {
    transform: scale(1.1);
}

.project-details-link:hover,
.project-details-link:hover i {
    color: var(--light-text) !important;
}

.project-details-link i {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-details-link:hover i {
    transform: translateX(5px) rotate(-15deg);
}

.project-details-link .details-text {
    position: absolute;
    bottom: -28px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--light-text);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.project-card:hover .project-details-link .details-text {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.project-card:hover .project-card-hover-overlay h3,
.project-card:hover .project-card-hover-overlay .project-details-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.project-card:hover .project-card-hover-overlay h3 {
    transition-delay: 0.1s;
}

.project-card:hover .project-card-hover-overlay .project-details-link {
    transition-delay: 0.2s;
}

.project-card:hover .project-details-link .details-text {
    transition-delay: 0.3s;
}

@media (max-width: 992px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-counter {
    margin-top: 2rem;
    font-family: 'Raleway', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--gray-text);
    text-shadow: none;
}

.project-counter span {
    color: var(--light-text);
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0 5px;
}

.gallery-section {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
    grid-template-areas:
        "main main"
        "thumb1 thumb2";
}

.project-gallery .main-image {
    grid-area: main;
}

.project-gallery .thumb-image:nth-of-type(1) {
    grid-area: thumb1;
}

.project-gallery .thumb-image:nth-of-type(2) {
    grid-area: thumb2;
}

.project-gallery .main-image,
.project-gallery .thumb-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.project-gallery .main-image:hover img,
.project-gallery .thumb-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.tech-specs-table {
    width: 100%;
    max-width: 800px;
    margin: 50px auto 0;
    border-collapse: collapse;
    text-align: left;
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tech-specs-table td {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.05rem;
}

.tech-specs-table tbody tr:last-child td {
    border-bottom: none;
}

.tech-specs-table tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.03); /* Çok hafif gri */
}

.tech-specs-table td:first-child {
    font-weight: 600;
    color: var(--light-text);
    width: 40%;
}

.tech-specs-table td:last-child {
    color: var(--gray-text);
}

.tech-specs-table i {
    color: var(--primary-red);
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.project-hero-final {

    height: 60vh;
    min-height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    color: var(--light-text); /* Siyah */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.project-hero-final .container {
    position: relative;
    z-index: 2;
}

.project-hero-final h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-meta-final {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px 30px;
    font-size: 1.1rem;
    color: #F2F2F2;
}

.project-meta-final i {
    color: var(--primary-red);
    margin-right: 8px;
}

.project-main-content-final {
    padding: 80px 0;
    background-color: var(--dark-bg);
}

.project-layout-final {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.project-narrative-final h2,
.specs-card-final h2,
.project-gallery-final h2 {
    font-size: 1.8rem;
    font-family: 'Raleway', sans-serif;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.project-narrative-final h2::after,
.specs-card-final h2::after,
.project-gallery-final h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-red);
    transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1) 0.4s;
}

.project-narrative-final.reveal.active h2::after,
.project-specs-final.reveal.active .specs-card-final h2::after,
.project-gallery-final.reveal.active h2::after {
    width: 50px;
}

.project-narrative-final h2::after,
.specs-card-final h2::after {
    left: 0;
}

.project-gallery-final h2::after {
    left: 50%;
    transform: translateX(-50%);
}

.project-narrative-final p {
    color: var(--gray-text);
    line-height: 1.8;
}

.specs-card-final {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    position: sticky;
    top: 100px;
}

.specs-list-final {
    list-style: none;
    padding: 0;
}

.specs-list-final li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    color: var(--light-text);
}

.specs-list-final i {
    color: var(--primary-red);
    margin-right: 15px;
    margin-top: 5px;
}

.project-gallery-final {
    padding-top: 80px;
}

.project-gallery-final h2 {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-grid-final {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item-final {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.gallery-item-final img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-item-final:hover img {
    transform: scale(1.05);
}

.specs-card-final .btn-primary {
    width: 100%;
    margin-top: 25px;
}

.project-cta-final {
    text-align: center;
    padding-top: 80px;
}

.project-main-content-final .btn {
    padding: 0.8rem 2rem;
    font-size: 0.95rem;
}

.project-main-content-final .btn i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary:hover i {
    transform: translateX(-5px);
}

.btn-primary i {
    margin-left: 8px;
}

.btn-secondary i {
    margin-right: 8px;
}

@media (max-width: 992px) {
    .project-layout-final {
        grid-template-columns: 1fr;
    }

    .specs-card-final {
        position: static;
    }
}

.about-section .about-item {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.btn-primary i.fa-arrow-right {
    margin-left: 10px;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.btn-primary:hover i.fa-arrow-right {
    transform: translateX(8px);
}


.services-section .service-card {
    background-color: transparent;
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.services-section::before {
    display: none;
}

.about-section .about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.about-section::before {
    display: none;
}

.about-section .card-hover-effect {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-section .card-hover-effect:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.btn {
    transition: all 0.3s ease-out;
}

.btn-primary i.fa-arrow-right {
    transition: transform 0.3s ease-out;
}

/* --- 3. YENİ: Buton Tıklama Parçacık Efekti --- */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.particle {
    position: absolute;
    background-color: #FFFFFF; /* Beyaz parçacık */
    border-radius: 50%;
    pointer-events: none;
    animation: burst 0.7s ease-out forwards;
}

@keyframes burst {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0) translate(var(--x), var(--y));
        opacity: 0;
    }
}

/* --- GÜNCELLENMİŞ VE BİRLEŞTİRİLMİŞ MOBİL GÖRÜNÜM STİLLERİ --- */
/* (Tüm eski/yinelenen @media blokları temizlendi ve burada birleştirildi) */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .navbar {
        padding: 1rem 5%;
    }
    
    .logo .logo-img {
        width: 40px;
        height: 40px;
    }

    .logo .logo-text {
        font-size: 1.2rem;
    }

    /* --- TAM EKRAN MENÜ STİLLERİ (GÜNCELLENDİ) --- */
/* --- KESİN ÇÖZÜM: TAM EKRAN MENÜ STİLLERİ --- */
.nav-links {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important; 
    height: 100vh !important; /* veya 100dvh */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: rgba(255, 255, 255, 0.95) !important; 
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    
    /* Animasyon stili: Yukarıdan kayma */
    transform: translateY(-100%) !important; 
    transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1), transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), visibility 0.5s !important;
    
    z-index: 1001 !important;
    overflow-y: auto !important; 
    padding-top: 60px !important; 
    padding-bottom: 20px !important;
}

.nav-links.nav-active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important; /* Animasyonun bitişi */
}

/* İçerik linklerinin (li) animasyonla gelmesi (app.js ile çalışır) */
.nav-links li {
    opacity: 0; /* <-- *** DÜZELTME BURADA YAPILDI: !important kaldırıldı *** */
    margin: 1.2rem 0 !important; /* DÜZELTME: Mobil menü boşluğu */
}

/* İçerik linklerinin (a) görünümü */
.nav-links li a {
    font-size: 1.0rem !important; /* DÜZELTME: Mobil menü yazı boyutu */
    font-family: 'Raleway', sans-serif !important;
    font-weight: 600 !important;
    color: #111111 !important; /* Menü yazısı siyah */
}

    
    .burger {
        display: block;
        z-index: 1002;
    }
    
    .burger div {
         /* Burger rengi navbar'ın durumuna göre değişir */
         /* JavaScript'in .burger-dark sınıfını eklemesi gerekir */
        background-color: var(--light-text); /* Varsayılan (Hero üstü için) */
    }

    .navbar.scrolled .burger div,
    .burger.toggle div,
    .burger.burger-dark div {
        background-color: #111111; /* Kaydırınca veya açık menüde (siyah) */
    }

    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links .magic-line {
        display: none;
    }

    .navbar nav ul li a::after {
        display: block;
        background-color: var(--primary-red);
    }
    
    .navbar nav ul li a:hover::after,
    .navbar nav ul li a.active::after {
        width: 100%;
    }


    /* --- Diğer responsive ayarlar --- */
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .hero-slogan {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    /* Ana sayfa hero butonları için özel mobil stil */
    .hero-section .btn-primary {
         background-color: var(--dark-bg);
         color: var(--light-text);
         border: 2px solid var(--dark-bg);
         box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    }
    .hero-section .btn-primary:hover {
        background-color: transparent;
        color: var(--dark-bg);
    }
    .hero-section .btn-secondary {
         background-color: transparent;
         border: 2px solid #F2F2F2;
         color: #F2F2F2;
         box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
    }
    .hero-section .btn-secondary:hover {
        background-color: #F2F2F2;
        color: #111111;
    }
    /* --- */

    .content-section h2 {
        font-size: 2.2rem;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 10px;
    }

    .about-detail-section .about-content-flex,
    #our-vision .about-content-flex,
    #our-mission .about-content-flex {
        gap: 30px;
        flex-direction: column-reverse;
        flex-wrap: wrap; /* Esnekliği koru */
    }
    
    /* Misyon'da resim üste gelsin */
    #our-mission .about-content-flex {
        flex-direction: column;
    }

    .about-detail-section .about-image {
        max-width: 100%;
        flex-basis: 100%;
    }

    .about-detail-section .about-text,
    .about-detail-section .about-text h2 {
        text-align: center;
    }

    .about-detail-section .about-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-sections-wrapper {
        flex-direction: column;
        gap: 30px;
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .contact-info-wrapper,
    .contact-form-section {
        /* contact-info-wrapper'dan kutu ve gölge kaldırıldı (Aşağıdaki kuralı eziyoruz) */
        background-color: transparent;
        border-radius: 0px;
        box-shadow: none;
        padding: 0px;
    }
    
    /* Düzeltme: contact-form-section'ı eski haline getiriyoruz */

    
    /* Mobil cihazlarda hover'ı kaldırıyoruz, active-touch sınıfı devralacak */
    .contact-info-list li:hover {
        background-color: transparent; 
        padding-left: 5px;
    }

    .contact-form {
        padding: 0;
    }

    .section-title {
        font-size: 2.0rem;
        margin-bottom: 20px;
    }

    .footer-social-icons a {
        width: 45px;
        height: 45px;
    }

    .footer-social-icons a i {
        font-size: 1.4rem;
    }




    .stats-grid {
        grid-template-columns:repeat(3, 1fr);
    }
    /* YENİ KOD (SİLDİĞİNİZİN YERİNE) */

.team-member {
    padding: 0; /* Orijinal padding'i sıfırla (Bu kural korundu) */
}

.team-member-content {
     padding: 30px; /* İçeriğe padding ver (Bu kural korundu) */
}

/* YENİ: Mobilde karta 'basılma' (:active) anı için efektler */
.team-member:active .team-member-content {
    /* Basıldığında masaüstündeki gibi içe çökme efekti ver */
    transform: scale(0.98); 
}

.team-member:active::before {
    /* Basıldığında ışık animasyonunu göster */
    opacity: 1;
}

/* ÖNEMLİ:
   'transform: none' ve 'display: none' kurallarını sildik.
   Böylece :active durumunun efektleri tetiklemesine izin verdik.
*/

    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .project-gallery {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "thumb1"
            "thumb2";
    }

    .tech-specs-table td {
        padding: 15px;
        font-size: 0.95rem;
    }
    
    .project-hero-final h1 {
        font-size: 2.5rem;
    }

    .service-list-section {
        padding: 60px 0;
    }
    .service-item {
        padding: 2rem 1.5rem;
        margin-bottom: 60px;
    }
    .service-title {
        font-size: 1.8rem;
    }
    
    /* Hizmetler sayfası mobil sayı düzeltmesi */
    .service-number {
        font-size: 6rem !important;
        top: -25px !important;
        color: rgba(0, 0, 0, 0.04);
    }
    .service-item:hover .service-number {
        color: rgba(0, 0, 0, 0.06);
    }
    
    /* Proje kartı hover efekti açık temaya uygun */
    .project-card-hover-overlay {
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(8px);
    }
    .project-details-link {
        border-color: var(--light-text);
        color: var(--light-text);
    }
    .project-details-link .details-text {
        color: var(--light-text);
    }
    
    /* 1. ÇÖZÜM: Dokunma sonrası çıkan kare/çerçeve (outline) sorununu giderme */
    a, button, .btn, .filter-btn, .logo .logo-link,
    input[type]="button"], input[type="submit"] {
        -webkit-tap-highlight-color: transparent;
    }
    a:focus, button:focus, .btn:focus, .filter-btn:focus,
    .logo .logo-link:focus, .scroll-to-top:focus {
        outline: none !important;
        box-shadow: none;
    }

} /* === MOBİL @media bloğunun sonu === */


/* === BAŞLANGIÇ: MONOKROM TEMA DÜZELTMELERİ (YÜKSEK ÖNCELİKLİ) === */
/* Bu blok, :root değişkenlerinin yetersiz kaldığı yerleri ezer. */

/* --- 1. BUTONLAR VE VURGULAR (SİTE GENELİ) --- */

.btn-primary {
    background-color: var(--light-text); /* Siyah */
    color: var(--dark-bg); /* Beyaz */
    border: 2px solid var(--light-text); /* Siyah kenarlık */
    box-shadow: var(--button-shadow);
}
.btn-primary:hover {
    background-color: var(--dark-bg); /* Beyaz */
    color: var(--light-text); /* Siyah */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--light-text); /* Siyah */
    color: var(--light-text); /* Siyah */
}
.btn-secondary:hover {
    background-color: var(--light-text); /* Siyah */
    color: var(--dark-bg); /* Beyaz */
}

.filter-btn.active {
    background-color: var(--light-text); /* Siyah */
    color: var(--dark-bg); /* Beyaz */
    border-color: var(--light-text); /* Siyah */
}

.filter-btn:hover {
    color: var(--dark-bg); /* DÜZELTME: Yazı beyaz */
    background-color: var(--primary-red); /* DÜZELTME: Arka plan siyah */
    
    /* Diğer kuraldan özellikleri de buraya taşıyalım */
    transform: translateY(-3px);
    border-color: var(--primary-red);
}

.navbar .nav-links .magic-line {
    background-color: var(--light-text); /* Siyah */
    box-shadow: none;
}

.btn-service {
    color: var(--light-text); /* Siyah */
    border: 2px solid var(--light-text); /* Siyah */
}
.btn-service:hover {
    background-color: var(--light-text); /* Siyah */
    color: var(--dark-bg); /* Beyaz */
}

/* --- 2. ANA SAYFA HERO BÖLÜMÜ (İSTİSNA) --- */
/* (Koyu zemin üzerinde beyaz kalması için) */

.hero-slogan,
.hero-content p {
    color: #BBBBBB; /* Açık Gri */
}
.hero-content h1 {
    color: #F2F2F2; /* Beyaz */
}

.hero-section .btn-primary {
     background-color: var(--dark-bg); /* Beyaz */
     color: var(--light-text); /* Siyah */
     border: 2px solid var(--dark-bg); /* Beyaz kenarlık */
     box-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
}
.hero-section .btn-primary:hover {
    background-color: transparent;
    color: var(--dark-bg); /* Beyaz */
}

.hero-section .btn-secondary {
     background-color: transparent;
     border: 2px solid #F2F2F2; /* Beyaz Kenarlık */
     color: #F2F2F2; /* Beyaz Yazı */
     box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}
.hero-section .btn-secondary:hover {
    background-color: #F2F2F2; /* Beyaz Zemin */
    color: #111111; /* Siyah Yazı */
}

/* --- 3. DİĞER SAYFA BAŞLIKLARI (AÇIK TEMA) --- */
.page-hero::before {
    background-color: rgba(255, 255, 255, 0.5);
}
.project-hero-final .hero-overlay {
    background: rgba(255, 255, 255, 0.0);
}

/* --- 4. EKİP KARTI IŞIĞI (Açık Gri) --- */
.team-member:hover h3 {
    color: var(--light-text); /* Hover'da renk değişmesin */
}
.team-member:hover .team-role {
    color: var(--gray-text); /* Hover'da renk değişmesin */
}
.team-member:hover img {
    border-color: var(--primary-red);
}

/* --- 5. HİZMETLER SAYISI --- */
.service-number {
    color: rgba(0, 0, 0, 0.04);
}
.service-item:hover .service-number {
    color: rgba(0, 0, 0, 0.08);
}
@media (max-width: 992px) {
    .service-number {
        color: rgba(0, 0, 0, 0.04) !important;
    }
    .service-item:hover .service-number {
        color: rgba(0, 0, 0, 0.06) !important;
    }
}

/* === SON: MONOKROM TEMA DÜZELTMELERİ === */
/* --- HAKKIMIZDA (VİZYON/MİSYON) GÖRSEL YÜKSEKLİK AYARI --- */

#our-vision .about-image,
#our-mission .about-image {
    /* Yatay genişliği koru (orijinal 500px) */
    flex-basis: 500px;
    
    /* Dikey yüksekliği buradan ayarla (örn: 450px) */
    max-height: 450px;
    overflow: hidden; /* Taşanı gizle */
}

#our-vision .about-image img,
#our-mission .about-image img {
    width: 100%;
    height: 100%;       
    object-fit: cover; /* Resmi bozmadan sığdır (kırparak) */
}

/* ----------------------------------------------------------- */
/* === BAŞLANGIÇ: KESİN NAVBAR STİLİ === */

/* KURAL 1: (VARSAYILAN)
   Navbar'ı SİYAH yap (Alt sayfalar için)
*/
.navbar .logo .logo-text,
.navbar .nav-links li a {
    color: var(--light-text); /* Siyah */
}
.navbar .burger div {
    background-color: var(--light-text); /* Siyah */
}
.navbar .nav-links .magic-line {
    background-color: var(--light-text); /* Siyah */
}

/* KURAL 2: (İSTİSNA: ANA SAYFA)
   Eğer 'hero-page' sınıfı varsa VE kaydırılmamışsa, BEYAZ yap.
*/
.hero-page .navbar:not(.scrolled) .logo .logo-text,
.hero-page .navbar:not(.scrolled) .nav-links li a {
    color: #F2F2F2; /* Beyaz */
}
.hero-page .navbar:not(.scrolled) .burger div {
    background-color: #F2F2F2; /* Beyaz */
}
.hero-page .navbar:not(.scrolled) .nav-links .magic-line {
    background-color: #F2F2F2; /* Beyaz */
}

/* KURAL 3: (KAYDIRMA)
   Sayfa kaydırıldığında (tüm sayfalar) SİYAH yap.
*/
.navbar.scrolled .burger div {
    background-color: var(--light-text); /* Siyah */
}

/* === SON: KESİN NAVBAR STİLİ === */
/* ================================================ */
/* === BAŞLANGIÇ: TARİHÇE MOBİL ORTALAMA DÜZELTMESİ === */
/* (Dosyanın en sonuna eklendi) */

@media (max-width: 768px) {

    /* 1. Çizgiyi 'left: 10px' yerine 'left: 50%' (orta) olarak zorluyoruz */
    .timeline-container::after,
    .timeline-container::before {
        left: 50% !important; 
        margin-left: -2px; /* 4px genişliğindeki çizginin yarısı */
    }

    /* 2. Tüm kutucukların genişliğini %50 yapıyoruz */
    .timeline-item {
        width: 50%;
        /* Eski 'padding-left: 40px' kuralını sıfırlıyoruz */
        padding-left: 15px; 
        padding-right: 15px;
    }

    /* 3. Soldaki kutucuklar (1, 3, 5...) */
    .timeline-item:nth-child(odd) {
        left: 0; /* Zaten solda */
        padding-right: 30px; /* Çizgiye boşluk bırak */
        text-align: left; /* Yazıyı sağa yasla (daha iyi görünüm için) */
    }

    /* 4. Sağdaki kutucuklar (2, 4, 6...) */
    .timeline-item:nth-child(even) {
        left: 50% !important; /* 'left: 0%' kuralını ezip sağa alıyoruz */
        padding-left: 30px; /* Çizgiye boşluk bırak */
        text-align: left; /* Yazıyı sola yasla (varsayılan) */
    }

    /* 5. Noktaları tekrar çizginin üzerine hizalıyoruz */
    .timeline-dot {
        left: auto !important; /* 'left: 2px' kuralını sıfırla */
        right: -8px !important; /* Soldaki kutu için (çizginin sağı) */
    }
    
    .timeline-item:nth-child(even) .timeline-dot {
        left: -8px !important; /* Sağdaki kutu için (çizginin solu) */
        right: auto !important;
    }

} /* <-- Bu kapanış parantezi çok önemlidir */

/* === SON: TARİHÇE DÜZELTMESİ === */
/* ================================================ */
/* === BAŞLANGIÇ: FİNAL PROJE KARTI MOBİL DÜZELTMESİ (DİKEY ORTALI) === */
/* (Bu kod, 'projects.html' dosyasının ORİJİNAL halini varsayar) */

@media (max-width: 768px) {

    /* 1. Overlay katmanını (blur alanı) her zaman görünür yap,
       ama DOKUNULMAYINCA şeffaf olsun */
    .project-card .project-card-hover-overlay {
        opacity: 1 !important; /* HER ZAMAN GÖRÜNÜR */
        background: transparent !important; /* Ama şeffaf */
        backdrop-filter: none !important; /* Blur yok */
        transition: background 0.4s ease, backdrop-filter 0.4s ease;
    }

    /* 2. Başlığı (h3) al ve onu her zaman görünür yap.
       (GÜNCELLENDİ: DİKEY VE YATAY ORTALI) */
    .project-card .project-card-hover-overlay h3 {
        /* Görünürlük (ana katman zaten görünür) */
        opacity: 1 !important; 
        transition: opacity 0.3s ease !important; /* Kaybolma efekti için eklendi */

        /* Konumlandırma (DİKEY/YATAY ORTA) */
        position: absolute;
        top: 50%; /* DİKEYDE ORTALA */
        left: 50%;
        width: 90%; /* Kartın %90 genişliğini kapla */
        transform: translate(-50%, -50%) !important; /* Tam ortala */
        text-align: center; /* Metni ortala */
        
        /* Stil */
        font-size: 1.6rem;
        color: #F2F2F2;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
        margin-bottom: 0;
    }

    /* 3. Detay linkini (a) BAŞLANGIÇTA GİZLE
       ve tam ortaya konumlandır */
    .project-card .project-details-link {
        opacity: 0 !important; /* BAŞTA GİZLİ */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) !important; 
        transition: opacity 0.3s ease !important;
    }

    /* 4. Mobilde "hover" (tap) anında:
       Blur efektini ve arkaplanı GERİ GETİR */
    .project-card:hover .project-card-hover-overlay {
        background: rgba(255, 255, 255, 0.3) !important;
        backdrop-filter: blur(4px) !important;
    }

    /* 5. Mobilde "hover" (tap) anında:
       Başlığı (h3) GİZLE */
    .project-card:hover .project-card-hover-overlay h3 {
        opacity: 0 !important; /* BAŞLIĞI GİZLE */
    }

    /* 6. Mobilde "hover" (tap) anında:
       GİZLİ olan linki GÖRÜNÜR YAP */
    .project-card:hover .project-details-link {
        opacity: 1 !important; /* LİNKİ GÖSTER */
        transition-delay: 0.1s !important;
    }
    /* === ALT SAYFA BAŞLIK (H1) MOBİL FONT KÜÇÜLTME === */
.page-hero-content h1 {
    font-size: 2.0rem; /* Yazıyı tek satıra sığdırmak için küçültüyoruz */
}

}
/* === SON: FİNAL PROJE KARTI MOBİL DÜZELTMESİ (DİKEY ORTALI) === */
/* === BAŞLANGIÇ: PROJELER SAYFASI BAŞLIK KONUM DÜZELTMESİ === */
/* (Dosyanın en sonuna eklendi) */

/* Sadece Projeler sayfasındaki (arka planı düz renk olan) 
   başlık bölümünü hedefler */
.page-hero[style*="background-color"] .page-hero-content {
    
    /* Dikeyde biraz daha aşağı itmek için üstten boşluk ekle */
    padding-top: 60px; 
}

/* === SON: PROJELER SAYFASI BAŞLIK KONUM DÜZELTMESİ === */
/* === PROJE DETAY BAŞLIĞI OKUNURLUK DÜZELTMESİ (TEXT-SHADOW) === */
.project-hero-final h1 {
    /* Ana başlık için daha güçlü bir gölge */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4); 
}

.project-meta-final,
.project-meta-final li {
    /* Müşteri, Tarih gibi meta verileri için gölge */
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
/* === PROJE DETAY BAŞLIĞI OKUNURLUK DÜZELTMESİ (FİNAL) === */

/* 1. Ana başlığın rengini de BEYAZ yap */
.project-hero-final h1 {
    color: #F2F2F2; /* Beyaz */
}

/* 2. Hem başlığa hem de beyaz meta verilere güçlü bir gölge ekle */
.project-hero-final h1,
.project-meta-final,
.project-meta-final li {
    /* Daha belirgin, koyu bir gölge */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}
/* === BAŞLANGIÇ: MOBİL DOKUNMA VURGUSU (KARE) FİNAL DÜZELTMESİ === */
/* Bu kod, mobil cihazlarda butonlara tıklandığında çıkan 
   istenmeyen vurgu rengini ve odak çerçevesini kaldırır. */

a, button, .btn, .filter-btn, .logo .logo-link,
.scroll-to-top,
input[type="button"], input[type="submit"] {
    -webkit-tap-highlight-color: transparent !important; 
}

a:focus, button:focus, .btn:focus, .filter-btn:focus,
.logo .logo-link:focus, .scroll-to-top:focus {
    outline: none !important; 
    box-shadow: none !important;
}
/* === SON: MOBİL DOKUNMA VURGUSU (KARE) FİNAL DÜZELTMESİ === */
/* --- MOBİL MENÜ AÇIKKEN 'YUKARI ÇIK' BUTONUNU GİZLEME DÜZELTMESİ --- */
body.no-scroll .scroll-to-top {
    /* Butonun .visible sınıfından gelen kuralları ezmek için !important gerekir */
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
}
/* Footer'daki 'Muhammed ÖRS' linkini stillendirme */
.footer .footer-copy a {
    font-weight: 700; /* Yazıyı kalın yapar (önceki adım) */
    color: var(--light-text); /* Rengi net olarak siyah yapar (#111111) */
    transition: color 0.3s ease; /* Renk değişimi için yumuşak geçiş */
}

/* Üzerine gelince rengini değiştirme */
.footer .footer-copy a:hover {
    color: var(--gray-text); /* Rengi gri yapar (#555555) */
}