/* =================================================================== */
/* === 1. DEĞİŞKENLER VE TEMEL AYARLAR === */
/* =================================================================== */
:root {
  --renk-ana: #3b82f6;      /* Kurumsal pembe */
  --renk-ana-koyu: #2563eb; 
  --renk-yazi: #212529;
  --renk-beyaz: #FFFFFF;
  --renk-acik-gri: #f8f9fa;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--renk-yazi);
    overflow-x: hidden; /* Sayfanın sağa kaymasını engeller */
}

/* =================================================================== */
/* === 2. NAVİGASYON VE LOGO (KESİN VE STABİL DÜZEN) === */
/* =================================================================== */

/* Menüdeki yazıların yan yana durmasını garantiler */
.navbar-nav {
    flex-direction: row !important;
    align-items: center;
}

/* LOGO: Yazıları itmemesi için padding kullanıyoruz */
a.navbar-brand {
    padding-left: 40px !important; /* Logoyu sağa kaydırır */
    margin-right: 20px !important;
    display: flex;
    align-items: center;
}

a.navbar-brand img {
    height: 80px !important; /* Menü yüksekliğine uygun ideal boyut */
    width: auto !important;
    min-height: 0 !important; /* Önceki hatalı min-height'ı sıfırlar */
    transition: transform 0.3s ease;
}

/* Menü Linkleri */
.navbar-nav .nav-link {
    padding: 10px 12px !important;
    font-size: 15px !important;
    white-space: nowrap !important; /* Yazıların kırılmasını önler */
}

.navbar-dark .navbar-nav .nav-link {
    color: #ffffff !important;
    opacity: 0.85;
}

.navbar-dark .navbar-nav .nav-link:hover {
    opacity: 1;
}

/* Mobil Düzenleme */
@media (max-width: 991.98px) {
    a.navbar-brand { padding-left: 0 !important; }
    a.navbar-brand img { height: 60px !important; }
    .navbar-nav { flex-direction: column !important; }
}

/* =================================================================== */
/* === 3. ANA SAYFA (HERO) VE GÖRSEL ALANLAR === */
/* =================================================================== */

.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--renk-beyaz);
    background-size: cover;
    background-position: center center;
}

/* Görselin üzerine koyu filtre çekerek yazıları belirginleştirir */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-features .feature-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.hero-features .feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.2);
}

.hero-features .feature-icon {
    font-size: 2rem;
    color: var(--renk-ana);
    margin-bottom: 10px;
}

/* =================================================================== */
/* === 4. BÖLÜM BAŞLIKLARI VE BUTONLAR === */
/* =================================================================== */

.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before, .section-title::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--renk-ana);
    top: 50%;
}
.section-title::before { left: -50px; }
.section-title::after { right: -50px; }

.btn-primary {
    background-color: var(--renk-ana) !important;
    border-color: var(--renk-ana) !important;
    border-radius: 50px;
    padding: 10px 25px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--renk-ana-koyu) !important;
}

/* =================================================================== */
/* === 5. DİĞER SAYFA ÖZELLİKLERİ === */
/* =================================================================== */

/* Teklif Formu Kartları */
.card-teklif {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* Footer Linkleri */
.footer a.btn-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.3s;
}

.footer a.btn-link:hover {
    color: var(--renk-ana);
    padding-left: 5px;
}

/* Başa Dön Butonu */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    display: none;
}

@media (min-width: 992px) {
    .navbar-brand {
        margin-left: -30px; /* Bu değeri artırarak logoyu daha da sağa götürebilirsin */
    }
}
/* ===== MENÜ RENK ZORLAMA ===== */

/* Normal menü rengi */
.navbar-dark .navbar-nav .nav-link {
    color: #ffffff !important;
}

/* Hover (üstüne gelince mavi) */
.navbar-dark .navbar-nav .nav-link:hover {
    color: #4da3ff !important;
}

/* Aktif sayfa (Anasayfa gibi) */
.navbar-dark .navbar-nav .nav-link.active {
    color: #4da3ff !important;
}
.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.6); /* soluk görünüm */
    margin-top: 10px;
}
.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75); /* fazla soluk değil */
    margin-bottom: 8px;
}

.hero-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
}