/* --- IMMERSIVE 3D DEĞİŞKENLERİ --- */
:root {
    --bg-deep: #0f0c29;
    --bg-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #b3b3b3;
    --accent: #ff0055;       /* Neon Pembe/Kırmızı Vurgu */
    --accent-blue: #00d2ff;  /* Neon Mavi */
    --perspective: 1000px;
    --card-shadow: 0 20px 50px rgba(0,0,0,0.5);
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
    --font-head: 'Syncopate', sans-serif; /* Geniş, Modern */
    --font-body: 'Rajdhani', sans-serif;
    --max-width: 1200px;
}

/* --- RESET --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--bg-gradient);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    perspective: var(--perspective); /* 3D Sahne Başlangıcı */
}

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@400;600;700&family=Syncopate:wght@400;700&display=swap');

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { width: 100%; height: auto; display: block; border-radius: 10px; }

/* --- 3D LAYER SYSTEM --- */
.scene {
    position: relative;
    transform-style: preserve-3d;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Arka Plan Parçacıkları (Floating Cubes) */
.floating-cube {
    position: fixed;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    z-index: -1;
    animation: float 15s infinite linear;
}
.cube-1 { width: 100px; height: 100px; top: 10%; left: 5%; animation-duration: 20s; }
.cube-2 { width: 150px; height: 150px; bottom: 20%; right: 10%; animation-duration: 25s; animation-direction: reverse; }
.cube-3 { width: 50px; height: 50px; top: 40%; right: 30%; animation-duration: 15s; }

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* --- HEADER --- */
header {
    padding: 30px 0;
    position: relative;
    z-index: 100;
    transform: translateZ(50px); /* Öne Çıkar */
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: var(--border-glass);
}

.logo {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-main);
    text-shadow: 0 0 10px var(--accent-blue);
}

.nav-links { display: flex; gap: 30px; }

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent);
    text-shadow: 0 0 15px var(--accent);
}

.burger { display: none; cursor: pointer; font-size: 1.5rem; }

/* --- 3D CARDS (Tilt Effect) --- */
.card-3d-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    padding: 40px 0;
}

.card-3d {
    background: var(--card-bg);
    border: var(--border-glass);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    position: relative;
    transform-style: preserve-3d;
    box-shadow: var(--card-shadow);
    transition: transform 0.1s ease-out; /* JS ile kontrol edilecek */
}

/* İçerik derinliği */
.card-content {
    transform: translateZ(60px); /* İçerik karttan dışarı fırlasın */
}

.card-img-container {
    transform: translateZ(30px);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- COMPONENTS --- */
.btn-3d {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, var(--accent), #ff5e62);
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 20px;
    transform: translateZ(40px); /* Buton havada */
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(255, 0, 85, 0.4);
}

.btn-3d:hover {
    transform: translateZ(50px) scale(1.05);
    box-shadow: 0 0 30px var(--accent);
}

.icon-box svg { 
    width: 50px; height: 50px; 
    fill: var(--accent-blue); 
    filter: drop-shadow(0 0 10px var(--accent-blue));
    margin-bottom: 20px;
}

/* --- TYPOGRAPHY --- */
h1 {
    font-family: var(--font-head);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #b3b3b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-family: var(--font-head);
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-align: center;
    color: var(--text-main);
    transform: translateZ(40px);
}

p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 20px; }

/* --- GRID SYSTEM --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* --- FORMS --- */
.form-group { margin-bottom: 20px; text-align: left; }
label { display: block; margin-bottom: 5px; color: var(--accent-blue); font-weight: 700; letter-spacing: 1px; }
input, textarea, select {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.3);
    border: 1px solid #333;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    border-radius: 5px;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 15px rgba(255, 0, 85, 0.3); }

/* --- FOOTER --- */
footer {
    margin-top: auto;
    padding: 50px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.4);
    transform: translateZ(20px);
}

.footer-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-col h4 { color: var(--accent-blue); margin-bottom: 15px; font-family: var(--font-head); }
.footer-col a { display: block; margin-bottom: 8px; color: var(--text-muted); }
.footer-col a:hover { color: white; text-shadow: 0 0 10px white; }

.tr-phone { font-weight: 700; color: white; font-size: 1.2rem; display: flex; align-items: center; gap: 10px; }

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .nav-links {
        display: none;
        position: absolute; top: 80px; left: 0; width: 100%;
        background: rgba(15, 12, 41, 0.95);
        flex-direction: column; padding: 30px; text-align: center;
        border-bottom: 1px solid var(--accent);
    }
    .nav-links.active { display: flex; }
    .burger { display: block; }
    
    .grid-2 { grid-template-columns: 1fr; }
    h1 { font-size: 2.5rem; text-align: center; }
    .btn-3d { display: block; margin: 20px auto; width: fit-content; }
    
    .scene { perspective: none; } /* Mobilde performansı artırmak için perspektifi kapatabiliriz veya azaltabiliriz */
    .card-3d { transform: none !important; margin-bottom: 30px; }
    .footer-content { flex-direction: column; text-align: center; }
    .tr-phone { justify-content: center; }
}