/* ===========================
   1. GLOBAL & VARIABLES
=========================== */
:root {
    --primary: #1e293b; /* Koyu Lacivert - Kurumsal */
    --accent: #f59e0b; /* Turuncu - Vurgu */
    --accent-hover: #d97706;
    --dark: #0f172a;
    --light-bg: #f8fafc; /* Göz yormayan kırık beyaz */
    --text-body: #64748b;
    --text-head: #1e293b;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%; /* Sayfanın tamamını kaplamasını sağlar */
    margin: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-bg);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
    /* --- Footer'ı aşağı itmek için gereken sihirli kodlar --- */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


main {
    flex: 1; /* Bu kod, içeriğin (main) kalan tüm boşluğu doldurmasını sağlar */
    width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===========================
   2. HEADER / NAVBAR
=========================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent; /* Başlangıçta şeffaf */
    transition: all 0.4s ease;
}

    /* Sayfa aşağı kayınca JS ile eklenecek class */
    .header.scrolled {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow-sm);
        padding: 10px 0;
    }

.nav-wrapper {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: height 0.4s;
}

.header.scrolled .nav-wrapper {
    height: 70px;
}

/* ==========================
   YENİ RESİM LOGO AYARLARI
   ========================== */
.logo {
    display: flex; /* Logoyu dikeyde ortalar */
    align-items: center;
    text-decoration: none; /* Altındaki çizgiyi kaldırır */
    padding: 10px 0; /* Üstten alttan biraz boşluk bırakır */
}

    .logo img {
        height: 80px; /* Logo boyutu (Büyütmek için bunu 90px yapabilirsin) */
        width: auto; /* Genişlik orantılı kalsın */
        display: block; /* Resmin altındaki gizli boşluğu siler */
        transition: all 0.3s ease; /* Boyut değişimleri yumuşak olsun */
    }

/* Mobilde çok büyük durursa diye önlem (İsteğe bağlı) */
@media (max-width: 768px) {
    .logo img {
        height: 60px; /* Telefonda biraz daha kibar dursun */
    }
}

.nav-menu {
    display: flex;
    gap: 40px;
    align-items: center;
}

    .nav-menu a {
        font-size: 15px;
        font-weight: 500;
        color: rgba(255,255,255,0.9);
        position: relative;
    }

.header.scrolled .nav-menu a {
    color: var(--primary);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-btn {
    padding: 12px 24px;
    background: var(--accent);
    color: var(--white) !important;
    border-radius: 50px; /* Modern yuvarlak buton */
    font-weight: 600;
    transition: transform 0.3s box-shadow 0.3s !important;
}

    .nav-btn:hover {
        background: var(--accent-hover);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    }

    .nav-btn::after {
        display: none !important;
    }

/* ===========================
   HAMBURGER TO X ANIMATION
=========================== */
.menu-toggle {
    display: none; /* Masaüstünde gizli */
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001; /* Menüden önde dursun */
}

    .menu-toggle span {
        width: 30px;
        height: 3px;
        background: var(--dark); /* Veya senin temana göre --primary */
        border-radius: 3px;
        transition: all 0.4s ease-in-out; /* Dönüşüm animasyonu */
        transform-origin: center;
    }

/* Header scroll olunca veya koyu zeminde beyaz olsun istersen */
.header.scrolled .menu-toggle span {
    background: var(--dark);
}

/* --- .open Class'ı Geldiğinde (X Olma Anı) --- */

/* 1. Çizgi: 45 derece dönüp aşağı iniyor */
.menu-toggle.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: var(--accent); /* İstersen X olunca turuncu olsun */
}

/* 2. Çizgi: Ortadaki kayboluyor */
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px); /* Hafif sola kayarak yok olsun */
}

/* 3. Çizgi: -45 derece dönüp yukarı çıkıyor */
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: var(--accent);
}

/* Mobilde menü butonunu görünür yap */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
}

/* ===========================
   3. HERO SECTION
=========================== */
.hero {
    position: relative;
    height: 100vh; /* Tam ekran */
    background: url('/images/hero.jpg') center/cover no-repeat fixed; /* Parallax effect */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0; /* Header fixed olduğu için margin yok */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding-top: 60px;
    animation: fadeUp 1s ease-out;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 20px;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    padding: 16px 40px;
    background: var(--accent);
    color: var(--white);
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
    transition: 0.3s;
}

    .btn-primary:hover {
        background: var(--accent-hover);
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(245, 158, 11, 0.4);
    }

/* ===========================
   4. SECTIONS & TITLES
=========================== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-head);
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: "";
        display: block;
        width: 60px;
        height: 4px;
        background: var(--accent);
        margin: 10px auto 0;
        border-radius: 2px;
    }

/* ===========================
   5. SERVICES (Hizmetler)
=========================== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
        border-color: var(--accent);
    }

    .service-card i {
        font-size: 48px;
        color: var(--accent);
        margin-bottom: 24px;
        display: inline-block;
        transition: 0.3s;
    }

    .service-card:hover i {
        transform: scale(1.1);
    }

    .service-card h3 {
        font-size: 22px;
        margin-bottom: 16px;
        color: var(--text-head);
    }

/* ===========================
   6. ABOUT SECTION
=========================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 24px;
    color: var(--text-head);
    line-height: 1.2;
}

.about-text p {
    font-size: 17px;
    margin-bottom: 30px;
    color: var(--text-body);
}

.about-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    transition: 0.3s;
}

.about-image:hover img {
    transform: scale(1.02);
}

.btn-secondary {
    padding: 14px 32px;
    border: 2px solid var(--text-head);
    color: var(--text-head);
    border-radius: 50px;
    font-weight: 600;
    transition: 0.3s;
}

    .btn-secondary:hover {
        background: var(--text-head);
        color: var(--white);
    }

/* ===========================
   7. PROJECTS
=========================== */
.projects {
    background: var(--white);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.project-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

    .project-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .project-card:hover img {
        transform: scale(1.1);
    }

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px 20px 20px;
    color: white;
    transform: translateY(10px);
    opacity: 0.9;
    transition: 0.3s;
}

.project-card:hover .project-info {
    transform: translateY(0);
    opacity: 1;
}

/* ===========================
   8. FOOTER (YENİLENMİŞ - DAHA YATAY)
=========================== */
.footer {
    background: var(--dark);
    color: #94a3b8;
    padding: 50px 0 20px; /* Üst/Alt boşluk azaltıldı */
    border-top: 4px solid var(--accent);
    font-size: 14px; /* Genel yazı boyutu bir tık küçültüldü */
}

.footer-grid {
    display: grid;
    /* Masaüstünde: İlk sütun geniş (2fr), diğerleri eşit (1fr) */
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start; /* İçerikleri yukarı hizala */
}

/* Footer Başlıkları */
.footer h3 {
    color: var(--white);
    font-size: 20px; /* Başlık küçültüldü */
    margin-bottom: 15px;
    font-weight: 700;
}

    .footer h3 span {
        color: var(--accent);
    }

.footer h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer Linkler ve Yazılar */
.footer p {
    line-height: 1.6;
    margin-bottom: 0;
    max-width: 90%; /* Yazının çok yayılmasını engeller */
}

.footer ul li {
    margin-bottom: 8px; /* Liste elemanları arası boşluk azaltıldı */
}

    .footer ul li a {
        transition: 0.2s;
        display: inline-block;
        color: #cbd5e1;
    }

        .footer ul li a:hover {
            color: var(--accent);
            transform: translateX(3px); /* Sağa kayma efekti */
        }

    .footer ul li i {
        color: var(--accent);
        width: 20px;
        text-align: center;
        margin-right: 8px;
    }

/* Sosyal Medya İkonları - Daha Minimal */
.socials {
    display: flex;
    gap: 10px;
}

    .socials a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: rgba(255,255,255,0.08);
        border-radius: 8px; /* Yuvarlak yerine hafif kare */
        color: var(--white);
        transition: 0.3s;
        font-size: 14px;
    }

        .socials a:hover {
            background: var(--accent);
            color: var(--white);
            transform: translateY(-2px);
        }

/* Alt Telif Kısmı */
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between; /* Yazıyı ve copyright'ı iki uca atar */
    align-items: center;
    flex-wrap: wrap;
}

    .footer-bottom p {
        font-size: 13px;
        opacity: 0.8;
    }

/* ===========================
   FOOTER RESPONSIVE
=========================== */
@media (max-width: 992px) {
    /* Tablette 2 sütunlu yapı */
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    /* Mobilde tek sütun */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 48px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s;
    }

        .nav-menu.active {
            right: 0;
        }

        .nav-menu a {
            color: var(--dark);
            font-size: 20px;
        }

    .nav-btn {
        width: 80%;
        text-align: center;
    }

    .hero h1 {
        font-size: 36px;
    }
}

/* Animasyon */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===========================
   PAGE HEADER (Alt Sayfalar İçin)
=========================== */
.page-header {
    position: relative;
    height: 350px; /* Ana sayfadan daha kısa */
    background: url('/images/hero.jpg') center/cover no-repeat; /* Aynı görseli veya başkasını kullanabilirsin */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: 0;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8); /* Koyu perde */
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
    animation: fadeUp 0.8s ease-out;
}

.page-header h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header p {
    font-size: 18px;
    color: #cbd5e1;
}

/* ===========================
   ABOUT CONTENT
=========================== */
.about-grid-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lead-text {
    font-size: 18px;
    color: var(--text-head);
    font-weight: 500;
    margin-bottom: 20px;
}

/* Görsel Alanı ve Tecrübe Rozeti */
.about-img-wrapper {
    position: relative;
}

    .about-img-wrapper img {
        border-radius: var(--radius);
        box-shadow: var(--shadow-lg);
        width: 100%;
    }

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--accent);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow-md);
    min-width: 140px;
}

    .experience-badge .years {
        display: block;
        font-size: 32px;
        font-weight: 800;
        line-height: 1;
    }

    .experience-badge .text {
        font-size: 14px;
        font-weight: 500;
    }

/* Liste Tasarımı */
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: var(--text-head);
}

    .feature-item i {
        color: var(--accent);
        font-size: 20px;
    }

/* ===========================
   VISION & MISSION CARDS
=========================== */
.vm-section {
    background: var(--light-bg); /* Hafif gri arka plan */
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.vm-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: 0.3s;
    border-bottom: 4px solid transparent;
}

    .vm-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
        border-bottom-color: var(--accent);
    }

.icon-box {
    width: 70px;
    height: 70px;
    background: rgba(245, 158, 11, 0.1); /* Turuncunun çok açığı */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: 0.3s;
}

.vm-card:hover .icon-box {
    background: var(--accent);
}

    .vm-card:hover .icon-box i {
        color: var(--white);
    }

.icon-box i {
    font-size: 30px;
    color: var(--accent);
    transition: 0.3s;
}

.vm-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-head);
}

.vm-card p {
    color: var(--text-body);
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .about-grid-modern {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        right: 20px; /* Mobilde biraz içeri al */
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }
}
/* ===========================
   PROJECTS PAGE STYLES
=========================== */

/* Filtre Butonları */
.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-weight: 600;
    color: var(--text-head);
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
}

    .filter-btn:hover,
    .filter-btn.active {
        background: var(--accent);
        border-color: var(--accent);
        color: var(--white);
        transform: translateY(-2px);
    }

/* Grid Yapısı */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

/* Proje Kartı */
.portfolio-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 300px;
    box-shadow: var(--shadow-md);
    animation: fadeUp 0.6s ease-out;
}

.portfolio-wrap {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

    .portfolio-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.portfolio-item:hover .portfolio-wrap img {
    transform: scale(1.1);
}

/* Hover Info (Overlay) */
.portfolio-info {
    position: absolute;
    bottom: -100%; /* Başlangıçta aşağıda gizli */
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.9); /* Lacivert şeffaf */
    padding: 20px;
    transition: 0.4s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.portfolio-item:hover .portfolio-info {
    bottom: 0; /* Hover olunca yukarı çıkar */
}

.portfolio-info h4 {
    font-size: 18px;
    color: var(--white);
    margin: 0;
    font-weight: 600;
}

.portfolio-info p {
    font-size: 14px;
    color: var(--accent); /* Turuncu */
    margin: 5px 0 0 0;
}

.details-link {
    width: 40px;
    height: 40px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    transition: 0.3s;
}

    .details-link:hover {
        background: var(--accent);
        color: var(--white);
    }

/* Gizleme/Gösterme Animasyonu */
.portfolio-item.hidden {
    display: none;
}
/* ===========================
   SERVICES PAGE STYLES
=========================== */

.services-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: 0.3s ease;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    /* Kartın üzerine gelince kenarlık ve gölge değişimi */
    .service-box:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-lg);
        border-color: var(--accent);
    }

    /* Arka planda silik numara efekti (Opsiyonel süsleme) */
    .service-box::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 4px;
        height: 0;
        background: var(--accent);
        transition: 0.4s;
    }

    .service-box:hover::before {
        height: 100%;
    }

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: 0.3s;
}

.service-box:hover .icon-wrapper {
    background: var(--accent);
    transform: rotateY(180deg); /* İkon dönme efekti */
}

.icon-wrapper i {
    font-size: 32px;
    color: var(--accent);
    transition: 0.3s;
}

.service-box:hover .icon-wrapper i {
    color: var(--white);
    transform: rotateY(-180deg); /* İkonu düzeltmek için */
}

.service-box h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--text-head);
    font-weight: 700;
}

.service-box p {
    color: var(--text-body);
    font-size: 15px;
    line-height: 1.6;
}

/* ===========================
   PROCESS SECTION (Nasıl Çalışıyoruz?)
=========================== */
.process-section {
    background: var(--primary); /* Koyu Lacivert */
    color: var(--white);
    position: relative;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.process-step {
    position: relative;
    padding-top: 20px;
}

    /* Adımlar arasındaki çizgi */
    .process-step::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: rgba(255,255,255,0.2);
    }

    /* Son adımda çizgi olmasın */
    .process-step:last-child::after {
        display: none;
    }

.step-number {
    font-size: 40px;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    margin-bottom: 10px;
    transition: 0.3s;
}

.process-step:hover .step-number {
    color: var(--accent);
    transform: scale(1.1);
}

.process-step h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--white);
}

.process-step p {
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

/* ===========================
   MINI CTA
=========================== */
.cta-mini {
    background: var(--light-bg);
    padding: 60px 0;
}

.cta-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-left: 5px solid var(--accent);
}

.cta-text h3 {
    font-size: 24px;
    color: var(--text-head);
    margin-bottom: 5px;
}

.cta-text p {
    color: var(--text-body);
    margin: 0;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .process-grid {
        grid-template-columns: 1fr 1fr; /* Tablette 2'li */
    }

    .process-step::after {
        display: none;
    }
    /* Mobilde çizgiyi kaldır */
}

@media (max-width: 768px) {
    .cta-flex {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
    /* Mobilde tekli */
}
/* ===========================
   CONTACT PAGE STYLES
=========================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Bilgi kısmı dar, form geniş */
    gap: 0; /* Arada boşluk yok, yapışık duracaklar */
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden; /* Köşelerin yuvarlak kalması için */
    margin-top: -50px; /* Hero'nun üzerine hafif çıkma efekti (Opsiyonel) */
    position: relative;
    z-index: 10;
}

/* --- SOL TARA (BİLGİ) --- */
.contact-info-box {
    background: var(--primary); /* Koyu Lacivert */
    padding: 50px;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .contact-info-box h3 {
        font-size: 28px;
        margin-bottom: 20px;
        color: var(--white);
    }

.info-desc {
    color: #cbd5e1;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

    .info-item .icon {
        width: 50px;
        height: 50px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 20px;
        font-size: 20px;
        color: var(--accent); /* Turuncu İkon */
        flex-shrink: 0;
    }

    .info-item .details h4 {
        font-size: 18px;
        margin-bottom: 5px;
        color: var(--white);
    }

    .info-item .details p {
        color: #cbd5e1;
        margin: 0;
        font-size: 15px;
    }

/* Sosyal İkonlar (İletişim sayfasında) */
.contact-socials h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 15px;
}

    .social-icons a {
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255,255,255,0.3);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        transition: 0.3s;
    }

        .social-icons a:hover {
            background: var(--accent);
            border-color: var(--accent);
            transform: translateY(-3px);
        }

/* --- SAĞ TARAF (FORM) --- */
.contact-form-box {
    padding: 50px;
    background: var(--white);
}

    .contact-form-box h3 {
        font-size: 26px;
        color: var(--text-head);
        margin-bottom: 30px;
        font-weight: 700;
    }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: 500;
        color: var(--text-head);
        font-size: 14px;
    }

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    transition: 0.3s;
    background: #f8fafc;
}

    .form-control:focus {
        outline: none;
        border-color: var(--accent);
        background: var(--white);
        box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
    }

/* --- MAP --- */
.map-section {
    margin-top: 0;
    filter: grayscale(100%); /* Haritayı gri yapar, daha şık durur */
    transition: 0.5s;
}

    .map-section:hover {
        filter: grayscale(0%); /* Üzerine gelince renklenir */
    }

/* RESPONSIVE */
@media (max-width: 991px) {
    .contact-wrapper {
        grid-template-columns: 1fr; /* Mobilde alt alta */
        margin-top: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-info-box, .contact-form-box {
        padding: 30px;
    }
}
/* ===========================
   STICKY WHATSAPP BUTTON
=========================== */
.whatsapp-sticky {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366; /* WhatsApp Yeşili */
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999; /* Her şeyin üstünde dursun */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    /* Nabız Animasyonu */
    animation: whatsappPulse 2s infinite;
}

    .whatsapp-sticky i {
        transition: 0.3s;
    }

    /* Hover Efekti */
    .whatsapp-sticky:hover {
        background-color: #128C7E; /* Koyu WhatsApp Yeşili */
        transform: scale(1.1); /* Biraz büyüsün */
        color: #fff;
        animation: none; /* Üzerine gelince animasyon dursun */
    }

/* Yanındaki "Bize Yazın" Yazısı (Tooltip) */
.tooltip-text {
    position: absolute;
    right: 70px; /* Butonun solunda dursun */
    background-color: #333;
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    opacity: 0; /* Başlangıçta gizli */
    visibility: hidden;
    transition: 0.3s;
    white-space: nowrap;
}

    /* Ok işareti (Küçük üçgen) */
    .tooltip-text::after {
        content: "";
        position: absolute;
        top: 50%;
        right: -6px;
        margin-top: -6px;
        border-width: 6px;
        border-style: solid;
        border-color: transparent transparent transparent #333;
    }

/* Butonun üzerine gelince yazıyı göster */
.whatsapp-sticky:hover .tooltip-text {
    opacity: 1;
    visibility: visible;
    right: 75px; /* Hafif kayarak gelsin */
}

/* NABIZ ANİMASYONU (Keyframes) */
@keyframes whatsappPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobilde biraz daha küçük olsun ve kenara yaklaşsın */
@media (max-width: 768px) {
    .whatsapp-sticky {
        width: 50px;
        height: 50px;
        font-size: 28px;
        bottom: 20px;
        right: 20px;
    }

    /* Mobilde tooltip bazen yer kaplar, gizleyebiliriz */
    .tooltip-text {
        display: none;
    }
}
/* ===========================
   PRIVACY PAGE STYLES
=========================== */

.privacy-page {
    background-color: var(--light-bg); /* Arka planı hafif gri yapalım */
}

.privacy-content-box {
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    max-width: 900px;
    margin: 0 auto; /* Ortala */
}

.last-updated {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 30px;
    font-style: italic;
    border-bottom: 1px solid var(--border);
    padding-bottom: 20px;
}

.privacy-content-box h3 {
    font-size: 24px;
    color: var(--text-head);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

    .privacy-content-box h3:first-of-type {
        margin-top: 0;
    }

.privacy-content-box p {
    color: var(--text-body);
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.8;
}

.privacy-content-box ul {
    list-style: disc; /* Madde işareti koy */
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-body);
}

    .privacy-content-box ul li {
        margin-bottom: 8px;
    }

.contact-highlight {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    margin-top: 20px;
}

/* Responsive Ayar */
@media (max-width: 768px) {
    .privacy-content-box {
        padding: 30px;
    }
}
/* ===========================
   PROJECT MODAL (POP-UP)
=========================== */

/* Arka Plan (Perde) */
.modal-overlay {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 2000; /* Her şeyin üstünde */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Siyah transparan */
    backdrop-filter: blur(5px); /* Arka planı bulanıklaştır */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

    /* Modal Görünür Olduğunda */
    .modal-overlay.show {
        display: flex;
        opacity: 1;
    }

/* İçerik Kutusu */
.modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 900px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
    animation: modalSlideIn 0.4s ease forwards;
}

/* Modal İç Yapısı (Resim + Yazı) */
.modal-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Resim biraz daha geniş */
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

.modal-text {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .modal-text h2 {
        font-size: 32px;
        color: var(--primary); /* Lacivert */
        margin-bottom: 10px;
    }

.modal-subtitle {
    display: inline-block;
    color: var(--accent); /* Turuncu */
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 20px;
}

.modal-text p {
    color: #64748b;
    line-height: 1.7;
    font-size: 16px;
}

/* Kapatma Butonu (X) */
.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #fff; /* Resmin üzerindeyse beyaz, değilse ayarlarız */
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: 0.3s;
}

    .close-modal:hover {
        color: var(--accent);
    }

/* Animasyon */
@keyframes modalSlideIn {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive (Mobil) */
@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr; /* Alt alta olsun */
    }

    .modal-image img {
        height: 250px;
    }

    .modal-text {
        padding: 25px;
    }

    .close-modal {
        top: 10px;
        right: 15px;
    }
}
/* =========================================
   YENİ ARKA PLAN SLIDER STİLLERİ (DÜZELTİLMİŞ)
   ========================================= */

/* 1. Slider Kapsayıcısı */
#background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0; /* -5 YERİNE 0 YAPTIK (Body'nin önüne geçsin) */
    overflow: hidden;
}

/* 2. Tekil Resimler */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2.5s ease-in-out, transform 8s linear;
    transform: scale(1);
}

    .slide.active {
        opacity: 1;
        transform: scale(1.1);
    }

/* 3. Karartma Katmanı */
.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Biraz daha koyulaştırdım, yazılar netleşsin */
    z-index: 1;
}

/* =========================================
   MEVCUT TASARIM DÜZELTMELERİ
   ========================================= */

/* Hero bölümünün arkasını tamamen şeffaf yapıyoruz */
.hero {
    background: none !important; /* Şeffaf */
    background-color: transparent !important;
    position: relative;
    z-index: 2; /* Slider'ın (0) ve Overlay'in (1) üstünde dursun */
    min-height: 100vh;
}

/* Hero içindeki eski overlay varsa gizle */
.hero-overlay {
    display: none !important;
}

/* Diğer bölümlerin arkası beyaz olsun ki slider orada görünmesin */
.section, footer {
    position: relative;
    z-index: 10; /* En üstte */
    background-color: #fff;
}

/* Header (Menü) */
header {
    position: fixed;
    z-index: 100; /* Her şeyin en üstünde */
    width: 100%;
}
/* =========================================
   SERVICES SAYFASI DÜZELTMESİ (Nasıl Çalışıyoruz)
   ========================================= */

.process-section {
    background-color: #1e293b !important; /* Koyu Lacivert Arka Plan */
    color: #fff !important; /* Yazıları Beyaz Yap */
    position: relative;
    z-index: 10;
}

    .process-section p {
        color: #cbd5e1 !important; /* Alt yazıları açık gri yap */
    }