/* --- Değişkenler ve Reset (Platform Palette) --- */
:root {
    --sidebar-width: 280px;
    
    /* Renkler */
    --color-bg: #F3F4F6;        /* Çok açık gri */
    --color-sidebar: #FFFFFF;   /* Beyaz Sidebar */
    --color-text: #4B5563;      /* Gri Metin */
    --color-heading: #1F2937;   /* Koyu Antrasit Başlık */
    --color-purple: #6200EA;    /* Canlı Mor */
    --color-purple-hover: #4500B5;
    --color-lavender: #EDE7F6;  /* Açık Mor */
    --color-white: #FFFFFF;
    --color-border: #E5E7EB;
    
    /* Fontlar */
    --font-heading: 'Rubik', sans-serif; /* Yuvarlak, Dostane */
    --font-body: 'Karla', sans-serif;    /* Okunaklı, Modern */
}

* { 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: 8px; }
ul { list-style: none; }

/* --- Ana Düzen --- */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar (App Menu) --- */
.sidebar {
    width: var(--sidebar-width);
    background-color: var(--color-sidebar);
    color: var(--color-text);
    position: fixed;
    height: 100vh;
    padding: 30px 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: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--color-purple);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
}
.search-icon { font-size: 1.5rem; margin-left: 5px; }

.nav-menu li { margin-bottom: 5px; }
.nav-menu a {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: #6B7280;
    display: block;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--color-purple);
    background-color: var(--color-lavender);
}

.sidebar-footer {
    margin-top: auto;
    font-size: 0.85rem;
    color: #9CA3AF;
    padding-top: 30px;
    border-top: 1px solid var(--color-border);
}
.email-link { display: block; margin-top: 5px; color: var(--color-heading); font-weight: bold; margin-bottom: 15px; }

.pro-btn {
    display: block;
    background: #111;
    color: #fff;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.9rem;
}
.pro-btn:hover { background: #333; }

/* --- 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 {
    height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 0 0 30px 30px; /* Modern yuvarlak köşe */
    overflow: hidden;
    margin: 0 20px;
    margin-top: 20px;
}
.page-header.compact { height: 35vh; border-radius: 0 0 30px 30px; margin: 0 20px; margin-top: 20px; overflow: hidden; position: relative;}

.overlay {
    background: linear-gradient(135deg, rgba(98, 0, 234, 0.9), rgba(98, 0, 234, 0.4));
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 40px;
    color: #fff;
    text-align: center;
}

.hero-search { max-width: 700px; width: 100%; }

.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: #fff;
}
.purple-text { color: #B388FF; }

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 40px;
    color: #E0E7FF;
}

/* Search Bar (Hero) */
.search-bar {
    display: flex;
    background: #fff;
    padding: 5px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
.search-bar input {
    flex: 1;
    border: none;
    padding: 15px 25px;
    border-radius: 50px 0 0 50px;
    font-size: 1rem;
    outline: none;
}
.search-bar button {
    background: var(--color-purple);
    color: #fff;
    border: none;
    padding: 0 30px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.search-bar button:hover { background: var(--color-purple-hover); }

/* --- İçerik Konteyneri --- */
.content-container {
    max-width: 1100px; 
    margin: 0 auto;
    padding: 80px 40px;
    width: 100%;
}

/* --- Tipografi ve Bölümler --- */
.text-section { margin-bottom: 60px; }
h2 { 
    font-family: var(--font-heading); 
    font-size: 2.2rem; 
    margin-bottom: 20px; 
    color: var(--color-heading);
    font-weight: 700;
}
h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 10px; color: var(--color-heading); }
p { margin-bottom: 20px; text-align: justify; font-size: 1.05rem; }

.bg-lavender {
    background-color: var(--color-lavender);
    padding: 60px;
    border-radius: 20px;
    text-align: center;
}
.bg-white { background: #fff; padding: 40px; border-radius: 16px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.border-purple { border-left: 5px solid var(--color-purple); }

/* --- Grid ve Kartlar (Categories) --- */
.grid-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 70px;
}

.category-card {
    background: #FFF;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    border: 1px solid var(--color-border);
    transition: transform 0.3s;
    text-align: center;
    cursor: pointer;
}
.category-card:hover { transform: translateY(-5px); border-color: var(--color-purple); box-shadow: 0 10px 20px rgba(98, 0, 234, 0.1); }

.icon-bg { 
    width: 70px; height: 70px; 
    background: #F3E5F5; 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 2rem; 
    margin: 0 auto 20px auto;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
    text-align: center;
}
.step-card { background: #fff; padding: 30px; border-radius: 16px; position: relative; }
.step-num { 
    width: 40px; height: 40px; background: var(--color-purple); color: #fff; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center; 
    font-weight: bold; margin: 0 auto 15px auto;
}

/* --- Formlar --- */
.contact-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.contact-info { background: #FFF; padding: 40px; border-radius: 16px; border: 1px solid var(--color-border); }
.contact-info h3 { color: var(--color-purple); font-size: 1.2rem; margin-bottom: 15px; }

.form-group { margin-bottom: 20px; }
label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--color-heading); font-size: 0.95rem; }
input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #D1D5DB;
    background: #FFF;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 8px;
    transition: 0.2s;
}
input:focus, select:focus, textarea:focus { border-color: var(--color-purple); outline: none; box-shadow: 0 0 0 3px rgba(98, 0, 234, 0.1); }

.btn {
    display: inline-block;
    padding: 15px 35px;
    font-family: var(--font-heading);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    border-radius: 8px;
}
.btn-purple { background-color: var(--color-purple); color: #FFF; }
.btn-purple:hover { background-color: var(--color-purple-hover); box-shadow: 0 5px 15px rgba(98, 0, 234, 0.3); }
.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: 25px;
    border-radius: 16px;
    border: 1px solid var(--color-border);
    position: relative;
}
.pro-review { border-color: var(--color-purple); background: #F3E5F5; }
.user-info { display: flex; align-items: center; margin-bottom: 15px; }
.avatar { 
    width: 40px; height: 40px; background: #EEE; border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    font-weight: bold; margin-right: 15px; color: #666;
}
.avatar.pro { background: var(--color-purple); color: #fff; }
.service-tag { font-size: 0.8rem; color: #888; display: block; }
.stars { color: #FFC107; margin-top: 10px; }

/* --- Footer --- */
.page-footer {
    padding: 40px;
    text-align: center;
    border-top: 1px solid #E5E7EB;
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-top: auto;
    background: #FFF;
}

.purple-line { border: 0; height: 3px; background: var(--color-purple); margin: 20px 0; width: 60px; border-radius: 3px; }

/* --- 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: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        background: #FFF;
        border: 1px solid #E5E7EB;
        width: 45px;
        height: 45px;
        border-radius: 8px;
        cursor: pointer;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    }
    .dot {
        display: block;
        width: 6px;
        height: 6px;
        background: var(--color-purple);
        border-radius: 50%;
    }

    .hero-header h1 { font-size: 2.5rem; }
    .hero-header { margin: 0; border-radius: 0; }
    .page-header.compact { margin: 0; border-radius: 0; }
    .content-container { padding: 50px 20px; }
    .grid-section, .contact-layout, .steps-grid { grid-template-columns: 1fr; display: grid; gap: 30px; }
}