/* --- Değişkenler ve Reset --- */
:root {
    --sidebar-width: 270px;
    
    /* Renkler */
    --color-primary: #0056b3;   /* Kurumsal Mavi */
    --color-primary-dark: #004494;
    --color-accent: #ffcc00;    /* İnşaat Sarısı */
    --color-accent-dark: #e6b800;
    --color-bg: #f4f6f8;        /* Açık gri-mavi */
    --color-sidebar: #002a4d;   /* Koyu Lacivert Sidebar */
    --color-text: #333;
    --color-text-light: #666;
    --color-white: #ffffff;
    --color-border: #e0e0e0;
    
    /* Fontlar */
    --font-heading: 'Saira Condensed', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* { 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; border-radius: 4px; }
ul { list-style: none; }

/* --- Ana Düzen --- */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* --- Sol Sidebar --- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--color-sidebar);
    color: var(--color-white);
    position: fixed;
    height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    border-right: 4px solid var(--color-accent);
}

.brand {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--color-white);
    letter-spacing: 1px;
    text-transform: uppercase;
}
.tool-icon { font-size: 1.8rem; margin-left: 10px; }

.nav-menu li { margin-bottom: 10px; }
.nav-menu a {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: #b0c4de;
    display: block;
    padding: 10px 15px;
    border-radius: 4px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.nav-menu a:hover, .nav-menu a.active {
    background-color: rgba(255, 204, 0, 0.1);
    color: var(--color-accent);
    padding-left: 20px;
    border-left: 4px solid var(--color-accent);
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.9rem;
    color: #aab;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.phone-link { display: block; margin-top: 5px; color: var(--color-white); font-weight: 700; font-size: 1.1rem; }
.email-info { margin-top: 5px; color: var(--color-accent); font-size: 0.85rem; }

/* --- Sağ Ana İçerik --- */
.main-content {
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    display: flex;
    flex-direction: column;
}

/* --- Hero --- */
.hero-header {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 8px solid var(--color-primary);
}
.page-header {
    height: 40vh;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 8px solid var(--color-primary);
}
.page-header.compact { height: 35vh; }

.overlay {
    background: linear-gradient(to right, rgba(0, 42, 77, 0.9), rgba(0, 42, 77, 0.4));
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    color: #fff;
}

.hero-text { max-width: 700px; padding-left: 20px; border-left: 6px solid var(--color-accent); }

.hero-header h1, .page-header h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #e0e0e0;
}

/* --- Content --- */
.content-container {
    max-width: 1100px; 
    margin: 0 auto;
    padding: 60px 40px;
    width: 100%;
}

.text-section { margin-bottom: 60px; }
h2 { 
    font-family: var(--font-heading); 
    font-size: 2.2rem; 
    margin-bottom: 25px; 
    color: var(--color-primary);
    font-weight: 700;
    text-transform: uppercase;
    border-bottom: 3px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 5px;
}
h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 10px; color: var(--color-primary); margin-top: 15px; }
p { margin-bottom: 20px; text-align: justify; font-size: 1rem; color: var(--color-text); }

.bg-blue {
    background-color: var(--color-primary);
    padding: 50px;
    border-radius: 8px;
    color: #fff;
}
.bg-blue h2 { color: #fff; border-color: var(--color-accent); }
.bg-blue p { color: #e0e0e0; }

/* --- Grid & Cards --- */
.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--color-primary);
    transition: transform 0.3s;
    text-align: center;
}
.service-card:hover { transform: translateY(-5px); border-bottom-color: var(--color-accent); }

.icon-box { 
    font-size: 3rem; 
    margin-bottom: 20px; 
    background: #eef2f6; 
    width: 80px; height: 80px; 
    display: flex; align-items: center; justify-content: center; 
    border-radius: 50%; 
    margin-left: auto; margin-right: auto;
}

/* Split Layout */
.split-layout {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 60px;
    background: #fff;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
.split-layout img { width: 45%; border-radius: 4px; }
.split-layout .split-content { width: 55%; }

/* --- Forms --- */
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.contact-info { background: var(--color-primary); color: #fff; padding: 30px; border-radius: 8px; }
.contact-info h3 { color: var(--color-accent); border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 10px; }
.contact-info p { color: #e0e0e0; font-size: 0.95rem; }
.contact-info strong { color: #fff; }

.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 700; color: var(--color-primary); font-family: var(--font-heading); font-size: 1.1rem; }
input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    background: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    transition: 0.2s;
}
input:focus, textarea:focus { border-color: var(--color-primary); outline: none; }

.btn {
    display: inline-block;
    padding: 14px 35px;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.btn-yellow { background-color: var(--color-accent); color: #000; }
.btn-yellow:hover { background-color: var(--color-accent-dark); }
.btn-blue { background-color: var(--color-primary); color: #fff; }
.btn-blue:hover { background-color: var(--color-primary-dark); }
.btn-white-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-white-outline:hover { background: #fff; color: var(--color-primary); }
.full-width { width: 100%; }

/* --- Testimonials --- */
.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;
}
.star { color: var(--color-accent); margin-bottom: 10px; font-size: 1.2rem; }
blockquote { font-style: italic; color: #555; margin-bottom: 20px; }
cite { font-weight: 700; font-size: 1rem; display: block; color: var(--color-primary); font-family: var(--font-heading); }

/* --- Footer --- */
.page-footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid #ccc;
    color: #777;
    font-size: 0.9rem;
    margin-top: auto;
    background: #fff;
}
.blue-line { border: 0; height: 3px; background: var(--color-primary); margin: 20px 0; width: 80px; }

/* --- Mobile Menu Button --- */
.menu-toggle { display: none; }

/* --- Responsive --- */
@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-primary);
        border: 2px solid var(--color-accent);
        width: 45px;
        height: 45px;
        border-radius: 4px;
        cursor: pointer;
    }
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        background: #fff;
    }

    .hero-header h1 { font-size: 3rem; }
    .overlay { padding: 0 30px; }
    .content-container { padding: 40px 20px; }
    .split-layout, .contact-layout { flex-direction: column; display: flex; }
    .split-layout img, .split-layout .split-content { width: 100%; }
    .split-layout img { margin-bottom: 20px; }
    .contact-info { margin-bottom: 30px; }
}