/* Genel Ayarlar ve Sıfırlamalar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tipografi ve Başlıklar */
h1 { font-size: 3em; margin-bottom: 0.5em; }
h2 { font-size: 2.2em; text-align: center; margin-bottom: 1.5em; color: #1f3a68; }
h3 { font-size: 1.5em; margin-bottom: 0.5em; }

/* Renk Paleti (Örnek) */
:root {
    --primary-color: #007bff; /* Mavi - CTA ve vurgu rengi */
    --secondary-color: #28a745; /* Yeşil - Alternatif CTA */
    --dark-color: #1f3a68; /* Koyu Mavi - Başlıklar ve metinler */
    --light-bg: #ffffff;
}

/* Navigasyon (Header) */
.header {
    background: var(--dark-color);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8em;
    font-weight: bold;
}
.navbar a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    padding: 5px 10px;
    transition: background-color 0.3s;
}
.navbar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}
.cta-nav {
    background-color: var(--primary-color);
    border-radius: 5px;
    padding: 8px 15px !important;
}

/* A. Üst Banner (Hero Section) */
.hero-section {
    background: url('images/hero-bg.jpg') no-repeat center center/cover; /* Lütfen kendi görselinizi ekleyin */
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    color: white;
}
.hero-section::before { /* Gölge efekti için */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}
.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}
.hero-content h1 {
    font-size: 4em;
    font-weight: 700;
    text-shadow: 2px 2px 5px #000;
}
.hero-content p {
    font-size: 1.5em;
    margin-bottom: 30px;
}
.cta-button {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s, transform 0.2s;
}
.primary-cta {
    background-color: var(--primary-color);
    color: white;
}
.primary-cta:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}
.secondary-cta {
    background-color: var(--dark-color);
    color: white;
    margin-top: 30px;
}
.secondary-cta:hover {
    background-color: #0d2140;
}

/* B. Hizmetlere Hızlı Giriş */
.services-quick-view {
    padding: 80px 0;
    background-color: var(--light-bg);
}
.service-cards {
    display: flex;
    justify-content: space-around;
    gap: 30px;
}
.card {
    flex: 1;
    text-align: center;
    padding: 30px;
    background: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}
.card .icon {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.card h3 {
    color: var(--dark-color);
}
.detail-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    display: inline-block;
}

/* C. Neden Biz? */
.why-us {
    padding: 80px 0;
    background-color: #e9ecef;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}
.feature-item .icon {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}
.feature-item h4 {
    color: var(--dark-color);
}

/* D. Öne Çıkan Projeler */
.featured-projects {
    padding: 80px 0;
    text-align: center;
}
.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.project-item {
    height: 250px;
    background-size: cover !important;
    background-position: center !important;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}
.project-item .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}
.project-item:hover .overlay {
    transform: translateY(0);
}

/* F. Alt CTA Barı */
.bottom-cta-bar {
    background: var(--dark-color);
    color: white;
    padding: 50px 0;
    text-align: center;
}
.bottom-cta-bar h3 {
    margin-top: 0;
    font-size: 2em;
}
.bottom-cta-bar p {
    font-size: 1.1em;
    margin-bottom: 25px;
}
.bottom-cta-bar .primary-cta {
    background-color: var(--secondary-color);
}
.bottom-cta-bar .primary-cta:hover {
    background-color: #1e7e34;
}

/* Footer */
.footer {
    background: #222;
    color: #bbb;
    padding: 20px 0;
    font-size: 0.9em;
    text-align: center;
}
.footer a {
    color: #bbb;
    text-decoration: none;
    margin: 0 10px;
}
.footer a:hover {
    color: white;
}

/* Mobil Uyumluluk (Responsive Design) */
@media (max-width: 768px) {
    h1 { font-size: 2.5em; }
    h2 { font-size: 1.8em; }

    .header .container {
        flex-direction: column;
    }
    .navbar {
        margin-top: 15px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .navbar a {
        margin: 5px 0;
    }

    .service-cards {
        flex-direction: column;
    }
    .card {
        margin-bottom: 20px;
    }
}
/* Sayfa Başlığı Ortak Stil */
.page-header {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}
.page-header h1 {
    font-size: 3em;
    margin-bottom: 10px;
}
.page-header p {
    font-size: 1.2em;
    opacity: 0.8;
}
.active {
    border-bottom: 2px solid white;
}

/* 1. Hizmet Detayları Stilleri */
.service-details-section {
    padding: 80px 0;
}
.service-block {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 80px;
    padding: 30px;
    border-radius: 10px;
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.service-block:nth-child(even) { /* Her iki blokta bir arka plan rengi */
    background-color: #f4f4f4;
}
.service-block .service-text, .service-block .service-image {
    flex: 1;
}
.service-block h2 {
    text-align: left;
    margin-bottom: 15px;
    color: var(--primary-color);
}
.service-block ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.service-block ul li {
    padding: 5px 0;
    font-size: 1.1em;
}
.service-block ul li i {
    color: var(--secondary-color);
    margin-right: 10px;
}
.service-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}
.small-cta {
    padding: 10px 20px !important;
    font-size: 1em !important;
}

/* 2. Projeler Sayfası Stilleri */
.portfolio-section {
    padding: 60px 0;
}
.filter-buttons {
    text-align: center;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 10px 20px;
    margin: 5px;
    border: 1px solid #ccc;
    background-color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.project-gallery-full {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img {
    transform: scale(1.05);
}
.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(var(--dark-color), 0.85); /* CSS değişkeni için basit RGB yerine doğrudan değer kullandık */
    background: rgba(31, 58, 104, 0.85);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s;
}
.gallery-item:hover .project-info {
    transform: translateY(0);
}

/* 3. İletişim Sayfası Stilleri */
.contact-section {
    padding: 80px 0;
}
.contact-grid {
    display: flex;
    gap: 40px;
}
.form-container {
    flex: 2; /* Form alanı daha geniş */
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}
.contact-info {
    flex: 1; /* İletişim bilgileri alanı */
    padding: 20px;
}
.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}
.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.contact-info i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2em;
}
.contact-info a {
    color: var(--dark-color);
    text-decoration: none;
}
.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form input[type="number"],
.quote-form select,
.quote-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1em;
}
.quote-form button {
    width: 100%;
    margin-top: 10px;
}
.map-placeholder {
    width: 100%;
    height: 200px;
    background-color: #e9ecef;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    border-radius: 4px;
    margin-top: 20px;
}

/* Mobil Uyumluluk Eklemeleri */
@media (max-width: 992px) {
    .service-block {
        flex-direction: column;
    }
    .service-block.left-image {
        flex-direction: column-reverse; /* Mobil görünümde görselin üste çıkması için */
    }
    .contact-grid {
        flex-direction: column;
    }
}
/* 1. Şirket Hikayesi Stilleri */
.about-story {
    padding: 80px 0;
    background-color: var(--light-bg);
}
.story-content {
    display: flex;
    gap: 40px;
    align-items: center;
}
.story-image, .story-text {
    flex: 1;
}
.story-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.story-text h2 {
    text-align: left;
    margin-bottom: 20px;
    color: var(--dark-color);
}
.story-text p {
    margin-bottom: 15px;
}

/* 2. Misyon Vizyon Değerler Stilleri */
.mission-vision {
    padding: 60px 0;
    background-color: #e9ecef;
    text-align: center;
}
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.mv-item {
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.mv-item i {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.mv-item h3 {
    color: var(--dark-color);
    margin-top: 0;
    margin-bottom: 10px;
}
.mv-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-top: 15px;
}
.mv-item ul li {
    font-size: 0.95em;
    padding: 3px 0;
}
.mv-item ul li i {
    font-size: 1em;
    color: var(--secondary-color);
}

/* 3. Belgeler ve Sertifikalar Stilleri */
.certificates {
    padding: 80px 0;
    text-align: center;
}
.certificates h2 {
    margin-bottom: 30px;
}
.cert-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
}
.cert-logos img {
    max-height: 80px; /* Logo boyutunu standardize etmek için */
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}
.cert-logos img:hover {
    opacity: 1;
}

/* Mobil Uyumluluk Eklemeleri */
@media (max-width: 768px) {
    .story-content {
        flex-direction: column;
    }
    .mv-grid {
        grid-template-columns: 1fr;
    }
}
.whatsapp-cta {
    background-color: #25D366; /* WhatsApp yeşili */
    color: white;
    display: block; /* Tam genişlikte olması için */
    text-align: center;
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.1em;
    transition: background-color 0.3s;
}
.whatsapp-cta:hover {
    background-color: #128C7E;
}
.whatsapp-cta i {
    margin-right: 10px;
}
.quick-contact-container {
    flex: 2;
    padding: 30px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
}
.quick-contact-container h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
}
.or-separator {
    margin: 20px 0;
    color: #999;
    font-weight: bold;
}
.direct-contact-details {
    text-align: left;
    margin-top: 20px;
}
.direct-contact-details p {
    margin-bottom: 15px;
    font-size: 1.1em;
}
.direct-contact-details i {
    color: var(--primary-color);
    margin-right: 10px;
}
.address-line {
    font-weight: bold;
}
/* HAMBURGER BUTON VE KAPATMA BUTONU GLOBAL STİLLERİ */
.menu-toggle, .close-menu-btn {
    display: none; /* Varsayılan olarak gizli (masaüstü için) */
    background: none;
    border: none;
    color: white;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

/* Mobil Menü Açıkken Sayfa Kaymasını Engelleme */
body.menu-open {
    overflow: hidden;
}

/* Mobil Uyumluluk (768px ve altı) - NAVİGASYON GÜNCELLEMESİ */
@media (max-width: 768px) {
    /* ... (Mevcut mobil uyum stilleri burada devam etmeli) ... */
    
    /* Navigasyon konteynerini düzeltme */
    .header .container {
        flex-direction: row; /* Logo ve Hamburgeri yan yana tut */
        justify-content: space-between;
    }

    /* Hamburger İkonunu Göster */
    .menu-toggle {
        display: block; 
    }

    /* Navigasyonu Varsayılan Olarak Gizle (Ekran dışına kaydır) */
    .navbar {
        position: fixed; /* Ekranı kaplaması için */
        top: 0;
        right: -300px; /* Ekran dışına kaydırarak gizle */
        width: 300px; /* Menü genişliği */
        max-width: 80%;
        height: 100%;
        background: var(--dark-color);
        padding-top: 60px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
        transition: right 0.3s ease-in-out;
        flex-direction: column;
        align-items: flex-start;
        z-index: 1000;
        /* Masaüstünde uygulanan eski flex-direction: column kuralını geçersiz kılar */
    }

    /* Menü Açıkken Görünür Yap (JS ile 'active' sınıfı eklenir) */
    .navbar.active {
        right: 0;
    }

    /* Navigasyon Linklerinin Stili */
    .navbar a {
        margin: 0;
        padding: 15px 20px;
        width: 100%; /* Menü içinde tam genişlik */
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: left;
    }
    
    /* Kapatma Butonunu (X) Konumlandır */
    .close-menu-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        color: white;
        font-size: 1.8em;
    }

    /* Servis kartları ve diğer flex öğeleri alt alta gelsin (mevcut kodlarınızdan) */
    .service-cards, 
    .story-content, 
    .mv-grid,
    .contact-grid {
        flex-direction: column;
    }
}
/* Navigasyon (Header) bölümündeki LOGO stilini güncelliyoruz */
.logo img {
    /* Masaüstü için maksimum genişlik */
    max-height: 40px; 
    width: auto;
    /* Mobil uyumluluk için, çok büyük olmasını engeller */
    max-width: 100%; 
    height: auto;
}

/* Mobil görünümdeki font-size kuralını kaldırıyoruz (çünkü artık resim var) */
/* Eğer .logo için daha önce sadece font-size yazdıysanız, bu kuralı kaldırın. */
/* Örneğin, aşağıdaki kuralı CSS dosyanızdan kaldırın: */
/* .logo { font-size: 1.8em; font-weight: bold; } */