/**
 * Hizmetler Sayfası CSS
 * Diş Kliniği Web Sitesi
 */

/* Sayfa Başlığı */
.page-header {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../../varliklar/resimler/patterns/dots.svg');
    opacity: 0.1;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.page-header-content .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

.page-header-image {
    position: relative;
    z-index: 1;
}

.page-header-image img {
    max-height: 400px;
    animation: float 3s ease-in-out infinite;
}

/* Şekil Ayırıcı */
.shape-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.shape-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.shape-divider .shape-fill {
    fill: #FFFFFF;
}

/* Hizmet Kartları */
.service-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: #fff;
    border: none;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(139, 115, 85, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(139, 115, 85, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-color);
    color: #fff;
    transform: scale(1.1);
}

.service-title {
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary-color);
}

.service-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.service-link i {
    transition: all 0.3s ease;
    margin-left: 5px;
}

.service-link:hover {
    color: var(--primary-color-dark);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Özellik Kartları */
.feature-card {
    border-radius: 1rem;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: none;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* Tedavi Süreci */
.process-timeline {
    position: relative;
    padding: 30px 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: rgba(139, 115, 85, 0.2);
}

.process-item {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-icon {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    margin-right: 30px;
    flex-shrink: 0;
}

.process-number {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.process-content {
    background-color: #fff;
    border-radius: 1rem;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
}

.process-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 600;
}

/* CTA Bölümü */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../../../varliklar/resimler/patterns/dots.svg');
    opacity: 0.1;
}

/* Animasyonlar */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .page-header {
        padding: 60px 0;
        text-align: center;
    }
    
    .page-header-content h1 {
        font-size: 2.5rem;
    }
    
    .page-header-image {
        margin-top: 40px;
    }
    
    .page-header-image img {
        max-height: 300px;
    }
    
    .process-timeline::before {
        left: 40px;
    }
    
    .process-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 80px;
    }
    
    .process-icon {
        position: absolute;
        left: 0;
        top: 0;
        width: 60px;
        height: 60px;
        font-size: 24px;
        margin-right: 0;
    }
    
    .process-content {
        width: 100%;
        margin-top: 20px;
    }
}

@media (max-width: 767.98px) {
    .page-header-content h1 {
        font-size: 2rem;
    }
    
    .service-image img {
        height: 200px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .process-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .process-number {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
    
    .process-item {
        padding-left: 70px;
    }
} 