/* --- GENEL AYARLAR (RESET & VARIABLES) --- */
:root {
    --primary-color: #0056b3; /* Kurumsal Mavi */
    --secondary-color: #2c3e50; /* Antrasit */
    --accent-color: #e67e22; /* Turuncu */
    --light-bg: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--secondary-color);
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- HEADER & NAV --- */
header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo span { color: var(--secondary-color); }

.nav-links { display: flex; gap: 30px; }

.nav-links a {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.nav-links a:hover { color: var(--primary-color); }

.btn-quote {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
}

.btn-quote:hover { background: var(--secondary-color); }

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-hero {
    background: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-block;
}

.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

/* --- SERVICES SECTION --- */
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light-bg); }

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-title .line {
    width: 80px;
    height: 4px;
    background: var(--primary-color);
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 { margin-bottom: 15px; }

/* --- ABOUT BRIEF --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.about-text p { margin-bottom: 20px; color: #666; }

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 700;
    display: inline-block;
}

/* --- CONTACT CTA --- */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 20px;
}

.cta-section h2 { color: var(--white); margin-bottom: 15px; }

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 5px;
    margin-top: 20px;
    display: inline-block;
    font-weight: 600;
}

.btn-outline:hover { background: var(--white); color: var(--primary-color); }

/* --- FOOTER --- */
footer {
    background: var(--secondary-color);
    color: #ddd;
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 { color: var(--white); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary-color); }

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    font-size: 0.9rem;
}

/* --- RESPONSIVE --- */
/* --- MOBİL MENÜ VE HAMBURGER (GARANTİLİ ÇÖZÜM) --- */
@media (max-width: 768px) {
    
    /* 1. Navbar'ın Kendisi (Referans Noktası) */
    .navbar {
        position: relative; /* Hamburger buna göre hizalanacak */
    }

    /* 2. Hamburger İkonu (Sağ Üste Çivileme) */
    .hamburger {
        display: block !important; /* Kesinlikle görünür yap */
        position: absolute; /* Diğer elemanları umursama */
        right: 20px; /* Sağdan 20px içeride */
        top: 25px;   /* Yukarıdan 25px aşağıda */
        z-index: 20000; /* Her şeyin (menünün bile) üstünde */
        cursor: pointer;
        width: 30px; /* Tıklama alanı genişliği */
        height: 25px; /* Tıklama alanı yüksekliği */
    }

    /* İkonun Çizgileri (Görünür Olması İçin KOYU RENK) */
    .bar {
        background-color: #2c3e50 !important; /* Koyu Antrasit/Siyah */
        width: 100%;
        height: 3px;
        margin: 5px 0;
        transition: 0.4s;
        display: block;
    }

    /* 3. Menü Kutusu (Tam Ekran Beyaz) */
    .nav-links {
        position: fixed;
        top: 0; /* En tepeden başla */
        left: 0;
        width: 100% !important;
        height: 100vh !important;
        background-color: #ffffff !important; /* Bembeyaz zemin */
        z-index: 10000; /* Slider'ın üstünde, Hamburgerin altında */
        
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        padding-top: 40px;
        
        /* Gizleme */
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links.active {
        transform: translateX(0) !important;
    }

    /* Linkler */
    .nav-links li a {
        font-size: 1.4rem;
        color: #333 !important;
        font-weight: 600;
        display: block;
    }

    /* Çarpı İşareti Animasyonu */
    .hamburger.toggle .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
    .hamburger.toggle .bar:nth-child(2) { opacity: 0; }
    .hamburger.toggle .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }
}
/* --- ÖNCEKİ TEMEL CSS AYARLARI KORUNDU --- */
:root {
    --primary-color: #0056b3; 
    --secondary-color: #2c3e50; 
    --accent-color: #e67e22; 
    --light-bg: #f8f9fa;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: var(--text-color); line-height: 1.6; background-color: var(--white); }
h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--secondary-color); }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* --- HEADER & LOGO --- */
header { background: var(--white); box-shadow: var(--shadow); position: fixed; width: 100%; top: 0; z-index: 1000; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.navbar { display: flex; justify-content: space-between; align-items: center; height: 80px; }

/* Logo Ayarı */
.site-logo {
    height: 80px; /* Bu yükseklik yeni logo için ideal */
    width: auto;
    display: block;
    transition: var(--transition);
}

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--secondary-color); }
.nav-links a:hover { color: var(--primary-color); }
.btn-quote { background: var(--primary-color); color: var(--white) !important; padding: 10px 25px; border-radius: 5px; font-weight: 600; }
.btn-quote:hover { background: var(--secondary-color); }

/* --- SLIDER (YENİ) --- */
.slider-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Tam ekran yükseklik */
    overflow: hidden;
    margin-top: 80px; /* Header payı */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active { opacity: 1; z-index: 1; }

.slide-content {
    color: var(--white);
    z-index: 2;
    padding: 20px;
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
}

.btn-hero {
    background: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-block;
}
.btn-hero:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,0,0,0.3); }

/* Slider Okları */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    transition: 0.3s;
}
.prev-btn { left: 20px; }
.next-btn { right: 20px; }
.prev-btn:hover, .next-btn:hover { background: var(--primary-color); }

/* --- CONTACT FORM (YENİ) --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form-box {
    background: var(--white);
    padding: 30px;
    box-shadow: var(--shadow);
    border-radius: 10px;
}

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--secondary-color); }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn-submit {
    background: var(--secondary-color);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    transition: 0.3s;
    width: 100%;
}
.btn-submit:hover { background: var(--primary-color); }

.contact-info-box {
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 10px;
}
.contact-info-box h3 { color: white; margin-bottom: 20px; }
.contact-info-box p { margin-bottom: 20px; opacity: 0.9; }
.info-item { display: flex; align-items: center; margin-bottom: 15px; }
.info-item i { width: 30px; font-size: 1.2rem; }

/* --- DİĞER BÖLÜMLER (Aynı) --- */
.section-padding { padding: 80px 0; }
.bg-light { background-color: var(--light-bg); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 10px; }
.section-title .line { width: 80px; height: 4px; background: var(--primary-color); margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { background: var(--white); padding: 40px; border-radius: 10px; box-shadow: var(--shadow); text-align: center; border-bottom: 4px solid transparent; }
.service-card:hover { transform: translateY(-10px); border-bottom: 4px solid var(--primary-color); }
.service-icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; }

/* --- FOOTER --- */
footer { background: var(--secondary-color); color: #ddd; padding: 50px 0 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: var(--white); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a:hover { color: var(--primary-color); }
.copyright { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .slide-content h1 { font-size: 2.2rem; }
    .nav-links { display: none; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .slider-section { height: 80vh; }
}
/* --- FORM MESAJ KUTULARI --- */
.message-box {
    margin-top: 15px;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Başarılı olduğunda (Yeşil) */
.message-box.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

/* Hata olduğunda (Kırmızı) */
.message-box.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
/* --- REFERANSLAR BÖLÜMÜ --- */
.references-grid {
    display: grid;
    /* Mobilde 2, Tablette 3, Masaüstünde 4 sütun otomatik ayarlar */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 30px;
    align-items: center;
    justify-items: center;
}

.ref-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    width: 100%;
    height: 120px; /* Kutunun yüksekliği */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.ref-item img {
    max-width: 100%;
    max-height: 80px;
    /* Siyah Beyaz Efekti */
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.4s ease;
    cursor: pointer;
}

/* Mouse Üzerine Gelince (Hover) */
.ref-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.ref-item:hover img {
    filter: grayscale(0%); /* Rengine döner */
    opacity: 1;
    transform: scale(1.1); /* Hafif büyür */
}
/* --- 1. KURUMSAL ALAN STİLLERİ --- */
.row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.corporate-img {
    position: relative;
}

.corporate-img img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* 20 Yıllık Tecrübe Rozeti */
.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 50%;
    text-align: center;
    width: 140px;
    height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 5px solid white;
    box-shadow: var(--shadow);
}

.experience-badge .years { font-size: 2.2rem; font-weight: 800; line-height: 1; }
.experience-badge .text { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; }

.section-title-left h2 { font-size: 2.5rem; color: var(--secondary-color); margin-bottom: 10px; }
.section-title-left .line-left { width: 60px; height: 4px; background: var(--accent-color); margin-bottom: 30px; }

.corporate-text h3 { font-size: 1.5rem; margin-bottom: 20px; color: #444; }
.corporate-text p { color: #666; margin-bottom: 30px; }

.info-box {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    background: #fff;
    padding: 20px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-box i { font-size: 2rem; color: var(--primary-color); margin-top: 5px; }
.info-box h4 { margin-bottom: 5px; color: var(--secondary-color); }
.info-box p { margin: 0; font-size: 0.9rem; }

/* --- 2. İSTATİSTİK BÖLÜMÜ --- */
.stats-section {
    background: linear-gradient(rgba(0,86,179,0.9), rgba(44,62,80,0.9)), url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-attachment: fixed; /* Parallax Efekti */
    padding: 80px 0;
    color: white;
    text-align: center;
    margin: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item i { font-size: 3rem; margin-bottom: 15px; color: var(--accent-color); }
.stat-item .counter { font-size: 3rem; font-weight: 800; margin-bottom: 5px; color:#fff}
.stat-item p { font-size: 1.1rem; font-weight: 600; opacity: 0.9; }

/* --- 3. NEDEN BİZ (FEATURES) --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-box {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid #eee;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 2rem;
    transition: var(--transition);
}

.feature-box:hover .icon-circle {
    background: var(--primary-color);
    color: white;
}

/* RESPONSIVE DÜZELTMELER */
@media (max-width: 992px) {
    .row-grid { grid-template-columns: 1fr; }
    .experience-badge { right: 20px; bottom: -20px; width: 100px; height: 100px; padding: 20px; }
    .experience-badge .years { font-size: 1.5rem; }
    .experience-badge .text { font-size: 0.6rem; }
}
