/* --- GENEL VE KÖK DEĞİŞKENLER --- */
:root {
    --primary-color: #0d3d6e; /* Kurumsal Lacivert */
    --secondary-color: #15a374; /* Güven Veren Yeşil (Vurgu) */
    --dark-color: #111827;    /* Koyu Metin Rengi */
    --light-color: #f9fafb;   /* Açık Arkaplan */
    --gray-color: #6b7280;    /* Normal Metin Rengi */
    --white-color: #ffffff;   /* Beyaz */
    --border-color: #e5e7eb;  /* Kenarlık Rengi */

    --font-primary: 'Poppins', sans-serif; /* Başlıklar için */
    --font-secondary: 'Lato', sans-serif;    /* Paragraflar için */
}

/* --- TEMEL AYARLAR VE RESETLEME --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    background-color: var(--white-color);
    color: var(--gray-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3 {
    font-family: var(--font-primary);
    color: var(--dark-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.4rem; }

section {
    padding: 6rem 0;
}

/* --- YARDIMCI SINIFLAR (UTILITY CLASSES) --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
    font-size: 1.1rem;
}

.text-center {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #118a62;
    color: var(--white-color);
    transform: translateY(-2px);
}

/* --- HEADER / NAVİGASYON (GÜNCELLENDİ) --- */
.header {
    background-color: var(--white-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-line-1 {
    font-size: 1.5rem;
    letter-spacing: 0px; /* Harf aralarını biraz açar */
}

.logo-line-2 {
    font-size: 1.5rem;
    padding-left: 3.5rem; /* "ÖZEL" kelimesini sağa iter */
    margin-top: -4px; /* Satırları birbirine yaklaştırır */
    letter-spacing: 0px;
}

.nav-menu {
    flex-grow: 1; /* Menünün kalan alanı doldurmasını sağlar */
    display: flex;
    justify-content: center; /* Menü linklerini ortalar */
}

.nav-menu ul {
    display: flex;
    align-items: center;
}

.nav-menu li {
    margin: 0 1.5rem; /* Linkler arası boşluk */
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover, .nav-menu a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-contact-icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--white-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.icon-button:hover {
    transform: scale(1.1);
}

.icon-button.whatsapp {
    background-color: #25D366;
}

.icon-button.phone {
    background-color: var(--secondary-color);
}

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* --- ANASAYFA / HERO BÖLÜMÜ --- */
.hero-section {
    background-color: var(--light-color);
    padding: 8rem 0;
    position: relative; 
    color: var(--dark-color); 
}

.hero-section.with-background {
    background-image: url('https://images.unsplash.com/photo-1497215728101-856f4ea42174?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed; 
    color: var(--white-color); 
}

.hero-section.with-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(13, 61, 110, 0.7); 
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section.with-background .hero-title {
    color: var(--white-color);
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 1.5rem auto 2.5rem auto;
    opacity: 0.9; 
}

/* --- HAKKINDA BÖLÜMÜ (YENİ SPLIT TASARIM) --- */
.about-section-split {
    display: flex;
    padding: 6rem 2rem;
    background-color: var(--white-color);
    overflow: hidden; 
    align-items: center; 
}

.about-split-image {
    flex: 1; 
}

.about-split-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-split-text {
    flex: 1; 
    padding-left: 4rem; 
}

.text-content-wrapper {
    max-width: 550px; 
}

.text-content-wrapper h2 {
    text-align: left; 
}

.text-content-wrapper h3 {
    color: var(--primary-color);
}

.text-content-wrapper ul {
    margin-top: 1.5rem;
    list-style-type: disc;
    padding-left: 1.5rem;
}

.text-content-wrapper li {
    margin-bottom: 0.5rem;
}


/* --- HİZMETLER BÖLÜMÜ --- */
.services-section {
    background-color: var(--light-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white-color);
    padding: 2.5rem 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
}

/* --- S.S.S. BÖLÜMÜ --- */
.faq-section {
    background-color: var(--white-color);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.faq-item summary {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--dark-color);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    margin-top: 1rem;
    padding-left: 1rem;
}

/* --- İLETİŞİM BÖLÜMÜ --- */
.contact-section {
    background-color: var(--light-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background-color: var(--white-color);
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    align-items: center;
}

.contact-info h3 {
    margin-bottom: 2rem;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-info i {
    font-size: 1.2rem;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 380px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}


/* --- FOOTER / ALT BİLGİ --- */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: var(--gray-color);
}

.social-links a {
    color: var(--white-color);
    font-size: 1.3rem;
    margin-left: 1.5rem;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* --- MOBİL UYUMLULUK (RESPONSIVE) --- */

@media (max-width: 992px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.9rem; }

    .about-section-split {
        flex-direction: column;
        padding: 4rem 2rem;
    }
    .about-split-text {
        padding-left: 0;
        padding-top: 3rem;
    }
    .text-content-wrapper h2 {
        text-align: center;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html { font-size: 15px; }

    /* Mobilde Navigasyon Menüsü ve İkonların Düzeni */
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        padding: 1rem 0;
    }

    .nav-menu li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-menu a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* DÜZELTME: İkonlar artık mobilde gizlenmiyor */
    .header-contact-icons {
        display: flex;
    }

    .mobile-menu-button {
        display: block;
    }

    .hero-section {
        padding: 6rem 0;
    }
    h1 { font-size: 2rem; }

    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
}
