/* Corporate Services Page Styles - Site Konseptine Uygun */

/* Service Card Modern - Blog kartlarına benzer sade tasarım */
.service-card-modern {
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-card-modern .action-box {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.service-card-modern .action-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.service-card-modern:hover .action-box img {
    transform: scale(1.05);
}

.service-no-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--sc-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIxIDlWN0MxOSA1IDEyIDUgMTIgNVM1IDUgMyA3VjlDMyAxMSA1IDEzIDEyIDEzUzIxIDExIDIxIDlaIiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8cGF0aCBkPSJNMyAxNlYxOEMzIDIwIDUgMjIgMTIgMjJTMjEgMjAgMjEgMThWMTYiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik0zIDEyVjE0QzMgMTYgNSAxOCAxMiAxOFMyMSAxNiAyMSAxNFYxMiIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80px 80px;
}

.service-no-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(1px);
}

.service-category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(8, 106, 216, 0.3);
}

/* Site konseptine uygun buton stili */
.service-card-modern .btn-link {
    color: var(--primary) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-bottom: 2px solid var(--primary) !important;
    border-radius: 0 !important;
    text-decoration: none !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
}

.service-card-modern .btn-link:hover {
    color: var(--sc-primary) !important;
    border-bottom-color: var(--sc-primary) !important;
    transform: translateX(3px);
}

/* Info box stilleri - site konseptine uygun */
.service-card-modern .info-bx {
    padding: 25px !important;
}

.service-card-modern .post-title a:hover {
    color: var(--primary) !important;
    transition: all 0.3s ease;
}

/* Responsive Design for Service Cards */
@media (max-width: 768px) {
    .service-card-modern .action-box {
        height: 250px;
    }
    
    .service-card-modern .info-bx {
        padding: 20px !important;
    }
    
    .service-category-tag {
        top: 10px;
        left: 10px;
        font-size: 11px;
        padding: 5px 10px;
    }
    
    .service-no-image {
        background-size: 60px 60px;
    }
}

@media (max-width: 576px) {
    .service-card-modern .action-box {
        height: 220px;
    }
    
    .service-card-modern .info-bx {
        padding: 15px !important;
    }
    
    .service-no-image {
        background-size: 50px 50px;
    }
}





/* Empty State Styles */
.empty-state {
    padding: 60px 20px;
    color: #7f8c8d;
}

.empty-state-icon {
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h4 {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .corporate-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .category-link {
        padding: 15px;
    }
    
    .category-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .category-name {
        font-size: 14px;
    }
    
    .service-card-image {
        height: 180px;
    }
    
    .service-card-content {
        padding: 20px;
    }
    
    .service-card-title {
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .service-card-image {
        height: 160px;
    }
    
    .service-card-content {
        padding: 15px;
    }
    
    .service-card-title {
        font-size: 16px;
    }
    
    .service-card-description {
        font-size: 13px;
    }
}

/* Animation for loading */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.corporate-service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.corporate-service-card:nth-child(1) { animation-delay: 0.1s; }
.corporate-service-card:nth-child(2) { animation-delay: 0.2s; }
.corporate-service-card:nth-child(3) { animation-delay: 0.3s; }
.corporate-service-card:nth-child(4) { animation-delay: 0.4s; }
.corporate-service-card:nth-child(5) { animation-delay: 0.5s; }
.corporate-service-card:nth-child(6) { animation-delay: 0.6s; }

/* Service Detail Page Styles - Blog Konseptine Uygun */

/* Widget kategoriler hizalama düzeltmesi */
.widget_categories li {
    text-align: left !important;
}

.widget_categories li a {
    float: none !important;
    display: block;
}

/* Service Navigation - Önceki/Sonraki Hizmet */
.service-navigation {
    margin-top: 30px;
    padding: 30px 0;
}

.service-nav-item {
    margin-bottom: 15px;
}

.service-nav-link {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.service-nav-link:hover {
    background: var(--primary);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(8, 106, 216, 0.2);
}

.prev-service .service-nav-link {
    justify-content: flex-start;
}

.next-service .service-nav-link {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.nav-content {
    flex: 1;
}

.prev-service .nav-content {
    text-align: left;
    margin-left: 15px;
}

.next-service .nav-content {
    text-align: right;
    margin-right: 15px;
}

.nav-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.7;
    display: block;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.nav-icon {
    width: 40px;
    height: 40px;
    background: rgba(8, 106, 216, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-nav-link:hover .nav-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.service-nav-link:hover .nav-label,
.service-nav-link:hover .nav-title {
    color: white;
}

/* Küçük placeholder görseli */
.service-placeholder-small {
    width: 200px;
    height: 143px;
    background: linear-gradient(135deg, var(--primary), var(--sc-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    border-radius: 4px;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .service-nav-link {
        padding: 15px;
    }
    
    .nav-icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .nav-title {
        font-size: 13px;
    }
    
    .service-placeholder-small {
        width: 150px;
        height: 107px;
        font-size: 20px;
    }
}

/* Service Detail Page Styles */
.sticky-sidebar {
    position: sticky;
    top: 120px;
}

.service-detail-container {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.service-detail-header {
    padding: 30px 40px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
}

.service-detail-header .service-category-badge {
    background: linear-gradient(90deg, #3498db, #2980b9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

.service-detail-title {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    line-height: 1.2;
}

.service-detail-image {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.service-detail-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8), rgba(155, 89, 182, 0.8));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.service-detail-image:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.service-detail-content {
    padding: 40px;
}

.content-wrapper {
    font-size: 16px;
    line-height: 1.8;
    color: #495057;
}

.content-wrapper h1, .content-wrapper h2, .content-wrapper h3, 
.content-wrapper h4, .content-wrapper h5, .content-wrapper h6 {
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.content-wrapper h1 { font-size: 28px; }
.content-wrapper h2 { font-size: 24px; }
.content-wrapper h3 { font-size: 20px; }
.content-wrapper h4 { font-size: 18px; }

.content-wrapper p {
    margin-bottom: 20px;
}

.content-wrapper ul, .content-wrapper ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.content-wrapper li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.service-actions {
    padding: 30px 40px;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.service-actions .btn {
    padding: 12px 20px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.service-actions .btn-outline-primary {
    border-color: #3498db;
    color: #3498db;
}

.service-actions .btn-outline-primary:hover {
    background: #3498db;
    border-color: #3498db;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

/* Related Services Widget */
.related-services-widget {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 30px;
}

.widget-header {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 20px;
    color: white;
}

.widget-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-services-list {
    padding: 0;
}

.related-service-item {
    border-bottom: 1px solid #f1f1f1;
    transition: all 0.3s ease;
}

.related-service-item:last-child {
    border-bottom: none;
}

.related-service-item:hover {
    background: rgba(52, 152, 219, 0.05);
}

.related-service-link {
    display: flex;
    padding: 15px 20px;
    text-decoration: none;
    color: inherit;
    gap: 15px;
}

.related-service-link:hover {
    text-decoration: none;
    color: inherit;
}

.related-service-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-service-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.related-service-content {
    flex: 1;
}

.related-service-title {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    line-height: 1.3;
}

.related-service-excerpt {
    font-size: 12px;
    color: #7f8c8d;
    margin: 0;
    line-height: 1.4;
}

/* Contact CTA Widget */
.contact-cta-widget {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 12px;
    overflow: hidden;
    color: white;
    text-align: center;
}

.cta-content {
    padding: 30px 20px;
}

.cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.cta-description {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.5;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    text-decoration: none;
    color: #3498db;
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Responsive Design for Detail Page */
@media (max-width: 768px) {
    .service-detail-title {
        font-size: 24px;
    }
    
    .service-detail-header {
        padding: 20px 25px 15px;
    }
    
    .service-detail-content {
        padding: 25px;
    }
    
    .service-actions {
        padding: 20px 25px;
    }
    
    .service-detail-image img {
        height: 250px;
    }
    
    .sticky-sidebar {
        position: static;
        margin-top: 30px;
    }
    
    .content-wrapper {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .service-detail-title {
        font-size: 20px;
    }
    
    .service-detail-header {
        padding: 15px 20px;
    }
    
    .service-detail-content {
        padding: 20px;
    }
    
    .service-actions {
        padding: 15px 20px;
    }
    
    .service-detail-image img {
        height: 200px;
    }
    
    .content-wrapper {
        font-size: 14px;
    }
}
