/* --- GENEL AYARLAR (LIGHT THEME) --- */
:root {
    --primary-red: #c62828; 
    --primary-dark: #2c3e50; 
    --light-bg: #ffffff;
    --section-bg: #f8f9fa;
    --border-color: #e9ecef;
}

body {
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--primary-dark);
    padding-top: 80px;
    overflow-x: hidden;
}

/* --- SİNEMATİK GİRİŞ EKRANI (GÜNCELLENDİ: BOYUT & EFEKT) --- */
#intro-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(20, 20, 20, 0.85); /* Yarı saydam siyah */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease, visibility 0.5s;
}

/* Kapsayıcı: Logoları ortalamak için */
.intro-logo-container {
    position: relative;
    width: 70%;
    max-width: 550px;
    /* Aspect ratio'yu kaldırıyorum ki logolar kendi orijinal oranlarında rahatça otursun */
    height: 300px; /* Sabit bir yükseklik alanı tanıyalım */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Her iki logo için ortak ayar (GÜNCELLENDİ) */
.intro-img {
    position: absolute;
    /* Genişlik ve yükseklik kısıtlaması ile orantılı sığdırma */
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* Görüntü oranını koru */
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Beyaz Logo (Başlangıç) */
#intro-white {
    opacity: 1;
    transform: scale(1);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.5)); /* Daha hafif gölge */
    z-index: 2;
}

/* Renkli Logo (Başlangıçta Gizli) */
#intro-color {
    opacity: 0;
    transform: scale(0.5);
    filter: brightness(2) blur(5px);
    z-index: 3;
}

/* --- ANİMASYON TETİKLENDİĞİNDE --- */
.intro-active #intro-white {
    opacity: 0;
    transform: scale(1.5);
    filter: blur(10px);
}

/* GÜNCELLENDİ: KİBAR EFEKT */
.intro-active #intro-color {
    opacity: 1;
    transform: scale(1);
    /* Daha kibar, daha az yayılan ışık efekti */
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.6)) brightness(1.05);
}

/* Animasyon bittiğinde gizle */
.intro-finished {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Mobil Ayarı (Intro) */
@media (max-width: 576px) {
    .intro-logo-container { width: 85%; height: 200px; }
}

/* --- DİĞER CSS KURALLARI (AYNI) --- */

/* SOL ENERJİ HATTI */
.energy-line-container {
    position: fixed; top: 0; left: 0; width: 8px; height: 100vh;
    background: #e9ecef; z-index: 9999; border-right: 1px solid #dee2e6;
}
.energy-line-fill {
    width: 100%; height: 0%; background: var(--primary-red);
    box-shadow: 0 0 10px rgba(198, 40, 40, 0.6);
    transition: height 0.1s linear;
    border-bottom-right-radius: 4px; border-bottom-left-radius: 4px;
}

/* NAVBAR */
.navbar {
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
.navbar-brand img { height: 80px; }
.nav-link { color: #444 !important; font-weight: 600; padding: 10px 15px !important; transition: 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--primary-red) !important; }

/* BÖLÜMLER */
.content-section {
    padding: 80px 0; opacity: 0; transform: translateY(30px);
    transition: all 0.8s ease-out;
}
.content-section.visible { opacity: 1; transform: translateY(0); }
.bg-light-gray { background-color: var(--section-bg); }

/* KARTLAR */
.feature-card {
    background: #fff; padding: 40px 30px; border-radius: 12px;
    border: 1px solid var(--border-color); transition: all 0.3s ease; height: 100%;
}
.feature-card:hover {
    transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: var(--primary-red);
}
.icon-box {
    width: 80px; height: 80px; background: rgba(198, 40, 40, 0.1);
    color: var(--primary-red); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px; font-size: 2rem; transition: 0.3s;
}
.feature-card:hover .icon-box { background: var(--primary-red); color: #fff; }

/* GALERİ */
.gallery-item {
    position: relative; overflow: hidden; border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); height: 250px;
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 20px; color: #fff; opacity: 0; transition: 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* BAŞLIKLAR & BUTONLAR */
.section-title { font-weight: 800; color: #222; position: relative; display: inline-block; margin-bottom: 50px; }
.section-title::after { content: ''; display: block; width: 60px; height: 4px; background: var(--primary-red); margin: 15px auto 0; border-radius: 2px; }

.btn-danger {
    background-color: var(--primary-red); border: none; padding: 12px 30px;
    font-weight: 600; border-radius: 50px; box-shadow: 0 4px 15px rgba(198, 40, 40, 0.3);
}
.btn-danger:hover { background-color: #b71c1c; transform: translateY(-2px); }

/* İŞ AKIŞI */
.process-step { position: relative; padding: 30px; text-align: center; }
.step-number { font-size: 4rem; font-weight: 900; color: rgba(0,0,0,0.05); position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 0; }
.step-content { position: relative; z-index: 1; }

/* FOOTER */
footer { background-color: #1a1a1a; color: #fff; padding-top: 80px; border-top: 5px solid var(--primary-red); }
footer a { color: #aaa; text-decoration: none; transition: 0.3s; }
footer a:hover { color: #fff; padding-left: 5px; }
.social-icon { width: 40px; height: 40px; background: #333; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; transition: 0.3s; color: #fff; }
.social-icon:hover { background: #bc1888; transform: rotate(360deg); }

/* --- HIZLI İLETİŞİM ADASI (FAB) --- */
.fab-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

/* Ana Ada Butonu */
.fab-main {
    background-color: var(--primary-red); color: #fff;
    border: none; border-radius: 50px;
    padding: 12px 25px; font-size: 16px; font-weight: 600;
    box-shadow: 0 5px 20px rgba(198, 40, 40, 0.4);
    cursor: pointer; display: flex; align-items: center; gap: 10px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    min-width: 130px; justify-content: center;
    position: relative; z-index: 2;
}
.fab-main:hover { background-color: #b71c1c; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(198, 40, 40, 0.6); }
.fab-main i { font-size: 20px; }
.fab-container.active .fab-main { background-color: #333; box-shadow: 0 5px 20px rgba(0,0,0,0.3); }

/* Alt Butonlar */
.fab-action {
    width: 45px; height: 45px; border-radius: 50%; color: #fff;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; font-size: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    opacity: 0; transform: translateY(20px) scale(0.8); transition: all 0.3s ease;
    pointer-events: none; margin-right: 42px; position: relative;
}
.fab-action::after {
    content: attr(data-tooltip); position: absolute; right: 55px;
    background: rgba(0,0,0,0.8); color: #fff; padding: 5px 10px;
    border-radius: 5px; font-size: 12px; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: 0.2s;
}
.fab-action:hover::after { opacity: 1; right: 60px; }
.fab-container.active .fab-action { opacity: 1; transform: translateY(0) scale(1); pointer-events: all; }

/* Renkler & Animasyon Sırası */
.fab-whatsapp { background-color: #25D366; transition-delay: 0.2s; }
.fab-phone { background-color: #3498db; transition-delay: 0.1s; }
.fab-mail { background-color: #f1c40f; transition-delay: 0s; }

/* --- MOBİL UYUM (RESPONSIVE) --- */
@media (max-width: 992px) {
    .energy-line-container { display: none; }
    .section-title { font-size: 2rem; }
    .display-3 { font-size: 2.5rem; }
    .navbar-collapse {
        background: #fff; padding: 20px; border-radius: 0 0 10px 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    }
}
@media (max-width: 576px) {
    .display-3 { font-size: 2rem; }
    .content-section { padding: 50px 0; }
    .feature-card { margin-bottom: 15px; }
    .fab-container { bottom: 10px; right: 10px; }
    .fab-main { padding: 10px 20px; font-size: 14px; min-width: 110px; }
    .fab-action { width: 40px; height: 40px; margin-right: 35px; font-size: 18px; }
}