/* --- Değişkenler ve Reset (Warehouse Palette) --- */
:root {
    --sidebar-width: 280px;
    
    /* Renkler */
    --color-bg: #ECEFF1;        /* Açık Beton Grisi */
    --color-sidebar: #263238;   /* Antrasit / Koyu Arduvaz */
    --color-text: #37474F;      /* Koyu Mavi-Gri Metin */
    --color-heading: #212121;   /* Siyah */
    --color-red: #B71C1C;       /* Tuğla Kırmızısı */
    --color-red-hover: #D32F2F;
    --color-white: #FFFFFF;
    --color-border: #CFD8DC;
    
    /* Fontlar */
    --font-heading: 'Oswald', sans-serif; /* Endüstriyel, Dikey */
    --font-body: 'Barlow', sans-serif;    /* Teknik, Temiz */
}

* { 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.2s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* --- Ana Düzen --- */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar (Warehouse Shelf) --- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--color-sidebar);
    color: #B0BEC5;
    position: fixed;
    height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    border-right: 5px solid var(--color-red);
}

.brand {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: var(--color-white);
    letter-spacing: 1px;
    background: #B71C1C; /* Kırmızı Etiket */
    padding: 10px;
    text-align: center;
    transform: skew(-5deg);
}
.brick-icon { font-size: 2rem; margin-left: 5px; }

.nav-menu li { margin-bottom: 5px; }
.nav-menu a {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #CFD8DC;
    display: block;
    padding: 10px 15px;
    text-transform: uppercase;
    transition: all 0.2s ease;
    border-bottom: 1px solid #37474F;
}
.nav-menu a:hover, .nav-menu a.active {
    color: #fff;
    background: #37474F;
    border-left: 5px solid var(--color-red);
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.9rem;
    color: #90A4AE;
    padding-top: 30px;
    border-top: 2px solid #37474F;
    text-align: center;
}
.email-link { display: block; margin-top: 5px; color: var(--color-red); font-weight: bold; }

.stock-status {
    margin-top: 15px;
    background: #004D40;
    color: #fff;
    padding: 5px;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 4px;
}
.status-dot { display: inline-block; width: 8px; height: 8px; background: #00E676; border-radius: 50%; margin-right: 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: 65vh;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 8px solid var(--color-sidebar);
}
.page-header.compact { height: 40vh; }

.overlay {
    background: rgba(38, 50, 56, 0.7);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    color: #fff;
}

.hero-text { 
    max-width: 800px; 
    background: rgba(255,255,255,0.9);
    padding: 40px;
    color: var(--color-sidebar);
    border-top: 10px solid var(--color-red);
}

.discount-badge {
    background: var(--color-red);
    color: #fff;
    display: inline-block;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 1.2rem;
    transform: rotate(-2deg);
    margin-bottom: 10px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}

.hero-header h1, .page-header h1 {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 0.9;
    text-transform: uppercase;
}
.red-text { color: var(--color-red); }

.subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 30px;
    color: #455A64;
}

/* --- İçerik Konteyneri --- */
.content-container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 80px 50px;
    width: 100%;
    background-color: #FFF;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    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: 2.8rem; 
    margin-bottom: 25px; 
    color: var(--color-sidebar);
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 4px solid var(--color-red);
    display: inline-block;
    padding-bottom: 5px;
}
h3 { font-family: var(--font-heading); font-size: 1.8rem; margin-bottom: 10px; color: var(--color-red); margin-top: 15px; text-transform: uppercase; }
p { margin-bottom: 20px; text-align: justify; font-size: 1.05rem; }

.bg-concrete {
    background-color: #CFD8DC;
    padding: 60px;
    border: 1px solid #B0BEC5;
    color: #263238;
}

/* --- Grid ve Kartlar (Product Shelf) --- */
.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.category-card {
    background: #FFF;
    padding: 25px;
    border: 2px solid #ECEFF1;
    transition: transform 0.2s;
    text-align: center;
}
.category-card:hover { transform: translateY(-5px); border-color: var(--color-red); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }

.card-icon { font-size: 3rem; margin-bottom: 15px; }

/* Split Layout */
.split-layout {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 70px;
    background: #F5F5F5;
    padding: 30px;
    border: 1px solid #DDD;
}
.split-layout img { width: 45%; border: 5px solid #fff; box-shadow: 0 5px 10px rgba(0,0,0,0.1); }
.split-layout .split-content { width: 55%; }

.check-list li { margin-bottom: 8px; padding-left: 20px; position: relative; font-weight: 600; font-family: var(--font-heading); font-size: 1.1rem; }
.check-list li::before { content: '■'; color: var(--color-red); position: absolute; left: 0; font-size: 0.8rem; top: 5px; }

/* --- Formlar --- */
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.contact-info { background: var(--color-sidebar); color: #fff; padding: 40px; border-left: 10px solid var(--color-red); }
.contact-info h3 { color: var(--color-red); border-bottom: 1px solid #546E7A; padding-bottom: 10px; }
.contact-info p { color: #CFD8DC; }

.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 5px; font-weight: 700; color: var(--color-sidebar); font-family: var(--font-heading); font-size: 1rem; }
input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #B0BEC5;
    background: #ECEFF1;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 0; /* Köşeli */
    transition: 0.2s;
    font-weight: 600;
}
input:focus, textarea:focus { border-color: var(--color-red); outline: none; background: #FFF; }

.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 1.2rem;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    border-radius: 0;
    letter-spacing: 0.5px;
}
.btn-red { background-color: var(--color-red); color: #FFF; }
.btn-red:hover { background-color: var(--color-red-hover); }
.btn-outline-dark { background: transparent; border: 3px solid var(--color-sidebar); color: var(--color-sidebar); }
.btn-outline-dark:hover { background: var(--color-sidebar); 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 #CFD8DC;
    position: relative;
    border-left: 5px solid var(--color-red);
}
.helmet-icon { font-size: 2rem; margin-bottom: 10px; }
blockquote { font-style: italic; color: #455A64; margin-bottom: 20px; font-size: 1rem; }
cite { font-weight: 700; font-size: 0.9rem; display: block; color: var(--color-sidebar); font-family: var(--font-heading); }

/* --- Footer --- */
.page-footer {
    padding: 50px;
    text-align: center;
    border-top: 5px solid var(--color-sidebar);
    color: #607D8B;
    font-size: 0.9rem;
    margin-top: auto;
    background: #ECEFF1;
}

.red-line { border: 0; height: 5px; background: var(--color-red); 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-red);
        border: 2px solid #fff;
        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: 60px 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; }
    .category-card { margin-bottom: 20px; }
    .contact-info { margin-bottom: 30px; }
}