/* --- Değişkenler ve Reset (Construction Palette) --- */
:root {
    --sidebar-width: 280px;
    
    /* Renkler */
    --color-bg: #EAECEE;        /* Beton Grisi */
    --color-sidebar: #212529;   /* Antrasit */
    --color-text: #343A40;      /* Koyu Gri Metin */
    --color-orange: #E67E22;    /* İnşaat / Güvenlik Turuncusu */
    --color-orange-hover: #D35400;
    --color-blue: #2C3E50;      /* Mühendislik Mavisi */
    --color-white: #FFFFFF;
    --color-border: #CED4DA;
    
    /* Fontlar */
    --font-heading: 'Teko', sans-serif; /* Güçlü, Dikey */
    --font-body: 'Roboto Condensed', sans-serif; /* Teknik, Kompakt */
}

* { 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 (Structure) --- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--color-sidebar);
    color: #ADB5BD;
    position: fixed;
    height: 100vh;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    border-right: 5px solid var(--color-orange);
}

.brand {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: var(--color-white);
    letter-spacing: 2px;
    line-height: 1;
}
.crane-icon { font-size: 2rem; margin-left: 5px; }

.nav-menu li { margin-bottom: 5px; }
.nav-menu a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #6C757D;
    display: block;
    padding: 8px 15px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--color-white);
    background: #343A40;
    border-left-color: var(--color-orange);
    padding-left: 20px;
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.9rem;
    color: #6C757D;
    padding-top: 30px;
    border-top: 1px solid #343A40;
    text-align: center;
}
.email-link { display: block; margin-top: 5px; color: var(--color-orange); font-weight: bold; }
.safety-badge { margin-top: 15px; background: #28a745; color: #fff; padding: 5px; font-weight: bold; font-family: var(--font-heading); letter-spacing: 1px; }

/* --- 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: 10px solid var(--color-blue);
}
.page-header.compact { height: 40vh; }

.overlay {
    background: rgba(44, 62, 80, 0.7); /* Lacivert filtre */
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    color: #fff;
}

.hero-text { 
    max-width: 800px; 
    border: 3px solid var(--color-white);
    padding: 40px;
    background: rgba(0,0,0,0.4);
}

.hero-header h1, .page-header h1 {
    font-family: var(--font-heading);
    font-size: 5rem;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 0.9;
    text-transform: uppercase;
}
.highlight { color: var(--color-orange); }

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #DEE2E6;
}

/* --- İçerik Konteyneri --- */
.content-container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 80px 50px;
    width: 100%;
    background-color: #F8F9FA;
    border: 1px solid #DEE2E6;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

/* --- Tipografi ve Bölümler --- */
.text-section { margin-bottom: 70px; }
h2 { 
    font-family: var(--font-heading); 
    font-size: 3rem; 
    margin-bottom: 25px; 
    color: var(--color-blue);
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 4px solid var(--color-orange);
    display: inline-block;
    padding-bottom: 5px;
}
h3 { font-family: var(--font-heading); font-size: 2rem; margin-bottom: 15px; color: var(--color-blue); margin-top: 15px; }
p { margin-bottom: 20px; text-align: justify; font-size: 1.1rem; }

.bg-blueprint {
    background-color: var(--color-blue);
    color: #fff;
    padding: 60px;
    border: 2px solid var(--color-white);
    /* Blueprint (Teknik Çizim) efekti için ızgara */
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}
.bg-blueprint h2 { color: #fff; border-color: var(--color-white); }
.bg-blueprint p { color: #CED4DA; }

/* --- Grid ve Kartlar (Bloklar) --- */
.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 70px;
}

.project-card {
    background: #fff;
    padding: 20px;
    border: 1px solid #CCC;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}
.project-card:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0px var(--color-orange); }

.card-img { position: relative; height: 250px; overflow: hidden; margin-bottom: 20px; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.project-card:hover img { transform: scale(1.1); }

.status {
    position: absolute; top: 10px; right: 10px;
    padding: 5px 10px; font-weight: bold; font-family: var(--font-heading); letter-spacing: 1px; font-size: 1rem;
}
.status.completed { background: #28a745; color: #fff; }
.status.ongoing { background: var(--color-orange); color: #fff; }
.status.planning { background: #17a2b8; color: #fff; }

/* Split Layout */
.split-layout {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
}
.split-layout img { width: 45%; border: 1px solid #333; }
.split-layout .split-content { width: 55%; }

/* --- Formlar --- */
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.contact-info { background: var(--color-blue); color: #fff; padding: 40px; border-top: 5px solid var(--color-orange); }
.contact-info h3 { color: var(--color-orange); border-bottom: 1px solid #555; padding-bottom: 10px; }
.contact-info p { color: #CED4DA; }
.contact-info strong { color: #fff; }

.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 5px; font-weight: 700; color: var(--color-blue); font-family: var(--font-heading); font-size: 1.2rem; }
input, select, textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ADB5BD;
    background: #fff;
    font-family: var(--font-body);
    font-size: 1.1rem;
    border-radius: 0; /* Köşeli */
    transition: 0.2s;
}
input:focus, textarea:focus { border-color: var(--color-orange); outline: none; background: #FFF8F0; }

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1.4rem;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 0;
    letter-spacing: 1px;
}
.btn-orange { background-color: var(--color-orange); color: #fff; }
.btn-orange:hover { background-color: var(--color-orange-hover); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--color-blue); }
.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 #CCC;
    position: relative;
    border-left: 5px solid var(--color-blue);
}
.brick-icon { font-size: 2rem; margin-bottom: 10px; }
blockquote { font-style: italic; color: #495057; margin-bottom: 20px; font-size: 1.1rem; }
cite { font-weight: 700; font-size: 1rem; display: block; color: var(--color-blue); font-family: var(--font-heading); }

/* --- Footer --- */
.page-footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid #ccc;
    color: #6C757D;
    font-size: 0.9rem;
    margin-top: auto;
    background: #E9ECEF;
}

.orange-bar { border: 0; height: 5px; background: var(--color-orange); margin: 20px 0; width: 100px; }

/* --- Mobil Menü Butonu --- */
.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: block;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        background: var(--color-blue);
        border: 2px solid var(--color-orange);
        width: 50px;
        height: 50px;
        cursor: pointer;
    }
    .bar {
        display: block;
        width: 25px;
        height: 3px;
        background: #fff;
        margin: 6px auto;
    }

    .hero-header h1 { font-size: 3rem; }
    .hero-text { padding: 20px; }
    .content-container { padding: 50px 25px; margin-top: 0; }
    .grid-section, .split-layout, .contact-layout { display: block; }
    .split-layout img, .split-layout .split-content { width: 100%; }
    .split-layout img { margin-bottom: 20px; }
    .contact-info { margin-bottom: 30px; }
}