.service-detail-header {
    background-color: #f8f9fa;
    max-height: 50px;
    padding: 0px 0;
    color: #fff;
}

.service-detail-header .container .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-detail-header .page-title-heading {
    text-align: left;
}

.service-detail-header .page-title-heading .title {
    font-size: 18px;
    margin-bottom: 0;
}

.service-detail-header .breadcrumb-wrapper {
    text-align: right;
}

.page-header-bar {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    justify-content: space-between;
}


.breadcrumb-wrappers {
    color: #000;
}

.breadcrumb-wrappers:last-child {
    color: #c78665;
}


.hizmetlerimiz .style1{
    padding:0px !important;
    text-align: center;
}

.style1 .featured-title{
    font-size:18px !important;
    font-weight: bold;
    padding:10px;
}

.featured-imagebox-services.style1 .featured-content{
    padding: 0px;
}

/* Timeline */
.timeline-section {
    padding: 80px 0;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background-color: #f3f3f3;
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
}

@media screen and (max-width: 800px){
    .timeline::after{
        background: transparent;
    }
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    right: -25px;
    background-color: #c78665;
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
}

.timeline-item:nth-child(even) .timeline-icon {
    left: -25px;
}

.timeline-content {
    padding: 20px 30px;
    background-color: #f3f3f3;
    position: relative;
    border-radius: 6px;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-content h3 {
    margin-top: 0;
}

/* Story Section */
.story-container-wrapper {
    overflow-x: auto;
    white-space: nowrap;
}

.story-container-wrapper::-webkit-scrollbar {
    display: none;
}

.story-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

@media (max-width: 768px) {
    .story-section .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .story-container {
        justify-content: flex-start;
    }
}

.story-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

.story-item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #c78665;
    object-fit: cover;
}

.story-item.unviewed img {
    border-color: green;
}

.story-item.viewed img {
    border-color: #ccc;
}

.story-title {
    margin-top: 8px;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 80px;
}

/* Story Viewer */
.story-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.story-viewer.show {
    opacity: 1;
}

.story-viewer-inner {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    background-color: black;
}

@media (min-width: 768px) {
    .story-viewer-inner {
        max-width: 400px;
        max-height: 80vh;
    }
}

.story-viewer-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    padding: 5px;
    z-index: 10;
}

.story-progress-bar {
    width: 0%;
    height: 2px;
    background-color: white;
}

.story-viewer-content {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.story-viewer-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.story-viewer-content.fade-out img {
    opacity: 0;
}

.close-story-viewer {
    position: absolute;
    top: 15px;
    right: 5px;
    background: transparent;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
}

.story-navigation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.story-nav-prev, .story-nav-next {
    width: 50%;
    height: 100%;
    cursor: pointer;
}

.prev-story, .next-story {
    display: none;
}