/* ==========================================================================
   Google Fonts - Outfit
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   Genel Ayarlar & Renk Paleti (Delta Turuncu & Siyah)
   ========================================================================== */
:root {
    --primary: #ff7b00; 
    --primary-hover: #e66a00;
    --dark: #1a1a1a;
    --dark-alt: #2d2d2d;
    --light: #fff9f5; /* Çok hafif krem/sıcak beyaz arka plan */
    --white: #ffffff;
    --text: #4b5563;
    --gray-light: #e5e7eb;
    --shadow: 0 10px 25px rgba(0,0,0,0.05);
    --border-rad: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; } 

body {
    font-family: 'Outfit', system-ui, sans-serif; /* Outfit Fontu Aktif */
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   ÜST BİLGİ BARI (Top Bar)
   ========================================================================== */
.top-bar {
    background-color: var(--dark-alt);
    color: #cccccc;
    font-size: 0.9rem;
    padding: 10px 0;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left { display: flex; gap: 20px; align-items: center; }
.top-bar-left a { color: #cccccc; text-decoration: none; transition: 0.3s; }
.top-bar-left a:hover { color: var(--primary); }
.top-badge {
    background: #5c162b;
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ==========================================================================
   SABİT HEADER & BÜYÜTÜLMÜŞ LOGO
   ========================================================================== */
.site-header {
    position: sticky;
    top: 0;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
    padding: 10px 0; /* Header biraz daha ferah */
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-header .logo img { 
    height: 140px; /* Alttaki logoyla aynı ağırlığa gelmesi için epeyce büyüttük */
    max-height: none;
    display: block;
    margin-top: 5px; /* Yukarıdan hafif boşluk vererek ortaladık */
}
.site-header nav ul { list-style: none; display: flex; gap: 25px; align-items: center;}
.site-header nav ul li a {
    text-decoration: none; color: var(--dark); font-weight: 600; font-size: 16px; transition: 0.3s;
}
.site-header nav ul li a:hover { color: var(--primary); }
.header-btn {
    background: var(--primary); color: var(--white) !important; 
    padding: 12px 28px; border-radius: 30px; font-weight: 700;
}
.header-btn:hover { background: var(--primary-hover); transform: translateY(-2px); }

/* ==========================================================================
   BUTONLAR & İKONLAR
   ========================================================================== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 30px; border-radius: 30px; font-weight: 600; text-decoration: none;
    transition: all 0.3s ease; border: none; cursor: pointer; gap: 10px; font-size: 1.05rem;
}
.btn svg { width: 22px; height: 22px; } /* SVG İkon Boyutları */
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(255, 123, 0, 0.3); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--dark-alt); transform: translateY(-3px); }

/* ==========================================================================
   HERO BÖLÜMÜ (GRADYANT MASKELEME - FADE ETKİSİ)
   ========================================================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background-color: var(--light); 
}

/* --- YENİLENMİŞ HERO FOTOĞRAF MASKELEMESİ --- */
.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%; 
    height: 100%;
    background-image: url('../img/hero-bg.webp');
    background-repeat: no-repeat;
    
    /* GÖRSELİ SIĞDIRMA VE HİZALAMA KODLARI */
    background-size: auto 100%; /* Yüksekliği ekrana tam sığdırır, resmi kesmez */
    background-position: right bottom; /* Mühendisleri sağ alt köşeye tam hizalar, kafalar kesilmez */
    
    /* Maskeleme Efekti */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 40%, rgba(0,0,0,1) 75%);
    mask-image: linear-gradient(to right, transparent 0%, transparent 40%, rgba(0,0,0,1) 75%);
    z-index: 1;
}


.hero .container {
    position: relative;
    z-index: 2; 
    width: 100%; 
}

.hero-content {
    max-width: 650px; /* Yazıların arkası maske sayesinde temiz kalacak */
    padding: 40px 0;
}

.hero-badge {
    display: inline-block; background: #ffe8d6; color: var(--primary);
    padding: 6px 18px; border-radius: 20px; font-weight: 600; font-size: 0.95rem; margin-bottom: 25px;
}
.hero h1 { font-size: 3.2rem; color: var(--dark); line-height: 1.15; margin-bottom: 25px; font-weight: 800;}
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.15rem; margin-bottom: 35px; color: #555; }
.hero-stats { display: flex; gap: 40px; margin-top: 40px; }
.stat-item h3 { font-size: 2.2rem; color: var(--primary); margin-bottom: 5px; font-weight: 800;}
.stat-item p { font-size: 0.95rem; font-weight: 600; color: var(--dark); }

/* ==========================================================================
   ORTAK SAYFA İÇERİK AYARLARI 
   ========================================================================== */
.section { padding: 90px 20px; scroll-margin-top: 130px; }
.section-title { text-align: center; margin-bottom: 50px; max-width: 1250px; margin-left: auto; margin-right: auto; }
.section-title h2 { font-size: 2.8rem; color: var(--dark); margin-bottom: 15px; font-weight: 700;}
.section-title p { color: #6b7280; max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* Kurumsal, Hizmetler ve Diğer bölümler önceki ile tamamen aynı... */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; max-width: 1250px; margin: 0 auto; }
.about-img-wrap { position: relative; }
.about-img-wrap img { width: 100%; border-radius: var(--border-rad); box-shadow: var(--shadow); }
.about-box {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--dark); color: var(--white); padding: 25px;
    border-radius: var(--border-rad); font-weight: bold; font-size: 1.2rem;
}
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px;}
.feature-card {
    display: flex; align-items: flex-start; gap: 15px;
    background: #fffcf9; padding: 25px; border-radius: var(--border-rad);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid #f2e9e1; transition: 0.3s;
}
.feature-card:hover { box-shadow: 0 8px 25px rgba(255, 123, 0, 0.1); }
.feature-icon {
    width: 45px; height: 45px; background: #ffe8d6; color: var(--primary); 
    border-radius: 10px; display: flex; align-items: center; justify-content: center; 
    font-size: 1.4rem; flex-shrink: 0;
}
.feature-text h4 { color: var(--dark); margin-bottom: 5px; font-size: 1.15rem; font-weight: 700;}
.feature-text p { font-size: 0.95rem; color: #6b7280; margin: 0; }

/* Hizmetler ve Hesaplayıcı (Önceki Ayarlar Korundu) */
.services-bg { background-color: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; max-width: 1250px; margin: 0 auto; }
.service-card { position: relative; background: var(--white); border-radius: var(--border-rad); overflow: hidden; box-shadow: var(--shadow); transition: 0.3s; border: 1px solid var(--gray-light); }
.service-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
/* 2. Kart Görsel Yüksekliği Artırıldı */
.service-img { 
    height: 320px; /* Eskiden 200px'di, şimdi kare fotoğrafların kesilmemesi için büyütüldü */
    overflow: hidden; 
    position: relative;
}
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s;}
.service-card:hover .service-img img { transform: scale(1.1); }
.service-badge { position: absolute; top: 15px; left: 15px; background: var(--dark); color: var(--white); padding: 5px 12px; border-radius: 5px; font-size: 0.8rem; font-weight: bold; z-index: 5; }
.service-content { padding: 25px; text-align: center; }
.service-icon { width: 50px; height: 50px; background: #ffe8d6; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: -50px auto 15px; position: relative; z-index: 10; font-size: 1.5rem; }
.service-content h3 { color: var(--dark); margin-bottom: 15px; font-size: 1.3rem; font-weight: 700;}
.service-content p { font-size: 0.95rem; margin-bottom: 20px; }
.service-btn { display: inline-block; padding: 8px 20px; background: #ffe8d6; color: var(--primary); border-radius: 20px; text-decoration: none; font-weight: bold; font-size: 0.9rem; transition: 0.3s; }
.service-card:hover .service-btn { background: var(--primary); color: var(--white); }

.calculator-section { background: var(--dark); color: var(--white); }
.calculator-section .section-title h2 { color: var(--white); }
.calc-container { max-width: 800px; margin: 0 auto; background: var(--dark-alt); padding: 40px; border-radius: var(--border-rad); box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.calc-row { display: flex; gap: 20px; margin-bottom: 25px; }
.calc-group { flex: 1; }
.calc-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.95rem; }
.calc-group input, .calc-group select { width: 100%; padding: 12px 15px; border-radius: 8px; border: none; outline: none; font-size: 1rem; font-family: 'Outfit', sans-serif;}
.calc-standards { margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; }
.standard-box { background: rgba(255,255,255,0.05); padding: 15px; border-radius: 8px; font-size: 0.85rem; }
.standard-box h5 { margin-bottom: 10px; color: var(--primary); font-size: 1rem;}

.site-footer { background: #1a1a1a; color: #cccccc; padding: 60px 0 20px; border-top: 4px solid var(--primary); font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 30px; margin-bottom: 40px; }
.footer-logo img { width: 100%; max-width: 220px; margin-bottom: 15px; }
.footer-col h4 { color: var(--white); font-size: 1.2rem; margin-bottom: 20px; font-weight: 600;}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: #cccccc; text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact p { margin-bottom: 15px; line-height: 1.5; }
.footer-contact strong { color: var(--white); }
.footer-bottom { border-top: 1px solid #333333; padding-top: 20px; display: flex; justify-content: space-between; font-size: 0.9rem; }

/* ==========================================================================
   MOBİL MENÜ BUTONLARI (Masaüstünde Gizli)
   ========================================================================== */
.mobile-actions { display: none; align-items: center; gap: 15px; }
.hamburger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.hamburger span { display: block; width: 25px; height: 3px; background-color: var(--dark); border-radius: 3px; transition: 0.3s; }

.desktop-teklif-btn { display: inline-block; }
.mobile-teklif-btn { display: none; padding: 8px 16px; font-size: 0.85rem; }

/* ==========================================================================
   MODAL (DETAYLI BİLGİ PENCERESİ) STİLLERİ
   ========================================================================== */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7); z-index: 2000;
    align-items: center; justify-content: center; backdrop-filter: blur(4px);
    opacity: 0; transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content {
    background: var(--white); width: 90%; max-width: 550px;
    border-radius: var(--border-rad); overflow: hidden;
    position: relative; box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: translateY(30px); transition: transform 0.3s ease;
}
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close {
    position: absolute; top: 15px; right: 20px; background: transparent;
    border: none; color: var(--white); font-size: 2rem; cursor: pointer;
    z-index: 10; line-height: 1; transition: color 0.3s;
}
.modal-close:hover { color: var(--primary); }
.modal-header {
    background: #3c1e29; /* Görseldeki koyu bordo/kahve tonu */
    padding: 40px 30px 30px; position: relative; border-bottom: 4px solid var(--primary);
}
.modal-badge {
    display: inline-block; background: var(--primary); color: var(--white);
    padding: 5px 12px; border-radius: 5px; font-size: 0.85rem; font-weight: bold;
    margin-bottom: 15px;
}
.modal-header h3 { color: var(--white); font-size: 1.8rem; margin: 0; line-height: 1.3; font-weight: 700; }
.modal-body { padding: 30px; }
.modal-body p { font-size: 1.05rem; color: var(--text); margin-bottom: 25px; line-height: 1.7; }
.modal-info-box {
    background: #fffcf9; border: 1px solid var(--primary); padding: 20px;
    border-radius: 8px;
}
.modal-info-box strong { display: block; color: var(--primary); margin-bottom: 8px; font-size: 0.95rem; }
.modal-info-box p { margin: 0; font-size: 0.9rem; color: #6b7280; line-height: 1.5; }

/* ==========================================================================
   MOBİL UYUM (RESPONSIVE TASARIM)
   ========================================================================== */
@media (max-width: 992px) {
    .top-bar { display: none; } /* Üst bilgi barı mobilde kalkar */
    
    /* Mobil Header Ayarları */
    .site-header { padding: 10px 0; height: auto; }
    .site-header .container { flex-direction: row; justify-content: space-between; align-items: center; }
    .site-header .logo img { height: 65px; } /* Mobilde logo boyutu */
    
    .mobile-actions { display: flex; }
    .desktop-teklif-btn { display: none !important; }
    .mobile-teklif-btn { display: inline-flex; }
    
    /* Açılır Menü Ayarları (Başlangıçta Gizli) */
    #site-nav {
        display: none; 
        position: absolute; top: 100%; left: 0; width: 100%;
        background: var(--white); box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px 0; border-top: 1px solid var(--gray-light);
    }
    #site-nav.active { display: block; } /* JavaScript ile bu class eklenince menü açılır */
    .site-header nav ul { flex-direction: column; gap: 15px; text-align: center; }
    
    /* Mobilde Hero (Giriş) Bölümü */
    .hero { min-height: auto; padding: 50px 20px; text-align: center; }
    .hero-bg-image { opacity: 0.15; -webkit-mask-image: none; mask-image: none; }
    .hero-content { max-width: 100%; margin: 0 auto; padding: 0; }
    .hero-badge { margin: 0 auto 20px; }
    .hero-stats { justify-content: center; flex-wrap: wrap; gap: 20px; }
    div[style*="display: flex; gap: 15px;"] { flex-direction: column; gap: 15px !important; }
    .btn { width: 100%; }

    /* Mobilde Gridlerin Alt Alta Gelmesi */
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-features { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-logo img { margin: 0 auto 15px; display: block; }
    .calc-row, .calc-standards { flex-direction: column; grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .section-title h2 { font-size: 2.2rem; }
    .section { padding: 60px 15px; }
    .services-grid { grid-template-columns: 1fr; }
}
/* ==========================================================================
   BLOG İÇERİK (YAZI OKUMA SAYFASI) ZENGİN METİN STİLLERİ
   ========================================================================== */
.blog-icerik p {
    margin-bottom: 20px;
}

.blog-icerik h2, 
.blog-icerik h3, 
.blog-icerik h4, 
.blog-icerik h5, 
.blog-icerik h6 {
    color: var(--dark);
    margin-top: 35px;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-icerik ul, 
.blog-icerik ol {
    margin-bottom: 25px;
    padding-left: 30px; /* Madde işaretlerinin görünmesi için boşluk */
}

.blog-icerik li {
    margin-bottom: 10px;
}

.blog-icerik strong, 
.blog-icerik b {
    color: var(--dark);
    font-weight: 800;
}

/* Editördeki "Alıntı / Vurgu" (Blockquote) Alanının Şık Tasarımı */
.blog-icerik blockquote {
    border-left: 4px solid var(--primary); /* Delta Turuncu sol çizgi */
    background-color: var(--light); /* Açık krem arka plan */
    padding: 20px 25px;
    margin: 30px 0;
    font-style: italic; /* İtalik yazı stili */
    color: #374151;
    border-radius: 0 8px 8px 0;
}

.blog-icerik blockquote p {
    margin-bottom: 0;
}

.blog-icerik img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}