/* --- GENEL & DEĞİŞKENLER --- */
:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --dark: #0f172a;
    --light: #f8fafc;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: var(--light); color: #334155; }
.container { width: 90%; max-width: 1200px; margin: auto; }

/* --- NAVBAR --- */
.navbar {
    position: fixed; width: 100%; top: 0; z-index: 1000;
    padding: 20px 0; transition: var(--transition);
}

.navbar .logo h2, .navbar .logo small, .navbar nav a {
    color: #ffffff !important;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 12px 0;
}

.navbar.scrolled .logo h2 { color: var(--dark) !important; }
.navbar.scrolled .logo small { color: #64748b !important; }
.navbar.scrolled nav a { color: #334155 !important; }
.navbar.scrolled nav a:hover { color: var(--primary) !important; }

.nav-inner { display: flex; justify-content: space-between; align-items: center; }
nav a { margin-left: 30px; text-decoration: none; font-weight: 600; font-size: 15px; }

/* --- HERO BÖLÜMÜ (DEV BAŞLIKLAR) --- */
.hero {
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center;
    background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.9)), url('assets/images/bg.png');
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    color: #fff;
    padding: 0 20px;
}

.hero-content { max-width: 900px; }

.hero h1 {
    font-size: 4rem; /* Dev başlık */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.4rem; /* Büyük alt metin */
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.hero-buttons { display: flex; gap: 20px; justify-content: center; }
.hero .btn { padding: 18px 45px; font-size: 1.1rem; }

.text-gradient { 
    background: linear-gradient(135deg, #a5b4fc, #818cf8); 
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

/* --- STATS & HİZMETLER --- */
.stats { display: flex; justify-content: space-around; padding: 50px; background: #fff; border-radius: 25px; margin-top: -60px; z-index: 10; position: relative; box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
.stat-item h2 { color: var(--primary); font-size: 38px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; margin-top: 40px; }
.card { background: #fff; padding: 40px; border-radius: 25px; text-align: center; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.02); }
.card i { 
    font-size: 45px; 
    background: linear-gradient(135deg, var(--primary), var(--secondary)); 
    -webkit-background-clip: text; 
    background-clip: text; 
    -webkit-text-fill-color: transparent; 
    margin-bottom: 20px; 
    display: inline-block; 
}

/* --- TRAFİK DETAY BÖLÜMÜ --- */
.traffic-section { padding: 100px 0; }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 40px; }
.info-card { background: #fff; padding: 30px; border-radius: 25px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-left: 5px solid var(--primary); }
.info-card i { font-size: 35px; color: var(--primary); margin-bottom: 15px; display: block; }

.detail-panel { background: #fff; padding: 40px; border-radius: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; border: 1px solid #eee; margin: 50px 0; }
.detail-item h4 { color: var(--primary); margin-bottom: 10px; }

.plus-section { background: var(--dark); color: #fff; padding: 60px; border-radius: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.2); }
.plus-badge { background: #fbbf24; color: #000; padding: 5px 15px; border-radius: 10px; font-weight: 800; font-size: 12px; margin-bottom: 20px; display: inline-block; }
.plus-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 30px 0; }
.list-col h5 { color: #a5b4fc; font-size: 1.2rem; margin-bottom: 15px; }
.list-col ul { list-style: none; }
.list-col li { margin-bottom: 10px; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.list-col li::before { content: "✓"; color: #fbbf24; font-weight: bold; }

/* --- İLETİŞİM & POPUP --- */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 50px; background: #fff; padding: 50px; border-radius: 30px; box-shadow: 0 20px 50px rgba(0,0,0,0.05); }
.contact-form input, .contact-form textarea, .popup-content input, .popup-content select { width: 100%; padding: 12px; margin-bottom: 15px; border-radius: 10px; border: 1px solid #ddd; font-family: inherit; }

.btn { padding: 15px 35px; border-radius: 50px; font-weight: 700; border: none; cursor: pointer; transition: 0.3s; text-decoration: none; display: inline-block; }
.primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; }
.secondary { background: rgba(255, 255, 255, 0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3); }

.whatsapp { position: fixed; bottom: 30px; right: 30px; background: #25D366; color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; z-index: 1000; text-decoration: none; }

.popup { position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: none; align-items: center; justify-content: center; z-index: 2000; }
.popup-content { background: #fff; padding: 40px; border-radius: 25px; width: 90%; max-width: 400px; position: relative; }
.close { position: absolute; right: 20px; top: 10px; font-size: 28px; cursor: pointer; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .plus-lists, .contact-wrapper { grid-template-columns: 1fr; }
}
/* TABLO SABİT YAPI */
table {
    width: 100%;
    table-layout: fixed;
}

/* SÜTUN GENİŞLİKLERİ */
th:nth-child(1), td:nth-child(1) { width: 40px; }
th:nth-child(2), td:nth-child(2) { width: 120px; }
th:nth-child(3), td:nth-child(3) { width: 140px; }
th:nth-child(4), td:nth-child(4) { width: 130px; }
th:nth-child(5), td:nth-child(5) { width: 100px; }
th:nth-child(6), td:nth-child(6) { width: 260px; } /* MESAJ */
th:nth-child(7), td:nth-child(7) { width: 120px; }
th:nth-child(8), td:nth-child(8) { width: 170px; }

/* MESAJ ALANI DÜZEN */
td:nth-child(6) {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    line-height: 1.4;
}

/* GENEL TD DÜZEN */
td {
    vertical-align: top;
}

/* İŞLEM BUTONLARI TAŞMASIN */
td:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* BUTON GÖRSEL DÜZELTME */
.btn {
    display: inline-block;
    white-space: nowrap;
}

/* TELEFON TAŞMASIN */
td:nth-child(4) a {
    word-break: break-all;
}

/* SATIR DENGELEME */
tr {
    height: auto;
}
/* Slogan ve İstatistik Tasarımı */
.hero-slogan { font-size: 1.4rem; font-style: italic; margin: 20px 0; opacity: 0.9; }
.sub-title { text-align: center; margin-bottom: 40px; color: var(--secondary); font-size: 1.1rem; }

.stats-bar { display: flex; justify-content: center; gap: 40px; margin-top: 30px; }
.stat { background: rgba(255,255,255,0.1); padding: 15px 25px; border-radius: 15px; backdrop-filter: blur(5px); }
.stat .num { display: block; font-size: 2rem; font-weight: 800; color: #fff; }
.stat .txt { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: #eee; }

/* Servis Kartları */
.card { cursor: pointer; transition: var(--transition); border: 2px solid transparent; }
.card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.detail-btn { font-size: 0.8rem; color: var(--primary); font-weight: 600; margin-top: 15px; display: block; }

/* Modal Tasarımı */
.modal-overlay { 
    display:none; position:fixed; top:0; left:0; width:100%; height:100%; 
    background:rgba(15, 23, 42, 0.8); z-index:9999; justify-content:center; align-items:center; 
    backdrop-filter: blur(8px);
}
.modal-card { 
    background:#fff; padding:40px; border-radius:25px; max-width:500px; width:90%; 
    position:relative; text-align:center; box-shadow: 0 25px 50px rgba(0,0,0,0.2);
}
.close-modal { position: absolute; right: 20px; top: 15px; font-size: 30px; cursor: pointer; color: #94a3b8; }
.modal-card i { font-size: 4rem; color: var(--primary); margin-bottom: 20px; }
.modal-card h2 { margin-bottom: 15px; color: var(--dark); }
.modal-card p { line-height: 1.6; color: #64748b; margin-bottom: 25px; }
.traffic-section { padding: 80px 0; border-bottom: 1px solid #eee; }
.badge { background: #e2e8f0; color: #1e293b; padding: 4px 12px; border-radius: 15px; font-size: 12px; }