/* GENEL AYARLAR */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #fdfdfd;
    color: #333;
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* --- SABİT ÜST BÖLÜM --- */
.fixed-header-group {
    flex-shrink: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* 1. MENÜ */
.main-nav {
    background-color: #ffffff;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
}

/* 2. HEADER */
.page-header {
    background: linear-gradient(135deg, #141e30 0%, #243b55 100%);
    padding: 15px 0 20px 0; 
    text-align: center;
    color: white;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1.5px, transparent 1.5px);
    background-size: 30px 30px; 
    opacity: 0.7;
    pointer-events: none;
}

.hizmetler-title {
    font-size: 30px; 
    font-weight: 800;
    margin: 0;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.hizmetler-subtitle {
    font-size: 12px;
    color: #cbd5e1;
    margin-top: 3px;
    position: relative;
    z-index: 2;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
}

/* 3. SEKMELER */
.hizmet-sekmeler-container {
    background: #e9ecef; 
    padding: 6px 0; 
    border-bottom: 1px solid #d1d5db;
}

.hizmet-sekmeler {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px; 
}

.hizmet-sekmeler button {
    background: #ffffff; 
    border: 1px solid #ced4da;
    padding: 8px 18px; 
    font-size: 13px;
    font-weight: 700;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.hizmet-sekmeler button i {
    color: #6c757d;
    font-size: 14px;
}

.hizmet-sekmeler button:hover {
    background: #fff;
    border-color: #005bea;
    color: #005bea;
    transform: translateY(-2px);
}

.hizmet-sekmeler button.active {
    background: #005bea;
    color: white;
    border-color: #005bea;
    box-shadow: 0 5px 10px rgba(0, 91, 234, 0.2);
}

.hizmet-sekmeler button.active i {
    color: white;
}

/* --- İÇERİK ALANI --- */
.scrolling-content-area {
    flex-grow: 1;
    overflow-y: auto;
    background: #f8f9fa;
    padding: 30px 20px; 
    scroll-behavior: smooth; 
}

.hizmetler-wrapper {
    max-width: 1350px;
    margin: 0 auto;
}

.hizmet-icerikler { width: 100%; }
.hizmet-blok { display: none; animation: fadeIn 0.4s ease; }
.hizmet-blok.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hizmet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 50px;
}

/* KART TASARIMI */
a.hizmet-kutu {
    text-decoration: none; 
    color: inherit; 
    display: flex; 
}

.hizmet-kutu {
    background-color: white;
    border-radius: 12px; 
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06); 
    transition: all 0.3s ease;
    flex-direction: column;
    border: 1px solid #eee;
    height: 100%;
}

.hizmet-kutu:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    border-color: #3399ff;
}

.hizmet-resim-holder {
    width: 100%;
    height: 240px; 
    overflow: hidden;
    background: #eee;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.hizmet-resim {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.hizmet-kutu:hover .hizmet-resim { transform: scale(1.1); }

.kutu-icerik {
    padding: 20px; 
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* ========================================= */
/* YAZI DÜZENLEMELERİ (BURASI GÜNCELLENDİ) */
/* ========================================= */

.hizmet-baslik {
    font-size: 20px; /* Biraz daha büyüttük */
    font-weight: 800; /* Daha kalın */
    
    /* İSTEĞİN ÜZERİNE: KURUMSAL LACİVERT (Gece Mavisi) */
    color: #1e3c72; 
    
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.5px; /* Harfleri hafif yaklaştırdık, tok dursun */
}

.hizmet-aciklama {
    font-size: 14px; 
    
    /* İSTEĞİN ÜZERİNE: KOYU GRİ (Net Okunur) */
    color: #444444; 
    
    line-height: 1.6;
    margin-bottom: 15px; 
    flex-grow: 1;
    font-weight: 500; /* Biraz kalınlaştırdık ki silik durmasın */
}

.detay-btn {
    display: inline-flex;
    align-items: center;
    color: #005bea;
    font-weight: 700;
    font-size: 13px;
    background: #f0f7ff; /* Arkasına hafif mavi fon */
    padding: 8px 12px; 
    border-radius: 5px;
    margin-top: auto;
    transition: all 0.3s;
    width: fit-content; 
}

.detay-btn i { margin-left: 6px; transition: transform 0.3s; }

.hizmet-kutu:hover .detay-btn { 
    background: #005bea; 
    color: white; 
}

.hizmet-kutu:hover .detay-btn i { transform: translateX(5px); }

/* MOBİL AYARLAR */
@media (max-width: 768px) {
    .hizmetler-title { font-size: 24px; }
    .page-header { padding: 15px 0; }
    .hizmet-sekmeler { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding: 0 15px; }
    .hizmet-sekmeler button { flex: 0 0 auto; white-space: nowrap; }
    .hizmet-resim-holder { height: 200px; }
}