/*
 * ==========================================================
 * KORKUSUZ SOFT - FERAH VE MODERN UI v3.0
 * ==========================================================
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Daha Açık, Ferah Renk Paleti */
    --primary: #2563EB;       
    --primary-hover: #1D4ED8;
    --primary-light: #EFF6FF; /* Çok açık mavi arka planlar için */
    --dark-slate: #0F172A;    
    
    /* Yüzey Renkleri (Göz Yormayan) */
    --bg-main: #FFFFFF;
    --bg-soft: #F8FAFC;       
    --border-light: #E2E8F0;
    
    /* Metin Renkleri */
    --text-dark: #1E293B;
    --text-muted: #64748B;
    
    /* Yumuşak Yuvarlaklık ve Gölgeler */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-pill: 100px;
    
    /* Boğmayan, Çok Hafif Gölgeler */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Animasyon */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.8s ease forwards; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* =========================================
   HEADER (Temiz ve İnce)
========================================= */
.header-modern {
    position: fixed;
    top: 0; left: 0; right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 75px;
}

.logo {
    display: block;
    width: 150px;
    height: 40px;
    background-image: url('../images/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.logo:empty::before { content: "UstaBul"; }

.nav-menu { display: flex; align-items: center; gap: 1.5rem; }

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}
.nav-link:hover { color: var(--primary); }

.nav-divider { width: 1px; height: 20px; background: var(--border-light); }

.btn-text { text-decoration: none; color: var(--text-dark); font-weight: 600; font-size: 0.95rem; }
.btn-text:hover { color: var(--primary); }

.btn-primary {
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 500;
    transition: var(--transition);
}
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-1px); }

.hamburger { display: none; font-size: 1.6rem; cursor: pointer; color: var(--text-dark); }

/* =========================================
   NEFES ALAN HERO (Daha Açık Renkler)
========================================= */
.hero-clean {
    position: relative;
    padding: 10rem 0 6rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Boğucu Siyah Yerine, Ferah Mavi/Lacivert Degrade */
.hero-gradient {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(37, 99, 235, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.text-primary { color: #93C5FD; } /* Açık, ferah mavi */

.hero-desc {
    font-size: 1.15rem;
    color: #F8FAFC;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Arama Barı (Ferah & Minimal) */
.search-bar-clean {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 0.5rem;
    border-radius: var(--radius-pill);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* Gölge hafifletildi */
    max-width: 750px;
    margin: 0 auto;
}

.search-block {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    border-radius: var(--radius-pill);
}

.search-icon { font-size: 1.1rem; color: var(--primary); margin-right: 1rem; }

.input-wrapper { display: flex; flex-direction: column; text-align: left; width: 100%; }
.input-wrapper label { font-size: 0.75rem; font-weight: 600; color: var(--text-dark); }
.input-wrapper input {
    border: none; background: transparent; padding: 0.2rem 0;
    font-size: 1rem; color: var(--text-dark); outline: none;
}
.input-wrapper input::placeholder { color: #94A3B8; }

.search-divider { width: 1px; height: 30px; background: var(--border-light); }

.btn-search-action {
    background: var(--primary); color: #fff; border: none;
    height: 55px; min-width: 55px; border-radius: var(--radius-pill);
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-size: 1.2rem; cursor: pointer; transition: var(--transition);
    padding: 0 1.5rem; font-weight: 600;
}
.btn-search-action:hover { background: var(--primary-hover); }
.desktop-hide { display: none; } /* Sadece mobilde metin gösterilecek */

/* =========================================
   GÜVEN BARI (Açık ve Temiz)
========================================= */
.trust-bar-clean {
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    padding: 1.5rem 0;
}

.trust-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.trust-item {
    display: flex; align-items: center; gap: 0.8rem;
    color: var(--text-muted); font-size: 1rem;
}
.trust-item i { font-size: 1.5rem; color: var(--primary); }
.trust-item strong { color: var(--text-dark); font-weight: 700; }

/* =========================================
   KATEGORİ KARTLARI (Ferah Tasarım)
========================================= */
.section-padding { padding: 6rem 0; }
.bg-soft { background-color: var(--bg-soft); }

.section-header-clean { text-align: left; margin-bottom: 3rem; }
.section-header-clean.center { text-align: center; }

.section-header-clean h2 {
    font-size: 2.2rem; font-weight: 700; color: var(--text-dark);
    margin-bottom: 0.5rem; letter-spacing: -0.5px;
}
.section-header-clean p { font-size: 1.1rem; color: var(--text-muted); }

.grid-4x2 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* Kartların Kendi Rengi Beyaz, Resimler İçeride */
.card-clean {
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    display: flex; flex-direction: column;
}

.card-img-wrapper { height: 140px; overflow: hidden; }
.card-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}

.card-info {
    padding: 1.2rem;
    display: flex; align-items: center; gap: 1rem;
}

.icon-box {
    width: 45px; height: 45px;
    background: var(--primary-light); color: var(--primary);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; flex-shrink: 0;
}

.text-box h3 { font-size: 1.05rem; font-weight: 600; color: var(--text-dark); margin-bottom: 2px; }
.text-box span { font-size: 0.85rem; color: var(--text-muted); }

.card-clean:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card-clean:hover .card-img-wrapper img { transform: scale(1.05); }

/* Tümünü Gör Kartı */
.card-all { background: var(--primary-light); justify-content: center; border: none; }
.all-content { text-align: center; padding: 2rem; }
.icon-circle {
    width: 50px; height: 50px; background: #fff; color: var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin: 0 auto 1rem; transition: var(--transition);
}
.all-content h3 { color: var(--primary); font-size: 1.1rem; font-weight: 600; }
.card-all:hover .icon-circle { background: var(--primary); color: #fff; }

/* =========================================
   NASIL ÇALIŞIR (Minimalist)
========================================= */
.steps-grid-clean {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: #fff; padding: 2.5rem 2rem;
    border-radius: var(--radius-md); text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    position: relative; transition: var(--transition);
}

.step-number-badge {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    width: 30px; height: 30px; background: var(--dark-slate); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.9rem;
}

.step-icon {
    font-size: 2.5rem; color: var(--primary);
    margin-bottom: 1.5rem;
}

.step-card h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 0.8rem; }
.step-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

.step-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

/* =========================================
   KORKUSUZ SOFT FOOTER (Sade)
========================================= */
.footer-clean {
    background: var(--dark-slate); color: #94A3B8; padding: 5rem 0 2rem;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }

.footer-logo { color: #fff; font-size: 1.8rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -1px; }
.footer-brand-col p { font-size: 0.95rem; line-height: 1.6; max-width: 300px; }

.footer-links h4 { color: #fff; font-size: 1.05rem; font-weight: 600; margin-bottom: 1.2rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 0.8rem; }
.footer-links ul a { color: #94A3B8; text-decoration: none; font-size: 0.95rem; transition: var(--transition); }
.footer-links ul a:hover { color: #fff; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem;
    display: flex; justify-content: space-between; align-items: center; font-size: 0.9rem;
}
.korkusuz-signature strong { color: #fff; font-weight: 600; }

/* =========================================
   MOBİL RESPONSIVE (Boğmayan Optimizasyon)
========================================= */
@media (max-width: 1024px) {
    .grid-4x2 { grid-template-columns: repeat(3, 1fr); }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .hamburger { display: block; }
    
    .nav-menu {
        position: absolute; top: 75px; left: 0; width: 100%;
        background: #fff; flex-direction: column; padding: 1.5rem; gap: 1rem;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-soft);
        opacity: 0; visibility: hidden; transform: translateY(-10px);
        transition: var(--transition);
    }
    
    .nav-divider { display: none; }
    .nav-menu a, .nav-menu .btn-primary { width: 100%; text-align: center; padding: 0.8rem; }
    #mobile-menu-btn:checked ~ .nav-menu { opacity: 1; visibility: visible; transform: translateY(0); }

    /* MOBİL HERO: Başlık Küçültüldü, Arama Formu Alt Alta Getirildi */
    .hero-clean { padding: 7rem 0 4rem 0; min-height: auto; }
    .hero-title { font-size: 1.8rem; letter-spacing: -0.5px; line-height: 1.2; margin-bottom: 1rem; }
    .hero-desc { font-size: 1rem; padding: 0 1rem; margin-bottom: 2rem; }
    
    .search-bar-clean {
        flex-direction: column; /* Alt alta dizilim */
        border-radius: var(--radius-md);
        padding: 0.8rem; gap: 0.5rem;
    }
    
    .search-block { width: 100%; padding: 0.5rem; background: var(--bg-soft); border-radius: var(--radius-sm); }
    .search-divider { width: 100%; height: 1px; margin: 0; display: none; }
    
    .btn-search-action { width: 100%; border-radius: var(--radius-sm); padding: 1rem; margin-top: 0.5rem; }
    .btn-search-action i { display: none; } /* Mobilde ikonu gizle */
    .desktop-hide { display: inline; font-size: 1.1rem; } /* Sadece "Teklif Al" yazısı göster */

    .trust-grid { gap: 1rem; flex-direction: column; align-items: flex-start; padding: 0 2rem; }
    
    .section-header-clean h2 { font-size: 1.8rem; }
    .section-padding { padding: 4rem 0; }

    /* Mobilde Kusursuz 2x2 Grid */
    .grid-4x2 { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .card-img-wrapper { height: 100px; }
    .card-info { padding: 0.8rem; flex-direction: column; text-align: center; gap: 0.5rem; }
    .icon-box { width: 35px; height: 35px; font-size: 1rem; margin: -25px auto 0; position: relative; z-index: 5; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
    .text-box h3 { font-size: 0.9rem; }
    .text-box span { display: none; }
    
    .card-all { grid-column: span 2; }
    .all-content { padding: 1rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }
    .icon-circle { margin: 0; width: 40px; height: 40px; }
    .all-content h3 { font-size: 1rem; margin: 0; }

    .steps-grid-clean { grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}