/* --- CONTACT.CSS (İletişim ve Sidebar) --- */

/* 1. DEĞİŞKENLER */
:root {
    --primary-color: #0061f2;
    --secondary-color: #6900f2;
    --dark-bg: #0f172a;
    --light-bg: #f3f4f6;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --sidebar-width: 260px;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; text-decoration: none; list-style: none; }
body { background-color: var(--light-bg); color: var(--text-dark); overflow-x: hidden; }

/* 2. SIDEBAR (YAN MENÜ) - ORTAK ALAN */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--dark-bg);
    height: 100vh;
    position: fixed; left: calc(var(--sidebar-width) * -1); top: 0;
    display: flex; flex-direction: column; justify-content: space-between;
    transition: all 0.4s ease; z-index: 1000;
}
.sidebar.open { left: 0; }

.sidebar-header { padding: 2rem; text-align: center; color: var(--white); border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav-links { padding: 1rem; flex-grow: 1; }
.nav-links a { display: flex; align-items: center; padding: 12px 20px; color: #94a3b8; border-radius: 8px; transition: 0.3s; }
.nav-links a i { margin-right: 15px; width: 20px; text-align: center; }
.nav-links a:hover, .nav-links a.active { background: var(--primary-color); color: var(--white); transform: translateX(5px); }
.sidebar-footer { padding: 1rem; text-align: center; color: #475569; font-size: 0.8rem; border-top: 1px solid rgba(255,255,255,0.05); }

.hamburger { position: fixed; top: 20px; left: 20px; z-index: 1100; background: var(--white); border: none; padding: 10px 15px; border-radius: 8px; cursor: pointer; box-shadow: var(--shadow); transition: 0.4s; }
.hamburger.shift { left: calc(var(--sidebar-width) + 20px); }

.content { transition: margin-left 0.4s ease; min-height: 100vh; background: var(--light-bg); }
.content.shift { margin-left: var(--sidebar-width); }

/* 3. İLETİŞİM SAYFASINA ÖZEL TASARIMLAR */

/* Hero Section */
.page-hero {
    height: 300px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; color: var(--white);
    margin-bottom: 3rem; border-radius: 0 0 0px 0px;
}
.page-hero h1 { font-size: 2.5rem; margin-bottom: 10px; font-weight: 700; }
.page-hero p { color: #cbd5e1; font-size: 1.1rem; }

.contact-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 2rem 4rem 2rem; }

/* Ekip Kartları (Grid) */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* Responsive */
    gap: 2rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s;
    border-top: 4px solid var(--primary-color);
}
.contact-card:hover { transform: translateY(-7px); }

.card-icon {
    font-size: 2rem; color: var(--primary-color); margin-bottom: 1rem;
    background: #e0e7ff; width: 60px; height: 60px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; margin-left: auto; margin-right: auto;
}

.contact-card h3 { font-size: 1.1rem; color: var(--text-dark); margin-bottom: 5px; }
.role { display: inline-block; background: #f1f5f9; padding: 4px 10px; border-radius: 20px; font-size: 0.8rem; color: var(--text-light); margin-bottom: 1rem; font-weight: 600; }

.contact-details p { font-size: 0.9rem; color: var(--text-dark); margin: 8px 0; }
.contact-details i { color: var(--primary-color); margin-right: 8px; }

/* Alt Bölüm (Form ve Harita) */
.bottom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* Form Kutusu */
.form-box, .map-box {
    background: var(--white); padding: 2.5rem; border-radius: 16px; box-shadow: var(--shadow);
}

.form-box h2, .map-box h2 { font-size: 1.5rem; margin-bottom: 1.5rem; color: var(--text-dark); border-bottom: 2px solid #e2e8f0; padding-bottom: 10px; display: inline-block; }

.input-group { margin-bottom: 1.5rem; }
.input-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--text-dark); }
.input-group input, .input-group textarea {
    width: 100%; padding: 12px; border: 2px solid #e2e8f0; border-radius: 8px;
    font-family: 'Poppins', sans-serif; transition: 0.3s;
}
.input-group input:focus, .input-group textarea:focus { border-color: var(--primary-color); outline: none; }

.cta-button {
    width: 100%; padding: 12px; background: var(--primary-color); color: var(--white);
    border: none; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.3s;
}
.cta-button:hover { background: var(--secondary-color); }

/* Harita Kutusu */
.address-text { color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.6; }
.address-text i { color: var(--primary-color); font-size: 1.2rem; margin-right: 10px; }

.map-frame { width: 100%; height: 250px; border-radius: 12px; overflow: hidden; margin-bottom: 1rem; background: #eee; }
.map-link-btn { display: block; text-align: center; color: var(--primary-color); font-weight: 600; text-decoration: underline; }

/* Responsive */
@media (max-width: 992px) {
    .content.shift { margin-left: 0; }
    .hamburger.shift { left: calc(var(--sidebar-width) + 10px); }
    .bottom-section { grid-template-columns: 1fr; } /* Alt alta düşür */
}
/* --- TÜM SAYFALAR İÇİN SİLİK LOGO AYARI --- */

/* 1. Hem Ana Sayfa hem Alt Sayfaların Hero Alanı Ayarları */
.hero, .page-hero {
    position: relative; /* Logo yerleşimi için şart */
    overflow: hidden;   /* Logo taşarsa gizle */
    /* Mevcut background (gradient) ayarların kalsın */
}

/* 2. Arka Plana Silik Logo Ekleme */
.hero::before, .page-hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Tam ortala */
    
    width: 60%;  /* Logonun kaplayacağı alan */
    height: 60%;
    
    /* Logo Dosya Adın (Dosya adının doğru olduğundan emin ol) */
    background-image: url('zeykaa_oto_logo.jpg');
    
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    
    opacity: 0.05; /* %5 Görünürlük (Çok silik) */
    z-index: 0;    /* En arkada dursun */
    pointer-events: none;
}

/* 3. Yazıların Logonun Üstünde Kalmasını Sağla */
.hero-text, 
.page-hero h1, 
.page-hero p {
    position: relative;
    z-index: 1; /* Yazılar öne gelsin */
}



/* --- GOOGLE TRANSLATE AYARLARI (Sidebar ve Banner Gizleme) --- */

/* Sidebar'ın taşmasına izin ver ki dil menüsü kesilmesin */
.sidebar, nav, ul {
    overflow: visible !important;
}

/* Dil Butonu Tasarımı */
.language-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 30px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s;
    z-index: 50;
    color: #94a3b8; /* Sidebar yazı rengiyle uyumlu */
}

.language-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.language-item .google-logo {
    width: 24px;
    height: 24px;
    margin-right: 15px; /* Sidebar ikon boşluğuyla uyumlu */
    background-color: white;
    padding: 3px;
    border-radius: 50%;
}

.language-item .nav-text {
    font-size: 1rem;
}

/* Görünmez Tıklama Katmanı */
#google_translate_element {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0.01 !important;
    z-index: 100;
    overflow: hidden;
}

/* Google'ın kendi stillerini sıfırla */
.goog-te-gadget-simple {
    background-color: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Gereksiz ikonları gizle */
.goog-te-gadget-icon, .goog-te-menu-value {
    display: none !important;
}

.goog-te-combo {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0 !important;
    cursor: pointer !important;
}

/* --- ÜSTTEKİ MAVİ/GRİ BANNER'I GİZLE --- */
.goog-te-banner-frame.skiptranslate {
    display: none !important;
} 
body {
    top: 0px !important; 
}