/* wwwroot/css/site.css */

/* Genel Font ve Renk Ayarları */
:root {
    --krizma-primary: #007bff; /* Ana Mavi Renk */
    --krizma-dark: #0d1a2e; /* Koyu Mavi/Siyah */
    --krizma-light-gray: #f8f9fa;
    --krizma-text: #4f4f4f;
    --krizma-heading: #1e293b;
}

html {
    scroll-behavior: smooth;
}

body {
    padding-top: 90px; /* SABİT HEADER İÇİN BOŞLUK EKLENDİ */
    font-family: 'Roboto', sans-serif;
    color: var(--krizma-text);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--krizma-heading);
    font-weight: 700;
}

/* Üst Menü (Navbar) */
.navbar-krizma {
    transition: all 0.3s ease-in-out;
    padding: 1.5rem 1rem;
}

    .navbar-krizma .navbar-brand {
        font-weight: 700;
        font-size: 1.5rem;
    }

/* Hero (Ana Karşılama) Bölümü */
/*.hero-section {
    background: linear-gradient(rgba(13, 26, 46, 0.7), rgba(13, 26, 46, 0.7)), url('/images/hero-bg.jpg');*/ /* wwwroot altına images klasörü açıp arkaplan resmi koyun */
/*background-size: cover;
    background-position: center;
    color: white;
    padding: 12rem 0;
    text-align: center;
}

    .hero-section h1 {
        font-size: 3.5rem;
        font-weight: 900;
        color: white;
    }

    .hero-section p {
        font-size: 1.25rem;
        max-width: 600px;
        margin: 1rem auto;
    }*/

/* Ana Sayfa Slider (Carousel) Stilleri */
.carousel-hero {
    height: 90vh; /* Ekran yüksekliğinin %90'ını kaplar */
}

    .carousel-hero .carousel-item {
        height: 90vh;
    }

        .carousel-hero .carousel-item img {
            height: 100%;
            object-fit: cover; /* Görselin orantısını bozmadan alanı kaplamasını sağlar */
            filter: brightness(50%); /* Görseli karartarak üstündeki yazıyı okunaklı yapar */
        }

    .carousel-hero .carousel-caption {
        top: 50%;
        transform: translateY(-50%);
        bottom: auto;
        text-align: center;
    }

        .carousel-hero .carousel-caption h1 {
            font-size: 3.5rem;
            font-weight: 900;
            color: white;
        }

        .carousel-hero .carousel-caption p {
            font-size: 1.25rem;
            max-width: 700px;
            margin: 1rem auto;
        }
/* Genel Bölüm (Section) Ayarları */
.section {
    padding: 80px 0;
}

/* Özellik Kutuları (Divi Blurb Modülü gibi) */
.feature-box {
    text-align: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

    .feature-box:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .feature-box .icon {
        font-size: 3rem;
        color: var(--krizma-primary);
        margin-bottom: 1.5rem;
        display: inline-block;
        /* Font Awesome için gerekli ayarlar */
        line-height: 1;
    }


/* Buton Stilleri */
.btn-krizma-primary {
    background-color: var(--krizma-primary);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

    .btn-krizma-primary:hover {
        background-color: var(--krizma-dark);
        color: white;
        transform: translateY(-3px);
    }

/* İç Sayfa Başlığı */
.page-header {
    background-color: var(--krizma-light-gray);
    padding: 80px 0;
    text-align: center;
}

    .page-header h1 {
        font-size: 3rem;
    }

/* Footer */
.footer-krizma {
    background-color: var(--krizma-dark);
    color: #adb5bd;
    padding: 60px 0 20px 0;
}

    .footer-krizma h5 {
        color: white;
        margin-bottom: 1.5rem;
    }

    .footer-krizma a {
        color: #adb5bd;
        text-decoration: none;
    }

        .footer-krizma a:hover {
            color: white;
            text-decoration: underline;
        }

    .footer-krizma .list-unstyled li {
        margin-bottom: 0.5rem;
    }

.footer-bottom {
    border-top: 1px solid #343a40;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    font-size: 0.9rem;
}
/* Arka Plan Video Sayfası İçin Stiller */

.video-hero-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Ekranın tamamını kaplaması için */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

#background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-color: rgba(13, 26, 46, 0.6); */ /* Yarı saydam koyu mavi katman */
    z-index: -99;
}

.video-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.video-hero-content p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Sayfanın geri kalanı için içerik alanı */
.project-details-section {
    padding: 80px 0;
}
/* Ses Kontrol Butonu İçin Stiller */
.video-controls {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
}

#unmute-button {
    border-radius: 50%; /* Butonu yuvarlak yapar */
    width: 80px;
    height: 80px;
    padding: 0;
    line-height: 40px;
    text-align: center;
}
/* Hizmetlerimiz Sayfası İçin Özel Stiller */

.service-feature-icon {
    font-size: 2.5rem;
    color: var(--krizma-primary);
    margin-bottom: 1rem;
}

.service-details-section {
    padding: 60px 0;
    border-bottom: 1px solid #eee;
}

    .service-details-section:nth-child(odd) {
        background-color: var(--krizma-light-gray);
    }

.lifecycle-infographic .step {
    text-align: center;
    position: relative;
    padding: 1rem;
}

.lifecycle-infographic .step-icon {
    width: 80px;
    height: 80px;
    background-color: var(--krizma-primary);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--krizma-primary);
}

.lifecycle-infographic .step h5 {
    font-weight: 700;
    color: var(--krizma-heading);
}

/* Adımlar arasına ok eklemek için */
.lifecycle-infographic .step:not(:last-child)::after {
    content: '\f061'; /* Font Awesome Arrow Right */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: -25px;
    top: 40px;
    font-size: 1.5rem;
    color: #ccc;
}

/* Mobil görünümde okları gizle */
@media (max-width: 991.98px) {
    .lifecycle-infographic .step:not(:last-child)::after {
        display: none;
    }
}
/* Hizmetler Sayfası - Yaşam Döngüsü Animasyonu */

/*.lifecycle-infographic .step {*/
/* Animasyon için başlangıç durumu: Görünmez ve hafifçe aşağıda */
/*opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}*/

/* Hover efekti */
/*   .lifecycle-infographic .step:hover {
        transform: translateY(20px) scale(1.05);
        cursor: pointer;
    }*/
/* DÜZELTİLMİŞ KOD BLOKU */
/*.lifecycle-infographic .step:hover {
        transform: translateY(-10px) scale(1.05);*/ /* Hafifçe yukarı kalkması için negatif değer */
/*cursor: pointer;
    }*/


/* JavaScript ile .is-visible sınıfı eklendiğinde animasyonu tetikle */
/*.lifecycle-infographic.is-visible .step {
    opacity: 1;
    transform: translateY(0);
}*/

/* Adımların sırayla gelmesi için gecikme (cascade) efekti */
/*.lifecycle-infographic.is-visible .step:nth-child(1) {
        transition-delay: 0.1s;
    }

    .lifecycle-infographic.is-visible .step:nth-child(2) {
        transition-delay: 0.2s;
    }

    .lifecycle-infographic.is-visible .step:nth-child(3) {
        transition-delay: 0.3s;
    }

    .lifecycle-infographic.is-visible .step:nth-child(4) {
        transition-delay: 0.4s;
    }

    .lifecycle-infographic.is-visible .step:nth-child(5) {
        transition-delay: 0.5s;
    }

    .lifecycle-infographic.is-visible .step:nth-child(6) {
        transition-delay: 0.6s;
    }*/
/* Hizmetler Sayfası - Yaşam Döngüsü Animasyonu (KESİN ÇÖZÜM) */

.lifecycle-infographic .step {
    /* Animasyon için başlangıç durumu */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* JavaScript ile .is-visible sınıfı eklendiğinde animasyonu tetikle */
.lifecycle-infographic.is-visible .step {
    opacity: 1;
    transform: translateY(0);
}

    /* Hover efekti - DAHA ÖNCELİKLİ HALE GETİRİLDİ */
    /* Animasyon bittikten SONRA hover efektinin çalışması için .is-visible ile birleştirildi. */
    .lifecycle-infographic.is-visible .step:hover {
        transform: translateY(-10px) scale(1.10);
        cursor: pointer;
    }

    /* Adımların sırayla gelmesi için gecikme (cascade) efekti */
    .lifecycle-infographic.is-visible .step:nth-child(1) {
        transition-delay: 0.1s;
    }

    .lifecycle-infographic.is-visible .step:nth-child(2) {
        transition-delay: 0.2s;
    }

    .lifecycle-infographic.is-visible .step:nth-child(3) {
        transition-delay: 0.3s;
    }

    .lifecycle-infographic.is-visible .step:nth-child(4) {
        transition-delay: 0.4s;
    }

    .lifecycle-infographic.is-visible .step:nth-child(5) {
        transition-delay: 0.5s;
    }

    .lifecycle-infographic.is-visible .step:nth-child(6) {
        transition-delay: 0.6s;
    }
/* Ana Sayfa - Referanslar Bölümü Stilleri */

.references-section {
    padding: 80px 0;
    background-color: var(--krizma-light-gray);
}

.logo-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}

    .logo-wall img {
        max-height: 100px; /* Logo yüksekliğini standart hale getirir */
        filter: grayscale(100%);
        opacity: 0.7;
        transition: all 0.3s ease-in-out;
    }

        .logo-wall img:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: scale(1.1);
        }

.testimonial-card {
    background-color: white;
    border-left: 5px solid var(--krizma-primary);
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    font-style: italic;
}

    .testimonial-card .client-name {
        font-weight: 700;
        font-style: normal;
        margin-top: 1rem;
        color: var(--krizma-heading);
    }
