/* --- GENEL AYARLAR --- */
:root {
    --blue: #4285F4;
    --red: #EA4335;
    --yellow: #FBBC05;
    --green: #34A853;
    --dark: #202124;
    --gray: #5f6368;
    --light: #f8f9fa;
    --white: #ffffff;
    --whatsapp-color: #25D366;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Roboto', sans-serif; color: var(--dark); line-height: 1.6; background-color: var(--white); -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER & LOGO DÜZENLEMESİ --- */
header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.logo-area { 
    display: flex; 
    flex-direction: column; /* Alt alta dizilim */
    justify-content: center;
}
.main-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}
.main-logo { height: 50px; width: auto; }
.logo-text { font-size: 1.1rem; color: var(--gray); font-weight: 500; }

/* Serkan Karakoyun İmzası */
.logo-name {
    font-size: 0.9rem;
    color: var(--blue);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: -2px; /* Biraz yukarı çek */
    margin-left: 2px;
}

nav ul { display: flex; gap: 30px; }
nav ul li a { font-weight: 500; color: var(--gray); font-size: 1rem; }
nav ul li a:hover { color: var(--blue); }

.header-btn {
    background: var(--whatsapp-color);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
    white-space: nowrap;
}
.header-btn:hover { background: #128C7E; transform: translateY(-2px); }

/* --- HERO SECTION --- */
.hero {
    margin-top: 80px;
    padding: 60px 0 100px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
}
.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
}
.hero-text { flex: 1; padding-right: 20px; }
.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 700;
}
.hero-text strong { color: var(--blue); }
.sub-headline { font-size: 1.2rem; color: var(--gray); margin-bottom: 30px; }

.badges-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255,255,255,0.8);
    padding: 10px 20px;
    border-radius: 10px;
    display: inline-flex;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.badge-item img { height: 50px; }
.badge-text strong { color: var(--blue); display: block; }
.badge-text span { font-size: 0.85rem; color: var(--gray); }

/* --- HERO FORM --- */
.hero-form-wrapper { flex: 0 0 400px; position: relative; z-index: 10; }
.form-box {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-top: 6px solid var(--blue);
}
.form-header { text-align: center; margin-bottom: 20px; }
.form-header h3 { color: var(--blue); font-size: 1.5rem; margin-bottom: 5px; }
.form-header p { color: var(--gray); font-size: 0.95rem; }

.input-group { position: relative; margin-bottom: 15px; }
.input-group i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--gray); z-index: 2; }
.input-group input, .input-group select {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f9f9f9;
    outline: none;
    transition: 0.3s;
    appearance: none;
}
.input-group input:focus, .input-group select:focus {
    border-color: var(--blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.1);
}

.btn-submit {
    width: 100%;
    background: var(--red);
    color: white;
    border: none;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}
.btn-submit:hover { background: #c5221f; }
.form-footer { text-align: center; margin-top: 15px; font-size: 0.8rem; color: #999; }
.basarili-mesaj { background: #d4edda; color: #155724; padding: 10px; border-radius: 5px; margin-bottom: 15px; font-size: 0.9rem; text-align: center; }
.hata-mesaj { background: #f8d7da; color: #721c24; padding: 10px; border-radius: 5px; margin-bottom: 15px; font-size: 0.9rem; text-align: center; }

/* --- FEATURES --- */
.features { padding: 80px 0; background: var(--white); }
.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--dark);
    line-height: 1.3;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--blue);
    margin: 15px auto 0;
    border-radius: 2px;
}
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card {
    text-align: center;
    padding: 40px 30px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    transition: 0.3s;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: 0 10px 30px rgba(0,0,0,0.08); border-color: transparent; }
.icon-box { font-size: 2.5rem; margin-bottom: 20px; }
.icon-box.red { color: var(--red); }
.icon-box.blue { color: var(--blue); }
.icon-box.green { color: var(--green); }
.feature-card h3 { margin-bottom: 15px; font-size: 1.3rem; }
.feature-card p { color: var(--gray); font-size: 0.95rem; }

/* --- SERVICES --- */
.services { padding: 80px 0; background: #F8F9FA; }
.services-wrapper { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.service-item {
    background: var(--white);
    padding: 30px;
    width: 250px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}
.service-item:hover { transform: translateY(-5px); }
.service-item i { margin-bottom: 15px; display: block; }
.service-item h4 { margin-bottom: 10px; color: var(--dark); }
.service-item p { font-size: 0.9rem; color: var(--gray); }

/* --- FOOTER --- */
footer { background: #202124; color: #fff; padding-top: 60px; margin-top: 50px; }
.footer-content { display: flex; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-info { flex: 1; min-width: 300px; }
.footer-map { flex: 1; min-width: 300px; }

.footer-logo { font-size: 1.5rem; font-weight: bold; margin-bottom: 20px; }
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    color: #bdc1c6;
}
.contact-list i { color: var(--blue); margin-top: 5px; flex-shrink: 0; }
.contact-list a:hover { color: var(--white); }

.copyright {
    border-top: 1px solid #3c4043;
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: #9aa0a6;
}
.disclaimer { font-size: 0.75rem; margin-top: 10px; opacity: 0.7; padding: 0 10px; }

/* --- SAĞ ALT SABİT WHATSAPP BUTONU --- */
.sticky-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--whatsapp-color);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 35px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    transition: 0.3s;
}
.sticky-whatsapp:hover {
    transform: scale(1.1);
    background: #128C7E;
}

/* --- RESPONSIVE / MOBİL AYARLAR --- */
@media (max-width: 768px) {
    header { height: auto; padding: 15px 0; position: relative; }
    .header-container { flex-direction: column; gap: 15px; }
    .logo-area { align-items: center; margin-bottom: 5px; }
    .logo-name { font-size: 0.85rem; } /* Mobilde isim biraz daha küçük */
    
    nav { display: none; }
    .header-btn { width: 100%; justify-content: center; margin-top: 5px; }

    .hero { margin-top: 0; padding: 40px 0; min-height: auto; text-align: center; }
    .hero-content { flex-direction: column; gap: 30px; }
    .hero-text { padding-right: 0; }
    .hero-text h1 { font-size: 1.8rem; margin-bottom: 15px; }
    .sub-headline { font-size: 1rem; margin-bottom: 20px; }
    .badges-wrapper { justify-content: center; width: 100%; }
    
    .hero-form-wrapper { width: 100%; flex: auto; }
    .form-box { padding: 20px; }

    .section-title { font-size: 1.6rem; margin-bottom: 30px; }
    .feature-grid { grid-template-columns: 1fr; }
    .service-item { width: 100%; }

    .footer-content { flex-direction: column; }
    .footer-info, .footer-map { min-width: 100%; }
    footer { padding-top: 40px; margin-top: 30px; }
    
    /* Mobilde WhatsApp butonu biraz daha küçük ve kenarda */
    .sticky-whatsapp { width: 50px; height: 50px; font-size: 28px; bottom: 15px; right: 15px; }
}