body, h1, p, .btn-primary {
    font-family: 'Montserrat', sans-serif;
}

/* Genel Sıfırlama  */
* { margin: 0; padding: 0; box-sizing: border-box;  }
body { background-color: #f8f9fa; color: #333; line-height: 1.6; }

/* Renk Paleti */
:root {
    --primary-color: #ffcc00; /* İş makinesi sarısı */
    --secondary-color: #1a1a1a; /* Koyu gri/siyah */
    --text-on-dark: #ffffff;
    --card-bg: #ffffff;
}

/* Header */
/* Header */
header { 
    background: var(--secondary-color); 
    color: var(--text-on-dark); 
    padding: 0 5%; /* Yukarı-aşağı boşluğu sıfırlayıp height ile kilitleyeceğiz */
    position: fixed; 
    width: 100%; 
    top: 0; 
    z-index: 1000; 
    height: 70px; /* Yüksekliği 70px olarak mühürledik */
    box-shadow: 0 2px 10px rgba(0,0,0,0.3); 
}

.navbar { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 100%; /* İçeriği dikeyde 70px'e göre tam ortalar */
}
.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary-color); }
.nav-links { list-style: none; display: flex; gap: 25px; }
.nav-links a { color: var(--text-on-dark); text-decoration: none; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--primary-color); }

/* Logo Ana Kutusu (Menü barın yüksekliğini burası korur) */
.logo {
    position: relative;
    width: 130px;  /* Logo için menüde güvenli bir genişlik ayırıyoruz */
    height: 40px;  /* Menü barının yüksekliğini bu sınırda kilitliyoruz, bar UZAYAMAZ */
    display: flex;
    align-items: center;
}

/* 🚀 BAĞIMSIZ LOGO TASARIMI (Menüyü asla etkilemez) */
.logo img {
    position: absolute;
    top: 50%;      /* Menü yüksekliğinin tam ortasına çıpalanır */
    left: 0;
    /* Menü barı incelse bile resim 95px boyutunda net ve büyük kalır */
    height: 95px;  
    width: auto;
    object-fit: contain;
    
    /* 💎 SİHİRLİ HİZALAMA VE TAŞMA:
       İlk değer (-50%) resmi dikeyde tam ortalar, 
       yanındaki +15px ise logoyu menüyü bozmadan aşağı doğru taşırır. */
    transform: translateY(-50%) translateY(15px); 
    
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.55));
    z-index: 9999; /* Sayfa kaysa bile logonun hep en üstte kalmasını sağlar */
    transition: all 0.3s ease;
}

/* Fareyle üzerine gelindiğinde tatlı bir büyüme efekti */
.logo img:hover {
    transform: translateY(-50%) translateY(15px) scale(1.05);
    filter: drop-shadow(0 12px 25px rgba(255, 0, 0, 0.25)); /* Kurumsal kırmızı vurgu */
}
/* Hero Bölümü (Arka Plan Resimli) */
.hero-section {
    position: relative;
    height: 100vh;
    background: url('images/hero-bg.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 60px;
    /* Görseli biraz daha vurgulu hale getirmek için kontrast ayarı */
    filter: contrast(1.1); 
}

/* Koyu katmanı biraz daha zenginleştirdik (linear-gradient) */
.hero-overlay { 
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7)); 
}

.hero-content { 
    position: relative; 
    z-index: 1; 
    color: #fff; 
    padding: 20px; 
}

/* Başlığı "Büyük ve Vurgulu" yapalım */
.hero-content h1 { 
    font-size: 4rem; /* Daha iddialı */
    margin-bottom: 25px; 
    font-weight: 900; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    text-shadow: 3px 3px 10px rgba(0,0,0,0.6);
    line-height: 1.1;
}

/* Alt başlığı daha hafif ve okunabilir yapalım */
.hero-content p { 
    font-size: 1.4rem; 
    margin-bottom: 40px; 
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Butonu "CTA" (Çağrı) odaklı yapalım */
.btn-primary { 
    padding: 18px 45px; 
    background: #ff9800; /* Daha canlı bir turuncu/sarı */
    color: #fff; 
    text-decoration: none; 
    font-weight: 800; 
    border-radius: 50px; /* Daha modern yuvarlak hatlar */
    transition: all 0.4s ease; 
    text-transform: uppercase; 
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border: none;
    font-size: 1rem;
}

.btn-primary:hover { 
    background: #e68900; 
    transform: scale(1.05); /* Üzerine gelince biraz büyümesi daha dinamik durur */
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

/* Hizmetlerimiz (Kartlar) */
.services-section { 
    padding: 80px 5%; 
    background: #eee; 
    
    /* 🚀 TAKILMAYI ÖNLER: Ağır şantiye fotoğrafları ekrana tam yaklaşana kadar tarayıcının işlemcisini boşa yormasını engeller */
    content-visibility: auto;
    contain-intrinsic-size: 1200px; 
}

.services-section h2 { text-align: center; margin-bottom: 50px; font-size: 2.5rem; color: var(--secondary-color); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px; /* Alttaki banner ile araya mesafe */
} /* Yarım kalan parantezi kapattık */

/* YENİ: Özel Projeler Şeridi CSS */
.custom-projects-banner {
    background: linear-gradient(135deg, #111111 0%, #222222 100%);
    border-left: 5px solid var(--primary-color); /* Sol tarafa kurumsal sarı çizgi */
    border-radius: 12px;
    padding: 40px 50px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.banner-text span {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.banner-text h2 {
    color: white;
    font-size: 28px;
    margin-bottom: 10px;
}

.banner-text p {
    color: #aaa;
    font-size: 16px;
    max-width: 800px;
    line-height: 1.6;
}
/* Premium Buton Tasarımı */
.banner-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-color);
    color: #000;
    padding: 18px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    white-space: nowrap;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.2);
}

.banner-btn:hover {
    background: white;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.2);
}

.banner-btn i {
    transition: transform 0.3s ease;
}

.banner-btn:hover i {
    transform: translateX(3px);
}
/* Kart Tasarımı ve Animasyon */
.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    
    /* 4'lü ve 3'lü düzeni sağlayan sihirli formül */
    flex: 0 1 calc(25% - 23px); /* Büyük ekranlarda yan yana tam 4 tane sığdırır */
    min-width: 280px; /* Ekran küçüldükçe kartların çok daralmasını engeller */
}
/* Mobil Uyum (Responsive) */
@media (max-width: 968px) {
    .banner-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
    .banner-btn {
        width: 100%;
        justify-content: center;
    }
    .custom-projects-banner {
        padding: 30px;
    }
}
.service-card:hover {
    transform: translateY(-10px) scale(1.02); /* Yukarı kalkma ve büyüme */
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.card-image { 
    height: 200px; 
    overflow: hidden; 
    background-color: #f5f5f5; 
}

.card-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease; /* Senin zoom efektin */
    will-change: transform; 
    
    /* 🚀 KASMA VE TİTREMEYİ BİTİREN DONANIMSAL GÜÇ: */
    transform: translateZ(0);     /* Tarayıcıya bu resmi 3D katman olarak işletir, yükü işlemciden alıp ekran kartına verir */
    backface-visibility: hidden;  /* Arka plandaki görünmeyen piksellerin hesaplanmasını kapatarak scrollu rahatlatır */
}

.service-card:hover .card-image img {
    transform: scale(1.1); /* Senin hover efektin */
}

/* Sayfa aşağı kayarken AOS animasyonunun işlemciyi kilitlememesi için bunu da ekle */
.service-card {
    will-change: transform, opacity; /* Ekran kartı (GPU) desteğini kartın kendisine de tanımlıyoruz */
}
.card-content { padding: 25px; }
.card-content h3 { margin-bottom: 10px; color: var(--secondary-color); font-size: 1.4rem; }
.card-content p { color: #666; font-size: 1rem; }

/* ========================================== */
/* YENİ NESİL İLETİŞİM VE HARİTA BÖLÜMÜ      */
/* ========================================== */


/* ========================================== */
/* İLETİŞİM BÖLÜMÜ - SARSILMAZ KESİN ÇÖZÜM    */
/* ========================================== */
#iletisim {
    background-color: #141414;
    color: #ffffff;
    box-sizing: border-box;
    padding-top: 80px;
    padding-bottom: 80px;
    /* Bu satır, sayfa ne kadar kısa olursa olsun footer'ın 
       zıplamasını engellemek için bölüme nefes aldırır */
    min-height: 80vh; 
}

/* Form ve Haritayı Yan Yana Getiren 2 Kolonlu Grid Yapısı */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%; /* Genişliğin tam yayılmasını garanti eder */
}

/* Sol Blok: Form Alanı */
.contact-form-block h2 {
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.contact-form-block p {
    color: #aaaaaa;
    margin-bottom: 30px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #dddddd;
}

/* Yeni Modern Girdi Alanları (Sadece bu forma özel) */
.form-group input, 
.form-group textarea {
    width: 100%;
    padding: 15px;
    background-color: #1f1f1f;
    border: 2px solid #2a2a2a;
    border-radius: 6px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* 🚀 ODAKLANMA EFEKTİ: Logondaki o dinamik kırmızı parlaması */
.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #e31e24; 
    box-shadow: 0 0 12px rgba(227, 30, 36, 0.25);
    background-color: #252525;
}

/* Güçlü ve Kaslı Gönder Butonu */
.submit-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e31e24, #b51217); /* Kırmızı tonlu kurumsal geçiş */
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.3);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(227, 30, 36, 0.5);
    background: linear-gradient(135deg, #ff242b, #e31e24);
}
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Sağ Blok: Harita Çerçevesi */
.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid #2a2a2a;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin-bottom: 25px;
}

.map-wrapper iframe {
    display: block;
}

/* İletişim Bilgileri Listesi */
.info-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #1f1f1f;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #e31e24; /* Sol kırmızı şerit vurgusu */
}

.info-item i {
    font-size: 20px;
    color: #e31e24;
    width: 25px;
    text-align: center;
}

.info-item p {
    margin: 0;
    font-size: 14px;
    color: #cccccc;
}

.info-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s;
}

.info-item a:hover {
    color: #e31e24;
}

/* 📱 MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr; /* Mobilde alt alta düşer */
        gap: 40px;
    }
    .contact-section {
        padding: 60px 5%;
    }
}
/* ========================================== */
/* PREMIUM FOOTER TASARIMI                    */
/* ========================================== */
.main-footer {
    background-color: #0d0d0d;
    color: #aaaaaa;
    padding: 60px 6% 20px 6%;
    border-top: 3px solid #e31e24;
    position: relative;
    z-index: 1;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Sol sütun tanım için daha geniş */
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h3 {
    color: #ffffff;
    font-size: 22px;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 8px;
}

/* Başlıkların altına küçük kırmızı çizgi efekti */
.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2px;
    background-color: #e31e24;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 10px;
}

.footer-col i {
    color: #e31e24; /* İkonlar kırmızı parlasın */
    margin-right: 8px;
}

/* Hızlı Link Listesi */
.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaaaaa;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff; /* Üzerine gelince beyazlasın */
    padding-left: 5px; /* Hafif sağa kaysın (dinamik efekt) */
}

/* En Alt Siyah Şerit */
.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #1a1a1a;
    text-align: center;
    font-size: 13px;
    color: #666666;
}

/* 📱 MOBİL UYUMLULUK */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr; /* Mobilde her sütun tek sıra olur */
        gap: 30px;
    }
    .main-footer {
        padding: 40px 5% 20px 5%;
    }
}
/* Neden Biz Bölümü */
.why-us { padding: 80px 5%; background: #ffffff; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.feature-card { padding: 30px; border: 2px solid var(--primary-color); border-radius: 10px; text-align: center; transition: 0.3s; }
.feature-card:hover { background: var(--primary-color); color: var(--secondary-color); }


.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 2000;
    transition: 0.3s;
}
.whatsapp-btn:hover { transform: scale(1.1); }

/* Animasyonlar sırasında yatay kaydırmayı engeller */
body {
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* AOS animasyonunun daha yumuşak olması için */
[data-aos] {
    transition-duration: 0.8s !important;
}

/* Formun daha şık görünmesi için (Focus efekti) */
input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(255, 204, 0, 0.3);
}

/* İkonların Genel Tasarımı */
.feature-card i {
    font-size: 40px;
    color: var(--primary-color); /* Sarı renk */
    margin-bottom: 20px;
    display: block;
    transition: transform 0.4s ease;
}

/* Kartın üzerine gelindiğinde ikonun hareket etmesi */
.feature-card:hover i {
    transform: scale(1.2) rotate(5deg);
    color: #fff; /* Hover olduğunda ikon beyaz olsun */
}

/* İkonun olduğu kartın metinlerini hover durumunda beyaz yapalım */
.feature-card:hover h3, .feature-card:hover p {
    color: #fff;
}

/* ==========================================================================
   PROJELERİMİZ (INSTAGRAM FEED) BÖLÜMÜ
   ========================================================================== */

/* Genel Bölüm Ayarları */
.projects-section {
    padding: 80px 10%;
    background-color: #fafafa; /* Sitenin kurumsal açık gri tonu */
}

/* Başlık Alanı */
.section-title-container {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-container span {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.section-title-container h2 {
    color: var(--secondary-color);
    font-size: 36px;
    margin-bottom: 15px;
}

.section-title-container p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

/* Instagram Kapsayıcı Kutusu */
.instagram-feed-wrapper {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    overflow: hidden;
    
    /* Zıplamayı engelleyen sihirli değer: */
    /* LightWidget'ın tahmini yüksekliği kadar boşluk bırakıyoruz */
    min-height: 450px; 
    
    /* İçerik yüklenirken titremeyi önler */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* LightWidget Sisteminden Gelecek Görsel Çerçevesi */
.instagram-feed-wrapper iframe {
    border-radius: 8px !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 400px; /* iFrame'in içinde kaybolmasını engelle */
    border: none !important;
    display: block;
}
/* Kod Eklenene Kadar Görünecek Taslak (Placeholder) */
.instagram-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.inst-box {
    height: 250px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 30px;
    border: 2px dashed #ddd;
}

/* Mobil Ekran Uyumluluğu */
@media (max-width: 768px) {
    .projects-section { padding: 60px 5%; }
}


