@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #f97316;
    --dark: #0f172a;
    --light: #f8fafc;
    --gray: #64748b;
}

body {
    background-color: var(--light);
    color: var(--dark);
    overflow-x: hidden;
}

/* Topbar */
.topbar {
    background: var(--dark);
    color: #fff;
    font-size: 14px;
    padding: 8px 8%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.topbar-container { display: flex; justify-content: space-between; }
.top-info span { margin-right: 20px; }
.top-info i { color: var(--secondary); margin-right: 5px; }

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon { color: var(--primary); transform: rotate(15deg); }
.logo span { color: var(--secondary); }

.navbar nav ul { display: flex; gap: 30px; }
.navbar nav ul a { color: var(--dark); font-weight: 600; font-size: 16px; transition: 0.3s; }
.navbar nav ul a:hover { color: var(--primary); }

.nav-buttons { display: flex; gap: 15px; }
.btn-login { color: var(--dark); font-weight: 600; align-self: center; }

.btn-register {
    background: var(--primary);
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-register:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Hero Section */
.hero-section {
    background: linear-gradient(140deg, #fff 40%, #e0f2fe 100%);
    padding: 100px 8%;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-container { display: flex; align-items: center; gap: 50px; }
.hero-text { flex: 1; }

.badge-top {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 20px;
}

.hero-text h1 { font-size: 52px; font-weight: 800; line-height: 1.2; color: var(--dark); margin-bottom: 20px; }
.hero-text h1 span { color: var(--primary); }
.hero-text p { color: var(--gray); font-size: 18px; margin-bottom: 40px; }

.hero-buttons { display: flex; gap: 20px; }
.btn-primary { background: var(--secondary); color: #fff; padding: 14px 32px; border-radius: 30px; font-weight: 700; box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3); }
.btn-secondary { background: var(--dark); color: #fff; padding: 14px 32px; border-radius: 30px; font-weight: 700; }

.hero-image { flex: 1; display: flex; justify-content: center; }
.main-circle { width: 350px; height: 350px; background: var(--primary); border-radius: 50%; position: relative; animation: pulse 4s infinite alternate; }

@keyframes pulse { 0% { transform: scale(1); } 100% { transform: scale(1.05); } }
/* MAVİ DAİRE GENEL AYARLARI */
.main-circle { 
    width: 400px; 
    height: 400px; 
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%); 
    border-radius: 50%; 
    position: relative; 
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.2);
}

/* TELEFON KASASI */
.phone-mockup {
    width: 190px;
    height: 340px;
    background: #0f172a;
    border: 8px solid #334155;
    border-radius: 32px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* TELEFON HOPARLÖRÜ */
.phone-speaker {
    width: 26px;
    height: 4px;
    background: #475569;
    border-radius: 10px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* TELEFON EKRANI */
.phone-screen {
    flex: 1;
    background: #f1f5f9;
    padding: 25px 10px 10px 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* SAAT VE ŞEBEKE BARI */
.screen-top-bar {
    position: absolute;
    top: 4px;
    left: 0;
    width: 100%;
    padding: 0 12px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    font-weight: 700;
    color: #64748b;
}
.status-icons { display: flex; gap: 4px; }

/* TELEFONDAN DIŞARI TAŞAN SMS BİLDİRİM KARTI */
.sms-notification-card {
    background: #ffffff;
    border-left: 4px solid #f97316; /* Turuncu ay&mi vurgusu */
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    width: 240px; /* Telefondan hafif taşması için enini geniş tuttuk */
    position: absolute;
    left: -25px; /* Sola doğru taşırma efekti */
    animation: floatSMS 3s infinite alternate ease-in-out;
}

/* BİLDİRİMİN BAŞLIĞI */
.sms-header {
    display: flex;
    justify-content: space-between;
    font-size: 10px; /* Başlığı hafif ufattık */
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2px;
}
.sms-header .brand i { color: #2563eb; margin-right: 2px; font-size: 9px; }
.sms-header .sms-time { color: #94a3b8; font-weight: 400; }

/* BİLDİRİM METNİ (GÜNCELLENDİ) */
.sms-body {
    font-size: 9px; /* Mesaj metnini 9px yaptık ki kutu aşağı uzayıp taşmasın */
    color: #475569;
    line-height: 1.25;
    font-weight: 500;
    word-wrap: break-word;
}

/* ETRAFTAKİ HAREKETLİ SÜS İKONU (YILDIRIM) */
.chat-3 { 
    position: absolute;
    top: 20px; 
    right: 10px; 
    color: #eab308; 
    font-size: 32px;
    background: #fff;
    padding: 14px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* ÇAKIŞMAYI ÖNLEYEN YENİ HAFİF SALLANTI ANİMASYONU */
@keyframes floatingSMS {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

/* Responsive Düzenleme: Küçük ekranlarda taşma yapmasın */
@media(max-width: 480px) {}
    .main-circle { width: 300px; height: 300px; }
    .phone-mockup { width: 150px; height: 260px; }

/* TELEFONUN İÇİNE TAM SIĞACAK ŞEKİLDE AYARLANAN SMS KUTUSU */
.sms-notification-card {
    background: #ffffff;
    border-left: 4px solid #f97316;
    padding: 6px 8px; /* İç boşluğu biraz daha kıstık */
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    
    width: calc(100% - 16px);
    position: absolute;
    left: 8px;
    top: 60px; /* Sabit üst boşluk verdik, aşağı kaymasını kesin olarak engelledik */
    box-sizing: border-box;
    z-index: 5;
    
    /* Animasyonu temizledik, çakışma yapmasın diye yeni animasyon yazdık */
    animation: floatingSMS 3s infinite ease-in-out; 
}
/* Services Section */
.services-section { padding: 100px 8%; background: #fff; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 36px; font-weight: 800; color: var(--dark); margin-bottom: 10px; }
.section-header p { color: var(--gray); font-size: 16px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.service-card { padding: 40px 30px; background: var(--light); border-radius: 20px; transition: 0.3s; border: 1px solid rgba(0,0,0,0.05); }
.service-card:hover { transform: translateY(-10px); background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }

.icon-box { width: 70px; height: 70px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #fff; margin-bottom: 25px; }
.icon-box.blue { background: var(--primary); }
.icon-box.orange { background: var(--secondary); }
.icon-box.green { background: #10b981; }

.service-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 15px; }
.service-card p { color: var(--gray); margin-bottom: 20px; }
.read-more { color: var(--primary); font-weight: 700; }

/* Calculator Section */
.calc-section { padding: 100px 8%; background: #f1f5f9; }
.calc-container { max-width: 700px; margin: 0 auto; }
.calc-header { text-align: center; margin-bottom: 40px; }
.calc-box { background: #fff; padding: 40px; border-radius: 24px; box-shadow: 0 15px 35px rgba(0,0,0,0.05); }
.calc-control { margin-bottom: 30px; }
.calc-control label { display: flex; justify-content: space-between; font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.calc-control label span { color: var(--primary); }
#sms-range { width: 100%; height: 8px; border-radius: 5px; background: #e2e8f0; outline: none; }

.calc-type { display: flex; gap: 15px; margin-bottom: 25px; }
.type-btn { flex: 1; padding: 12px; border: 2px solid #e2e8f0; background: none; border-radius: 12px; font-weight: 700; cursor: pointer; transition: 0.3s; }
.type-btn.active, .type-btn:hover { border-color: var(--primary); background: rgba(37, 99, 235, 0.05); color: var(--primary); }

.calc-result { text-align: center; border-top: 1px dashed #cbd5e1; padding-top: 30px; }
.total-price { font-size: 42px; font-weight: 800; color: var(--dark); margin: 10px 0; }

/* Why Us Section */
.why-us-section { padding: 100px 8%; background: #fff; }
.why-us-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(45%, 1fr)); gap: 40px; }
.why-card { display: flex; gap: 20px; align-items: flex-start; }
.why-icon { background: rgba(249, 115, 22, 0.1); color: var(--secondary); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.why-info h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.why-info p { color: var(--gray); line-height: 1.6; }

/* Contact Section */
.contact-section { padding: 100px 8%; background: #f8fafc; }
.contact-container { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; background: #fff; padding: 40px; border-radius: 24px; box-shadow: 0 15px 30px rgba(0,0,0,0.03); }
.contact-details { display: flex; flex-direction: column; justify-content: center; }
.contact-details h3 { font-size: 24px; margin-bottom: 15px; font-weight: 700; }
.contact-details > p { color: var(--gray); margin-bottom: 30px; }
.detail-item { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.detail-item i { color: var(--primary); font-size: 20px; width: 30px; }

.contact-form-box .input-group { margin-bottom: 15px; }
.contact-form-box input, .contact-form-box textarea { width: 100%; padding: 14px; border: 1px solid #cbd5e1; border-radius: 10px; outline: none; font-size: 15px; }
.contact-form-box input:focus, .contact-form-box textarea:focus { border-color: var(--primary); }
.btn-submit { background: var(--dark); color: #fff; padding: 14px 30px; border: none; border-radius: 10px; font-weight: 700; cursor: pointer; transition: 0.3s; width: 100%; }
.btn-submit:hover { background: var(--primary); }

/* Counters */
.counter-section { background: var(--dark); color: #fff; padding: 60px 8%; }
.counter-grid { display: flex; justify-content: space-around; text-align: center; }
.counter-item h3 { font-size: 46px; font-weight: 800; color: var(--secondary); }
.counter-item p { color: #94a3b8; font-size: 16px; }

/* Responsive */
@media(max-width: 992px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-buttons { justify-content: center; }
    .hero-image { display: none; }
    .navbar nav, .nav-buttons { display: none; }
    .why-us-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .counter-grid { flex-direction: column; gap: 30px; }
}.logo-img {
    height: 150px;        /* Boyutu buradan iyice küçülttük */
    width: auto;         /* Orantıyı korur, yamulmayı önler */
    object-fit: contain; /* Taşmayı engeller */
}
/* FORM DURUM MESAJLARI STİLİ */
.form-status-msg {
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    display: none; /* İlk başta gizli, JS ile açılacak */
    transition: all 0.3s ease;
}

.form-status-msg.success {
    display: block;
    background-color: rgba(16, 185, 129, 0.1); /* Hafif yeşil arka plan */
    color: #10b981; /* Canlı yeşil yazı */
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status-msg.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1); /* Hafif kırmızı arka plan */
    color: #ef4444; /* Canlı kırmızı yazı */
    border: 1px solid rgba(239, 68, 68, 0.2);
}
/* AÇILIR MENÜ (DROPDOWN) SİSTEMİ */
.dropdown-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.dropdown-submenu li a {
    color: #334155 !important;
    padding: 10px 20px !important;
    display: block !important;
    font-size: 14px !important;
    text-align: left !important;
    font-weight: 600 !important;
    transition: background 0.2s ease !important;
}

.dropdown-submenu li a:hover {
    background: #f1f5f9 !important;
    color: #2563eb !important;
}

/* MOUSE ÜZERİNE GELİNCE AÇILMA AKTI */
.dropdown-menu-item:hover .dropdown-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* FİYAT KARTLARININ ÜZERİNE GELİNCE BÜYÜME EFEKTİ */
.animated-card:hover {
    transform: translateY(-8px);
}