/* --- Değişkenler & Reset --- */
:root {
    --bg-body: #f0f2f5;
    --bg-card: #ffffff;
    --primary: #2563eb; /* Tech Blue */
    --primary-dark: #1e40af;
    --accent: #f59e0b;  /* Electric Orange */
    --text-main: #1e293b;
    --text-muted: #64748b;
    --radius: 24px;     /* Bento Yuvarlaklığı */
    --gap: 20px;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --max-width: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }
img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius); }

/* --- Header --- */
header {
    max-width: var(--max-width);
    margin: 0 auto 20px auto;
    background: var(--bg-card);
    padding: 15px 30px;
    border-radius: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 20px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo span { color: var(--primary); }

.nav-links { display: flex; gap: 25px; }
.nav-links a { font-weight: 600; font-size: 0.95rem; color: var(--text-main); }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Mobil Menü */
.burger { display: none; cursor: pointer; }
.burger div { width: 25px; height: 3px; background-color: var(--text-main); margin: 5px; }

/* --- Bento Grid Sistemi --- */
.container { max-width: var(--max-width); margin: 0 auto; width: 100%; flex: 1; }

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: var(--gap);
}

/* Kart Stili */
.bento-box {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-box:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.05); }

/* Grid Yerleşim Sınıfları */
.span-2-col { grid-column: span 2; }
.span-2-row { grid-row: span 2; }
.span-3-col { grid-column: span 3; }
.span-full { grid-column: 1 / -1; }

/* İçerik Stilleri */
h1 { font-size: 2.5rem; line-height: 1.1; margin-bottom: 10px; }
h2 { font-size: 1.8rem; margin-bottom: 15px; }
h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }

.btn {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    width: fit-content;
    border: none;
    cursor: pointer;
}
.btn:hover { background: var(--primary-dark); }

.icon-box svg { width: 40px; height: 40px; fill: var(--primary); margin-bottom: 15px; }

/* Görsel Kutuları */
.img-box { padding: 0; }
.img-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 30px; color: white;
}
.img-overlay h3, .img-overlay p { color: white; margin-bottom: 5px; }

/* --- Formlar --- */
.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 5px; font-weight: 600; }
input, textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    background: #f8fafc;
}
input:focus, textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }

/* --- Footer --- */
footer {
    max-width: var(--max-width);
    margin: 40px auto 0 auto;
    background: #0f172a;
    color: white;
    border-radius: var(--radius);
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}
footer h4 { color: var(--primary); margin-bottom: 15px; }
footer a { display: block; margin-bottom: 8px; color: #94a3b8; }
footer a:hover { color: white; }
.german-phone { font-weight: 700; color: white; font-size: 1.1rem; }

/* --- Responsive --- */
@media (max-width: 900px) {
    .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .span-2-col, .span-3-col, .span-2-row { grid-column: span 1; grid-row: span 1; }
    
    .nav-links {
        display: none;
        position: absolute; top: 70px; left: 0; width: 100%;
        background: var(--bg-card); padding: 20px;
        flex-direction: column; text-align: center;
        border-radius: var(--radius);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .burger { display: block; }
}