/* --- Değişkenler ve Reset (Clean Repair Palette) --- */
:root {
    --sidebar-width: 270px;
    
    /* Renkler */
    --color-bg: #F0F4F8;        /* Çok Açık Buz Mavisi */
    --color-sidebar: #FFFFFF;   /* Beyaz Sidebar */
    --color-text: #455A64;      /* Gri-Mavi Metin */
    --color-heading: #263238;   /* Koyu Antrasit */
    --color-blue: #0288D1;      /* Servis Mavisi */
    --color-blue-hover: #01579B;
    --color-ice: #B3E5FC;       /* Buz Mavisi */
    --color-white: #FFFFFF;
    --color-border: #CFD8DC;
    
    /* Fontlar */
    --font-heading: 'Exo 2', sans-serif;  /* Teknik, Modern */
    --font-body: 'Open Sans', sans-serif; /* Okunaklı */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    font-weight: 400;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Ana Düzen --- */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar (Service Panel) --- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--color-sidebar);
    color: var(--color-text);
    position: fixed;
    height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    border-right: 1px solid var(--color-border);
    box-shadow: 2px 0 15px rgba(0,0,0,0.03);
}

.brand {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--color-blue);
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}
.wrench-icon { font-size: 1.8rem; margin-left: 5px; color: var(--color-heading); }

.nav-menu li { margin-bottom: 10px; }
.nav-menu a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #78909C;
    display: block;
    padding: 10px 15px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 600;
}
.nav-menu a:hover, .nav-menu a.active {
    color: #fff;
    background-color: var(--color-blue);
    box-shadow: 0 4px 10px rgba(2, 136, 209, 0.3);
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.9rem;
    color: #90A4AE;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
    text-align: center;
}
.email-link { display: block; margin-top: 5px; color: var(--color-blue); font-weight: 600; }

.call-box {
    margin-top: 20px;
    background: #E1F5FE;
    padding: 10px;
    border-radius: 8px;
    color: var(--color-blue);
}
.call-box span { display: block; font-size: 0.8rem; font-weight: bold; }
.call-box strong { font-size: 1.4rem; display: block; margin-top: 5px; }

/* --- Sağ Ana İçerik --- */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    display: flex;
    flex-direction: column;
}

/* --- Hero & Header --- */
.hero-header, .page-header {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 5px solid var(--color-ice);
}
.page-header.compact { height: 40vh; }

.overlay {
    background: linear-gradient(to top, rgba(255,255,255,0.9), rgba(255,255,255,0.1));
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    color: var(--color-heading);
}

.hero-text { 
    max-width: 700px; 
    padding: 40px; 
    background: rgba(255,255,255,0.85); 
    border-radius: 8px; 
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.hero-header h1, .page-header h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-heading);
}
.page-header .overlay { background: rgba(2, 119, 189, 0.8); align-items: center; justify-content: center; text-align: center; padding: 0; }
.page-header h1 { color: #fff; }

.blue-text { color: var(--color-blue); }

.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #546E7A;
}

/* --- İçerik Konteyneri --- */
.content-container {
    max-width: 1100px; 
    margin: 0 auto;
    padding: 80px 50px;
    width: 100%;
    background-color: #FFF;
    border: 1px solid #ECEFF1;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: 8px 8px 0 0;
}

/* --- Tipografi ve Bölümler --- */
.text-section { margin-bottom: 70px; }
h2 { 
    font-family: var(--font-heading); 
    font-size: 2.5rem; 
    margin-bottom: 25px; 
    color: var(--color-heading);
    font-weight: 600;
    border-bottom: 3px solid var(--color-ice);
    display: inline-block;
    padding-bottom: 5px;
}
h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 15px; color: var(--color-blue); margin-top: 15px; }
p { margin-bottom: 20px; text-align: justify; font-size: 1rem; }

.bg-ice {
    background-color: #E1F5FE;
    padding: 60px;
    border-radius: 8px;
    border-left: 5px solid var(--color-blue);
}

/* --- Grid ve Kartlar (Clean Cards) --- */
.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.service-card {
    background: #FFF;
    padding: 30px;
    border: 1px solid #ECEFF1;
    border-radius: 8px;
    transition: transform 0.3s;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.service-card:hover { transform: translateY(-5px); border-color: var(--color-blue); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }

.icon-circle { 
    width: 70px; height: 70px; 
    background: #E3F2FD; 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 2rem; 
    margin: 0 auto 20px auto;
}

/* Split Layout */
.split-layout {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
}
.split-layout img { width: 45%; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.split-layout .split-content { width: 55%; }

.tech-list li { margin-bottom: 10px; padding-left: 20px; position: relative; }
.tech-list li::before { content: '⚡'; position: absolute; left: 0; color: var(--color-blue); }

/* --- Formlar --- */
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.contact-info { background: #ECEFF1; color: #333; padding: 40px; border-radius: 8px; }
.contact-info h3 { color: var(--color-heading); border-bottom: 1px solid #CFD8DC; padding-bottom: 10px; }
.contact-info p { color: #546E7A; }

.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--color-heading); font-family: var(--font-heading); font-size: 0.95rem; }
input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #CFD8DC;
    background: #FAFAFA;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    transition: 0.2s;
}
input:focus, textarea:focus { border-color: var(--color-blue); outline: none; background: #FFF; box-shadow: 0 0 0 3px rgba(2, 136, 209, 0.1); }

.btn {
    display: inline-block;
    padding: 14px 40px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.btn-blue { background-color: var(--color-blue); color: #FFF; }
.btn-blue:hover { background-color: var(--color-blue-hover); }
.btn-outline-blue { background: transparent; border: 2px solid var(--color-blue); color: var(--color-blue); }
.btn-outline-blue:hover { background: var(--color-blue); color: #fff; }
.full-width { width: 100%; }

/* --- Yorumlar --- */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.review-card {
    background: #FFF;
    padding: 30px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    position: relative;
}
.check-icon { font-size: 1.5rem; color: #4CAF50; margin-bottom: 10px; font-weight: bold; }
blockquote { font-style: italic; color: #546E7A; margin-bottom: 20px; font-size: 1rem; }
cite { font-weight: 700; font-size: 0.9rem; display: block; color: var(--color-blue); }

/* --- Footer --- */
.page-footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid #CFD8DC;
    color: #90A4AE;
    font-size: 0.9rem;
    margin-top: auto;
    background: #F5F7F8;
}

.blue-line { border: 0; height: 3px; background: var(--color-blue); margin: 20px 0; width: 80px; }

/* --- Mobil Menü Butonu --- */
.menu-toggle { display: none; }

/* --- Duyarlı Tasarım (Mobil) --- */
@media (max-width: 900px) {
    .sidebar {
        transform: translateX(-100%);
        width: 100%;
        transition: transform 0.3s ease;
        padding-top: 80px;
    }
    .sidebar.active { transform: translateX(0); }
    
    .main-content { margin-left: 0; width: 100%; }
    
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        background: var(--color-white);
        border: 1px solid var(--color-blue);
        width: 45px;
        height: 45px;
        border-radius: 4px;
        cursor: pointer;
        box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    }
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        background: var(--color-blue);
    }

    .hero-header h1 { font-size: 2.5rem; }
    .content-container { padding: 50px 25px; }
    .split-layout, .contact-layout, .form-row { grid-template-columns: 1fr; display: block; }
    .split-layout img, .split-layout .split-content { width: 100%; }
    .split-layout img { margin-bottom: 20px; }
    .contact-info { margin-bottom: 30px; }
}