/* Hizmetlerimiz Page - Industrial Luxury Design */

/* --- 1. HERO SECTION --- */
.page-header {
    background: linear-gradient(rgba(11, 26, 42, 0.85), rgba(11, 26, 42, 0.85)), url('../../assets/img/hero/hero-1.jpg');
    background-size: cover;
    background-position: center;
    padding: 180px 0 100px;
    text-align: center;
}

.page-header h1 {
    color: #ffffff !important; /* Saf beyaz */
    font-size: 3.5rem;
    font-weight: 950;
    letter-spacing: -1px;
    margin-top: 10px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8); /* Daha güçlü gölge */
}

.section-label {
    color: #ffffff !important; /* Saf beyaz */
    font-weight: 900; /* Ekstra kalın */
    letter-spacing: 5px;
    text-transform: uppercase;
    font-size: 1rem;
    opacity: 1;
    display: block;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}

/* --- 2. LAYOUT STRUCTURE --- */
.services-main-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    padding: 100px 0;
    align-items: start;
}

/* --- 3. STICKY SIDEBAR --- */
.sticky-sidebar {
    position: sticky;
    top: 120px;
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--neutral-100);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-900);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--accent-500);
    text-transform: uppercase;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--primary-700);
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.sidebar-link i {
    font-size: 1.2rem;
    color: var(--neutral-400);
    transition: all 0.3s ease;
}

.sidebar-link:hover {
    background: var(--neutral-50);
    color: var(--accent-500);
}

.sidebar-link.active {
    background: var(--primary-900);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(11, 26, 42, 0.15);
}

.sidebar-link.active i {
    color: var(--accent-500);
}

/* --- 4. SERVICE SECTIONS --- */
.service-sections-container {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

.service-block {
    display: flex;
    align-items: center;
    gap: 50px;
    scroll-margin-top: 150px;
}

.service-block:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image-box {
    flex: 1;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    /* Daha dikey ve görkemli bir yapı için yükseklik ayarları */
    height: auto;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-50);
}

.service-image-box img {
    width: 100%;
    height: 100%;
    /* Dikeylik oranını artırdık (1 genişlik : 1.2 yükseklik) */
    aspect-ratio: 1 / 1.2; 
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}


/* Eğer resim dikey (portrait) ise kutunun oranını değiştirebiliriz */
/* Alternatif: aspect-ratio'yu img yerine box'a verip img'yi içinde cover yapabiliriz */


.service-block:hover .service-image-box img {
    transform: scale(1.05);
}

.service-info-box {
    flex: 1;
}

.service-icon-header {
    width: 64px;
    height: 64px;
    background: var(--accent-500);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 25px;
    box-shadow: 0 10px 20px rgba(232, 88, 15, 0.3);
}

.service-info-box h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary-900);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.service-desc {
    font-size: 1.15rem;
    color: #0B1E35; /* Tam kontrast - var(--primary-900) değeri */
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 600;
}

/* Feature List */
.feature-list-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-900);
    margin-bottom: 15px;
    text-transform: uppercase;
    display: block;
}

.feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 25px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-800); /* Gri yerine koyu ton */
}

.feature-item i {
    color: var(--accent-500);
    font-size: 1.1rem;
}

.service-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-900);
    color: var(--white);
    padding: 16px 35px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
}

.service-cta-btn:hover {
    background: var(--accent-500);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(232, 88, 15, 0.2);
}

/* Responsive */
@media (max-width: 1100px) {
    .services-main-grid {
        grid-template-columns: 1fr;
    }
    
    .sticky-sidebar {
        position: static;
        margin-bottom: 50px;
    }
    
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .service-block, .service-block:nth-child(even) {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-image-box {
        width: 100%;
        height: 300px;
    }
    
    .feature-list {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
}
