/* --- CLAYMORPHISM DEĞİŞKENLERİ --- */
:root {
    --bg-color: #e6eef5;        /* Açık Mavi-Gri Zemin */
    --text-main: #4b5563;       /* Koyu Gri Metin */
    --text-light: #9ca3af;
    --primary: #6366f1;         /* İndigo (Modern Hukuk) */
    --accent: #f43f5e;          /* Yumuşak Kırmızı */
    
    /* Clay Gölgeleri */
    --clay-shadow-out: 
        12px 12px 24px rgba(163, 177, 198, 0.6), 
        -12px -12px 24px rgba(255, 255, 255, 0.8);
    
    --clay-shadow-in: 
        inset 6px 6px 10px rgba(163, 177, 198, 0.6), 
        inset -6px -6px 10px rgba(255, 255, 255, 0.8);
        
    --radius: 30px;             /* Geniş yuvarlaklık (Clay hissi) */
    --font-head: 'Nunito', sans-serif; /* Yuvarlak Hatlı */
    --font-body: 'Varela Round', sans-serif;
    --max-width: 1100px;
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;800&family=Varela+Round&display=swap');

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { width: 100%; height: auto; display: block; border-radius: var(--radius); }

/* --- HEADER --- */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(230, 238, 245, 0.95);
    backdrop-filter: blur(8px);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    background: var(--bg-color);
    box-shadow: var(--clay-shadow-out);
}

.logo {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links { display: flex; gap: 20px; }

.nav-links a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    padding: 12px 24px;
    border-radius: 50px;
    transition: 0.3s;
}

/* Clay Hover Efekti (İçe Çökme) */
.nav-links a:hover, .nav-links a.active {
    background: var(--bg-color);
    box-shadow: var(--clay-shadow-in);
    color: var(--primary);
}

.burger { 
    display: none; 
    cursor: pointer; 
    padding: 12px;
    border-radius: 50%;
    box-shadow: var(--clay-shadow-out);
    color: var(--primary);
    font-size: 1.2rem;
}
.burger:active { box-shadow: var(--clay-shadow-in); }

/* --- LAYOUTS --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 20px;
    flex: 1;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }

/* --- COMPONENTS (CLAY) --- */
.clay-card {
    background: var(--bg-color);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--clay-shadow-out);
    transition: transform 0.3s;
    border: 2px solid rgba(255,255,255,0.5); /* Hafif parlama */
}

.clay-card:hover { transform: translateY(-8px); }

.btn {
    display: inline-block;
    padding: 16px 40px;
    background-color: var(--primary);
    color: white;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    /* Buton gölgesi daha belirgin */
    box-shadow: 8px 8px 16px rgba(99, 102, 241, 0.4), -8px -8px 16px rgba(255, 255, 255, 0.5);
    transition: 0.2s;
    font-family: var(--font-head);
}

.btn:hover {
    transform: scale(0.98);
    box-shadow: inset 4px 4px 8px rgba(0,0,0,0.2); /* Tıklanma hissi */
}

.icon-box {
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--clay-shadow-in); /* İçe gömük ikon */
    margin-bottom: 25px;
    color: var(--primary);
    background: var(--bg-color);
}
.icon-box svg { width: 40px; height: 40px; fill: currentColor; }

/* --- TYPOGRAPHY --- */
h1, h2, h3 {
    font-family: var(--font-head);
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; text-shadow: 2px 2px 4px rgba(255,255,255,0.5); }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 40px; }
p { margin-bottom: 20px; color: var(--text-main); font-size: 1.1rem; }

/* --- HERO --- */
.hero { padding: 80px 20px; }

/* --- FORMS --- */
.form-group { margin-bottom: 25px; }
label { display: block; margin-bottom: 10px; font-weight: 700; color: var(--text-main); padding-left: 15px; }
input, textarea, select {
    width: 100%;
    padding: 18px 25px;
    border: none;
    border-radius: 20px;
    background: var(--bg-color);
    box-shadow: var(--clay-shadow-in); /* Inputlar içe gömük */
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-main);
    outline: none;
    transition: 0.3s;
}
input:focus, textarea:focus { 
    box-shadow: var(--clay-shadow-in), 0 0 0 2px var(--primary); 
}

/* --- FOOTER --- */
footer {
    background-color: var(--bg-color);
    padding: 60px 0 20px;
    margin-top: auto;
    box-shadow: 0 -10px 20px rgba(163, 177, 198, 0.3); /* Üst gölge */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-col h4 { color: var(--primary); margin-bottom: 20px; font-family: var(--font-head); font-size: 1.3rem; }
.footer-col a { display: block; margin-bottom: 12px; color: var(--text-main); font-weight: 600; }
.footer-col a:hover { color: var(--primary); }

.tr-phone {
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    padding: 12px 25px;
    border-radius: 50px;
    box-shadow: var(--clay-shadow-out); /* Dışa kabarık telefon butonu */
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute; top: 90px; left: 0; width: 100%;
        background-color: var(--bg-color);
        flex-direction: column; padding: 30px; text-align: center;
        box-shadow: 0 10px 20px rgba(163, 177, 198, 0.3);
        border-radius: 0 0 30px 30px;
    }
    .nav-links.active { display: flex; }
    .burger { display: block; }
    
    .grid-2 { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; text-align: center; }
    .hero p { text-align: center; }
    .hero .btn { display: table; margin: 0 auto; }
    
    .footer-content { flex-direction: column; text-align: center; }
    .tr-phone { justify-content: center; }
}