:root { --theme-green: #017839; }

/* Hizmetler Sayfası Stilleri */
.hizmetler-header {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 50vh;
    min-height: 300px;
    overflow: hidden;
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hizmetler-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hizmetler-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: center;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
}

.hizmetler-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 0;
}

.hizmetler-container {
    padding-bottom: 3rem;
}

.hizmetler-liste {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
}

.liste-baslik {
    font-size: 1.5rem;
    font-weight: 700;
    color: #6B0000;
    margin-bottom: 1.5rem;
}

.hizmet-listesi {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hizmet-listesi li {
    margin-bottom: 0.75rem;
}

.hizmet-link {
    display: block;
    padding: 1rem 1.25rem;
    color: #1f2a33;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 500;
}

.hizmet-link:hover {
    background-color: #f7f9fb;
    color: var(--theme-green);
    border-left-color: var(--theme-green);
    transform: translateX(5px);
}

.hizmet-link.active {
    background-color: #eef8f2;
    color: var(--theme-green);
    border-left-color: var(--theme-green);
    font-weight: 600;
}

.hizmet-detay {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    min-height: 500px;
}

.hizmet-baslik {
    font-size: 2rem;
    font-weight: 700;
    color: #0f1e26;
    margin-bottom: 1.5rem;
}

.hizmet-icerik {
    line-height: 1.9;
}

.hizmet-icerik p {
    font-size: 1.05rem;
    color: #1f2a33;
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .hizmetler-header {
        height: 40vh;
        min-height: 240px;
        margin-bottom: 2rem;
    }
    
    .hizmetler-liste {
        position: relative;
        top: 0;
        margin-bottom: 2rem;
    }
    
    .hizmet-detay {
        padding: 2rem;
        min-height: auto;
    }
    
    .hizmet-baslik {
        font-size: 1.75rem;
    }

    /* Mobilde hizmet detayını tam genişlikte göster */
    .hizmetler-container .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 767.98px) {
    .hizmetler-header {
        height: 45vh;
        min-height: 260px;
    }
    
    .hizmetler-liste {
        padding: 1.5rem;
    }
    
    .liste-baslik {
        font-size: 1.25rem;
    }
    
    .hizmet-link {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .hizmet-detay {
        padding: 1.5rem;
    }
    
    .hizmet-baslik {
        font-size: 1.5rem;
    }
    
    .hizmet-icerik p {
        font-size: 1rem;
    }
    
}
