:root {
    --primary-color: #F38B2A; /* Logodaki turuncu */
    --bg-color: #ffffff;
    --text-color: #333333;
    --header-bg: rgba(255, 255, 255, 0.98);
    --card-bg: #f9f9f9;
    --border-color: #ddd;
}

/* Dark Mode Değişkenleri */
.dark-mode {
    --bg-color: #121212;
    --text-color: #ededed;
    --header-bg: rgba(18, 18, 18, 0.98);
    --card-bg: #1e1e1e;
    --border-color: #333;
}

body {
    margin: 0;
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background 0.3s, color 0.3s;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* --- HEADER & NAV DÜZELTMESİ --- */
header {
    position: sticky;
    top: 0;
    background: var(--header-bg);
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

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

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Dikey ortalama sağlar */
}

.logo-img { height: 45px; }
.logo-white { display: none; }
.logo-black { display: block; }
.dark-mode .logo-white { display: block; }
.dark-mode .logo-black { display: none; }

/* Navigasyon Alanı */
nav {
    display: flex;
    align-items: center; /* Dil ve butonu aynı hizaya getirir */
    gap: 20px; /* Öğeler arası boşluk */
}

/* Dil Seçici */
.lang-switch {
    display: flex;
    gap: 10px;
}

.lang-switch a {
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.6;
    padding-bottom: 2px;
}

.lang-switch a:hover { opacity: 1; }

.lang-switch a.active {
    opacity: 1;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Tema Butonu (Hizalama Düzeltildi) */
#theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%; /* Yuvarlak buton */
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    transition: all 0.3s ease;
}

#theme-toggle:hover {
    background: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}

/* --- HERO SECTION --- */
.hero {
    height: 85vh;
    background: url('https://images.unsplash.com/photo-1620799140408-ed5341cd2431?q=80&w=2072&auto=format&fit=crop') center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content { position: relative; z-index: 1; padding: 20px; }
.hero h1 { font-size: 4rem; margin: 0 0 10px 0; line-height: 1.1; }
.hero p { font-size: 1.5rem; margin-bottom: 30px; font-weight: 300; opacity: 0.9; }

.btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}
.btn:hover { background: #d6761f; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(243, 139, 42, 0.4); }

/* --- FEATURES --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 80px 0;
    text-align: center;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 20px;
    border-radius: 12px;
    border: 1px solid transparent;
    transition: 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}
.feature-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }

/* --- CONTACT --- */
.contact-section { padding: 80px 0; background: var(--card-bg); border-top: 1px solid var(--border-color); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-grid .info h2 { margin-top: 0; font-size: 2.5rem; }
.socials a { font-size: 2rem; color: var(--text-color); margin-right: 15px; margin-top: 20px; display: inline-block; }
.socials a:hover { color: var(--primary-color); }

/* Harita */
.map iframe { border-radius: 10px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

footer { text-align: center; padding: 20px; font-size: 0.9rem; opacity: 0.7; border-top: 1px solid var(--border-color); margin-top: auto; }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
    .header-flex { flex-direction: column; gap: 10px; }
}
