/* ================= GENEL SIFIRLAMA ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; min-height: 100vh; background: #f8fafc; overflow-x: hidden; }

/* LAZY LOAD ANİMASYONLARI */
.lazy-animate { opacity: 0; transform: translateY(60px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.lazy-animate.loaded { opacity: 1; transform: translateY(0); }
.lazy-delay-1 { transition-delay: 0.1s; }
.lazy-delay-2 { transition-delay: 0.2s; }
.lazy-delay-3 { transition-delay: 0.3s; }

/* ================= PAGE HERO ================= */
.page-hero {
    position: relative; width: 100%; height: 35vh; min-height: 400px;
    display: flex; align-items: center; justify-content: center;
    background-image: url('../images/nav.png'); 
    background-size: cover; background-position: center; background-attachment: fixed;
}
.page-hero::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(15, 35, 58, 0.7), rgba(30, 58, 95, 0.9));
}
.page-hero-content { position: relative; z-index: 10; text-align: center; color: white; padding: 0 20px; margin-top: 60px; }
.page-hero-title { font-size: 3.5rem; font-weight: 800; margin-bottom: 15px; text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.page-hero-breadcrumb { font-size: 1rem; font-weight: 500; color: #93c5fd; letter-spacing: 2px; text-transform: uppercase; }
.page-hero-breadcrumb a { color: white; text-decoration: none; transition: color 0.3s; }
.page-hero-breadcrumb a:hover { color: #60a5fa; }

/* ================= HİZMETLER GİRİŞ ================= */
.services-intro-section { padding: 80px 20px 40px; max-width: 800px; margin: 0 auto; text-align: center; }
.subtitle-badge {
    display: inline-block; background: rgba(96, 165, 250, 0.1); color: #3b82f6;
    padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase; margin-bottom: 20px;
}
.services-intro-section h2 { color: #1e3a5f; font-size: 2.2rem; font-weight: 700; margin-bottom: 20px; line-height: 1.3; }
.services-intro-text { color: #64748b; font-size: 1.15rem; line-height: 1.8; }

/* ================= 6LI KART TASARIMI ================= */
.services-grid-section { padding: 20px 20px 100px; }
.services-grid-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px;
}

.service-card {
    background: #ffffff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.06);
    border: 1px solid #e2e8f0; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex; flex-direction: column;
    position: relative; 
}

/* Üstten çıkan mavi ince bar kaldırıldı. Sadece yukarı kalkma ve gölge kaldı */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(30, 58, 95, 0.12); border-color: #cbd5e1;
}

.card-img-wrapper {
    position: relative; width: 100%; height: 220px; overflow: hidden;
    background: #e2e8f0; 
}
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.service-card:hover .card-img { transform: scale(1.08); }

.service-card::after {
    display: none !important;
}

.card-tag {
    position: absolute; top: 15px; left: 15px; background: rgba(30, 58, 95, 0.9);
    color: white; padding: 6px 14px; border-radius: 8px; font-size: 0.8rem;
    font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
    z-index: 5;
}

.card-content { padding: 30px 25px; display: flex; flex-direction: column; flex-grow: 1; }
.card-title { color: #1e3a5f; font-size: 1.4rem; font-weight: 700; margin-bottom: 12px; line-height: 1.3; transition: color 0.3s ease; }
.service-card:hover .card-title { color: #2c5282; }
.card-desc { color: #64748b; font-size: 1rem; line-height: 1.6; margin-bottom: 25px; flex-grow: 1; }

.card-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; 
    background: #f8fafc; color: #1e3a5f; border: 1px solid #e2e8f0;
    padding: 14px 20px; border-radius: 12px; text-decoration: none;
    font-weight: 700; font-size: 0.95rem; transition: all 0.4s ease; margin-top: auto;
    position: relative; overflow: hidden;
}

.card-btn::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); 
    transition: left 0.5s ease;
}

.service-card:hover .card-btn::after { left: 100%; }

.service-card:hover .card-btn { 
    background: #1e3a5f; color: white; border-color: #1e3a5f;
    box-shadow: 0 10px 20px rgba(30, 58, 95, 0.15);
}

.card-btn span { transition: transform 0.3s ease; }
.service-card:hover .card-btn span { transform: translateX(5px); }

/* ================= 7. KART: CTA (ÇAĞRI KARTI GRID İÇİ) ================= */
.cta-grid-card {
    grid-column: 1 / -1;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    flex-direction: row; 
    align-items: center;
    justify-content: space-between;
    padding: 50px 60px;
    margin-top: 20px; 
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.06) !important;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* CTA kartı için de üstten çıkan mavi ince bar kaldırıldı */
.cta-grid-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 25px 50px rgba(30, 58, 95, 0.12) !important;
    border-color: #cbd5e1 !important;
    background: #ffffff !important;
}

.cta-grid-card::after { display: none !important; }

.cta-card-content { max-width: 600px; }
.cta-card-title {
    color: #1e3a5f;
    font-size: 2.2rem; 
    font-weight: 800;
    margin-bottom: 15px; 
    letter-spacing: -1px;
}
.cta-card-text { 
    color: #64748b; 
    font-size: 1.15rem; 
    line-height: 1.7; 
}

.cta-card-btn {
    display: inline-flex; align-items: center; gap: 10px; 
    background: #1e3a5f; color: white;
    padding: 18px 40px; border-radius: 50px; text-decoration: none; 
    font-weight: 600; font-size: 1.1rem; 
    transition: all 0.3s ease; 
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.2); 
    position: relative; overflow: hidden;
    white-space: nowrap; 
    flex-shrink: 0;
}

.cta-card-btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent); 
    transition: left 0.5s ease;
}

.cta-card-btn:hover::before { left: 100%; }

.cta-card-btn:hover { 
    background: #2c5282; color: white;
    transform: translateY(-3px); 
    box-shadow: 0 15px 35px rgba(30, 58, 95, 0.3); 
}

.cta-card-btn svg { transition: transform 0.3s ease; }
.cta-card-btn:hover svg { transform: translateX(5px); }

/* ================= MOBİL UYUM (RESPONSIVE) ================= */
@media (max-width: 992px) {
    /* Tablet boyutunda 2 sütun */
    .services-grid-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .cta-grid-card {
        flex-direction: column; 
        text-align: center;
        padding: 40px 30px;
        gap: 30px;
    }
    .cta-card-content { max-width: 100%; }
}

@media (max-width: 768px) {
    /* Mobil boyutta tek sütun (alt alta) */
    .services-grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-card-title { font-size: 1.8rem; }
    .cta-card-text { font-size: 1rem; }
}

@media (max-width: 576px) {
    .cta-card-btn { width: 100%; justify-content: center; padding: 15px 20px; }
}