/* General Styles */
:root {
    --primary-color: #0d2c54; /* Dark Blue */
    --secondary-color: #f1f1f1; /* Light Gray */
    --accent-color: #2a9d8f; /* Teal */
    --text-color: #333;
    --light-text-color: #fff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

html[dir="rtl"] body {
    font-family: 'Cairo', sans-serif;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h1, h2 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    border-radius: 8px;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text-color);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #238a7e;
}

/* Header */
header {
    background-color: #fff;
    color: var(--primary-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* DÜZENLENDİ: Logo kapsayıcısı güncellendi */
.logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

/* YENİ: Header logosunun boyutu ayarlandı */
.header-logo {
    height: 60px;
    width: auto;
    max-height: 100%;
}

header nav ul {
    display: flex;
    align-items: center;
    list-style: none;
}

header nav ul li {
    margin-left: 2rem;
}

header nav a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav a:hover {
    color: var(--accent-color);
}

.btn-contact-nav {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-contact-nav:hover {
    background-color: var(--accent-color);
    color: var(--light-text-color);
}

.lang-selector {
    display: flex;
    align-items: center;
    border-left: 1px solid #ddd;
    padding-left: 2rem;
}
.lang-selector span {
    margin: 0 0.5rem;
    color: #ccc;
}
a.lang-switcher.active {
    color: var(--accent-color);
    font-weight: 700;
}

/* Hero Section */
#hero {
    background: linear-gradient(rgba(13, 44, 84, 0.7), rgba(13, 44, 84, 0.7)), url('images/hero-bg.jpg') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
}

.hero-content {
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Content Sections */
.content-section {
    padding: 6rem 0;
}

.content-section .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.content-section.alt-bg {
    background-color: var(--secondary-color);
}

.content-section .container.reverse {
    flex-direction: row-reverse;
}

.text-content, .image-content {
    flex: 1;
}

.text-content ul {
    list-style: none;
    padding-left: 0;
}

.text-content ul li {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%232a9d8f" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
    padding-left: 30px;
    margin-bottom: 1rem;
}

/* Broker Section */
.steps {
    margin-top: 2rem;
    margin-bottom: 2rem;
}
.step {
    margin-bottom: 1.5rem;
}
.step p {
    margin-bottom: 0;
    opacity: 0.8;
}

/* Contact Section */
#contact {
    padding: 6rem 0;
    text-align: center;
}
.contact-container {
    max-width: 700px;
}
#contact form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}
#contact input, #contact textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 2rem 0;
}

/* WHATSAPP BUTON VE İKON STİLLERİ */
.whatsapp-btn {
    background-color: #25D366;
    color: #fff;
    margin-bottom: 2rem;
    display: inline-block;
}
.whatsapp-btn:hover {
    background-color: #128C7E;
}
.whatsapp-flotante {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.whatsapp-flotante:hover {
    transform: scale(1.1);
}

/* HAMBURGER MENÜ STİLLERİ */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}
.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Responsive Design */
@media(max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .hero-content h1 { font-size: 2.8rem; }
    
    .hamburger {
        display: block;
    }

    header .container {
        flex-direction: row;
    }
    header .logo {
        flex-grow: 1;
        text-align: center;
        margin-left: 1rem;
    }

    /* YENİ: Mobilde logo boyutu */
    .header-logo {
        height: 60px;
    }

    #main-nav {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }
    #main-nav.nav-active {
        max-height: 100vh;
    }

    header nav ul {
        flex-direction: column;
        padding: 1rem 0;
        width: 100%;
    }
    header nav ul li {
        margin: 1rem 0;
        text-align: center;
        width: 100%;
    }

    .lang-selector {
        padding-left: 0;
        border-left: none;
        margin-top: 1rem;
        justify-content: center;
    }
    
    .content-section .container,
    .content-section .container.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    #hero {
        padding-top: 150px;
    }
}

/* --- RTL (Sağdan Sola) Stil Düzeltmeleri --- */
html[dir="rtl"] {
    text-align: right;
}

html[dir="rtl"] header nav ul li {
    margin-left: 0;
    margin-right: 2rem;
}

html[dir="rtl"] .lang-selector {
    border-left: none;
    border-right: 1px solid #ddd;
    padding-left: 0;
    padding-right: 2rem;
}

html[dir="rtl"] .text-content ul li {
    background-position: right center;
    padding-left: 0;
    padding-right: 30px;
}

html[dir="rtl"] .whatsapp-flotante {
    right: auto;
    left: 25px;
}

html[dir="rtl"] @media(max-width: 768px) {
    html[dir="rtl"] header .logo {
        margin-left: 0;
        margin-right: 1rem;
    }
    html[dir="rtl"] #main-nav {
        left: auto;
        right: 0;
    }
}