/* Genel Stiller */
:root {
    --primary-color: #0056b3; 
    --secondary-color: #007bff;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --white-color: #ffffff;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--dark-color);
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header Alanı */
.site-header {
    background: var(--white-color);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo a {
    font-size: 2em;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    letter-spacing: -1px;
}
.logo a span {
    font-weight: 400;
    color: var(--primary-color);
}
.main-nav ul { margin: 0; padding: 0; list-style: none; display: flex; }
.main-nav li { margin-left: 25px; }
.main-nav a { text-decoration: none; color: var(--dark-color); font-weight: 500; transition: color 0.3s ease; }
.main-nav a:hover { color: var(--primary-color); }
.cta-button {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}
.cta-button:hover { background-color: var(--secondary-color); }

/* Ana Karşılama Alanı */
.hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.pexels.com/photos/209151/pexels-photo-209151.jpeg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.hero-content { max-width: 800px; padding: 0 20px; }
.hero h1 { font-size: 3.5em; margin-bottom: 0.5em; }
.hero p { font-size: 1.2em; margin-bottom: 1.5em; }
.hero-button {
    background-color: var(--white-color);
    color: var(--primary-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
}
.hero-button:hover { background-color: var(--light-color); transform: translateY(-2px); }

/* ANA SAYFA HİZMET KARTLARI */
.home-services-section {
    padding: 60px 0;
}
.section-title {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: var(--dark-color);
}
.home-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.home-service-card {
    background: var(--white-color);
    border: 1px solid #e0e0e0;
    padding: 30px;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.home-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.home-service-card .fas, .home-service-card .fab {
    font-size: 3em;
    color: var(--primary-color);
    margin-bottom: 20px;
}
.home-service-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}
.home-service-card p {
    font-size: 1em;
    line-height: 1.7;
    color: #555;
}

/* Footer Alanı */
.site-footer { background-color: var(--dark-color); color: var(--white-color); text-align: center; padding: 20px 0; }

/* ========================================= */
/* DİĞER SAYFALAR İÇİN GENEL STİLLER */
/* ========================================= */
.page-title {
    background-color: var(--dark-color);
    color: var(--white-color);
    padding: 40px 0;
    text-align: center;
}
.page-title h1 { margin: 0; font-size: 3em; }
.contact-section, .about-section, .services-page-section, .partners-section { padding: 60px 20px; }
.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-size: 1.1em;
    line-height: 1.7;
}

/* İLETİŞİM SAYFASI */
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; align-items: flex-start; }
.contact-info h3, .contact-form h3 { font-size: 1.8em; color: var(--primary-color); margin-top: 0; margin-bottom: 20px; }
.contact-info ul { list-style: none; padding: 0; }
.contact-info li { display: flex; align-items: center; margin-bottom: 15px; font-size: 1.1em; }
.contact-info .fas { font-size: 1.2em; margin-right: 15px; width: 25px; text-align: center; color: var(--primary-color); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 5px; font-weight: bold; }
.form-group input,
.form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 5px; font-size: 1em; box-sizing: border-box; }
.submit-button { background-color: var(--primary-color); color: var(--white-color); padding: 12px 25px; border: none; border-radius: 5px; font-size: 1.1em; font-weight: bold; cursor: pointer; transition: background-color 0.3s ease; }
.submit-button:hover { background-color: var(--secondary-color); }

/* HAKKIMIZDA SAYFASI */
.about-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.about-image img { width: 100%; border-radius: 5px; }
.about-content h2 { font-size: 2.2em; color: var(--primary-color); margin-top: 0; }
.about-content h3 { font-size: 1.5em; margin-top: 30px; }
.about-content p { line-height: 1.8; font-size: 1.1em; }

/* HİZMETLER SAYFASI */
.services-page-section { background-color: var(--light-color); }
.services-page-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-page-card { background: var(--white-color); border: 1px solid #e0e0e0; padding: 30px; border-radius: 5px; box-shadow: 0 4px 8px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.service-page-card:hover { transform: translateY(-5px); box-shadow: 0 8px 16px rgba(0,0,0,0.1); }
.service-page-card .fas { font-size: 3em; color: var(--primary-color); margin-bottom: 20px; }
.service-page-card h3 { font-size: 1.6em; margin-bottom: 15px; }
.service-page-card p { font-size: 1em; line-height: 1.7; }

/* İŞ ORTAKLARIMIZ SAYFASI */
.partners-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; align-items: center; }
.partner-name-box { border: 1px solid #e0e0e0; padding: 20px; border-radius: 5px; display: flex; justify-content: center; align-items: center; min-height: 80px; text-align: center; font-weight: 600; color: var(--dark-color); transition: all 0.3s ease; }
.partner-name-box:hover { box-shadow: 0 6px 15px rgba(0,0,0,0.1); border-color: var(--primary-color); color: var(--primary-color); }


/* ========================================= */
/* MOBİL UYUMLULUK KODLARI (YENİ EKLENDİ) */
/* ========================================= */

@media (max-width: 768px) {
    /* Genel ayarlar */
    .container {
        padding: 0 15px;
    }

    /* Menü ve Header */
    .site-header .container {
        flex-direction: column; /* Öğeleri alt alta dizer */
        gap: 15px;
    }
    .main-nav ul {
        flex-wrap: wrap; /* Menü öğeleri sığmazsa alt satıra geçer */
        justify-content: center; /* Ortalanır */
        gap: 15px;
    }
    .main-nav li {
        margin-left: 0;
    }

    /* Yazı Boyutları */
    .hero h1 { font-size: 2.5em; }
    .hero p { font-size: 1.1em; }
    .page-title h1 { font-size: 2.2em; }
    .section-title { font-size: 2em; }
    .about-content h2 { font-size: 1.8em; }


    /* Sütunlu Yapıları Tek Sütuna Düşürme */
    .contact-grid,
    .about-grid,
    .features-grid {
        grid-template-columns: 1fr; /* Tüm ızgaraları tek sütuna indirir */
    }
    
    .partners-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Partner logolarını biraz daha küçük kutulara sığdırır */
    }
    
    /* Boşlukları Azaltma */
    .contact-section, .about-section, .services-page-section, .partners-section, .home-services-section {
        padding: 40px 15px;
    }
}