/* ============================================================
   1. DEĞİŞKENLER VE SIFIRLAMA
   ============================================================ */
:root {
    --primary-color: #e67e22; 
    --secondary-color: #d35400; 
    --dark-color: #2c3e50;    
    --black-bg: #1a252f;      
    --white: #ffffff;
    --text-color: #333333;
    --transition: all 0.3s ease;
}

* {
    margin: 0; padding: 0;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

/* ============================================================
   2. TOP BAR & HEADER
   ============================================================ */
.top-bar {
    background: var(--black-bg);
    color: white;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.top-bar a { color: white; text-decoration: none; }

header {
    background-color: var(--dark-color);
    position: sticky;
    top: 0;
    z-index: 10000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    height: 120px;
    padding: 0 20px;
}

.logo-container { display: flex; align-items: center; text-decoration: none; gap: 10px; }
.logo-image { height: 50px; }
.logo-text { color: var(--primary-color); font-weight: 800; font-size: 24px; }

.nav-links { display: flex; list-style: none; }
.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0 15px;
    line-height: 100px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--transition);
}

.nav-links a:hover { color: var(--primary-color); }
.nav-cta { background: var(--primary-color); border-radius: 5px; margin-left: 10px; }

/* DROPDOWN */
.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 220px;
    top: 80px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-top: 3px solid var(--primary-color);
}

.dropdown:hover .dropdown-content, .dropdown.open .dropdown-content { display: block; }

.dropdown-content li a {
    color: var(--dark-color);
    line-height: 45px;
    border-bottom: 1px solid #eee;
}

/* ============================================================
   3. HERO & HİZMETLER (HTML İLE UYUMLU)
   ============================================================ */
.hero-section {
    height: 70vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/hero-bg.jpg');
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    text-align: center; color: white;
}

.services-section { padding: 60px 20px; max-width: 1200px; margin: 0 auto; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    border: 1px solid #eee;
}

.service-card:hover { transform: translateY(-10px); border-color: var(--primary-color); }
.service-card i { font-size: 40px; color: var(--primary-color); margin-bottom: 15px; }

/* ============================================================
   4. SABİT BUTONLAR (HTML SIFINLARINA GÖRE)
   ============================================================ */
.fixed-contact-buttons {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.contact-btn {
    width: 55px; height: 55px;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: white; text-decoration: none; font-size: 22px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.btn-whatsapp { background-color: #25d366; }
.btn-call { background-color: var(--dark-color); }
.btn-text { display: none; } /* Mobilde gerekirse açılabilir */

/* ============================================================
   5. MOBİL UYUMLULUK
   ============================================================ */
.menu-toggle { display: none; cursor: pointer; }

@media (max-width: 992px) {
    .menu-toggle { display: flex; flex-direction: column; gap: 5px; }
    .menu-toggle .bar { width: 25px; height: 3px; background: white; transition: 0.3s; }

    .nav-links {
        position: fixed;
        left: -100%; top: 80px;
        width: 100%; height: calc(100vh - 80px);
        background: var(--dark-color);
        flex-direction: column;
        transition: 0.4s;
    }

    .nav-links.active { left: 0; }
    
    .dropdown-content {
        position: static;
        width: 100%;
        background: #34495e;
    }
}