/*!
 * Diş Kliniği Scripti v1 - Hizmetler Sayfası CSS
 * Modern ve sade tasarım
 */

/* Modern Hero Section */
.modern-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.modern-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 123, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.modern-hero-content {
    position: relative;
    z-index: 2;
}

.modern-hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.modern-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-weight: 300;
    line-height: 1.6;
}

.modern-hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-services-icon {
    position: relative;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 40px rgba(0, 123, 255, 0.2),
        0 0 0 20px rgba(0, 123, 255, 0.1),
        0 0 0 40px rgba(0, 123, 255, 0.05);
    animation: pulse 4s ease-in-out infinite;
}

.modern-services-icon i {
    font-size: 4rem;
    color: white;
}

.modern-hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.modern-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: floatParticle 6s ease-in-out infinite;
}

.modern-particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.modern-particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: -1.5s;
}

.modern-particle:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: -3s;
}

.modern-particle:nth-child(4) {
    bottom: 20%;
    right: 25%;
    animation-delay: -4.5s;
}

.modern-particle:nth-child(5) {
    top: 80%;
    left: 30%;
    animation-delay: -2s;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 20px 40px rgba(0, 123, 255, 0.2),
            0 0 0 20px rgba(0, 123, 255, 0.1),
            0 0 0 40px rgba(0, 123, 255, 0.05);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 
            0 25px 50px rgba(0, 123, 255, 0.3),
            0 0 0 25px rgba(0, 123, 255, 0.15),
            0 0 0 50px rgba(0, 123, 255, 0.08);
    }
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 0.8;
    }
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 123, 255, 0.1);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    border-color: rgba(0, 123, 255, 0.2);
}

.service-card .card-img-top {
    height: 250px;
    object-fit: cover;
    border-radius: 0;
    transition: all 0.3s ease;
}

.service-card:hover .card-img-top {
    transform: scale(1.05);
}

.service-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.service-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-card .card-text {
    color: var(--text-gray);
    line-height: 1.6;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 123, 255, 0.1);
    border-radius: 10px;
    text-align: center;
}

.service-duration {
    border-top: 1px solid rgba(0, 123, 255, 0.1);
    padding-top: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-gray);
}

.service-card .btn {
    margin-top: auto;
    border-radius: 10px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
}

/* Service Modal */
.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.modal-header {
    border-bottom: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 20px 20px 0 0;
    padding: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.modal-body {
    padding: 1.5rem;
}

.modal-body img {
    border-radius: 15px;
    margin-bottom: 1.5rem;
}

.modal-footer {
    border-top: 1px solid rgba(0, 123, 255, 0.1);
    border-radius: 0 0 20px 20px;
    padding: 1.5rem;
}

.service-content {
    line-height: 1.6;
    color: var(--text-gray);
}

.service-content h3 {
    color: var(--primary-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-content h4 {
    color: var(--dark-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.service-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.service-content li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.service-content p {
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 2rem 0;
}

.cta-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button {
    border-radius: 15px;
    padding: 1rem 2rem;
    font-weight: 500;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 123, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-hero {
        min-height: 50vh;
        padding: 2rem 0;
    }
    
    .modern-hero-title {
        font-size: 2.5rem;
    }
    
    .modern-hero-subtitle {
        font-size: 1.1rem;
    }
    
    .modern-services-icon {
        width: 150px;
        height: 150px;
    }
    
    .modern-services-icon i {
        font-size: 3rem;
    }
    
    .service-card .card-body {
        padding: 1rem;
    }
    
    .service-card .card-title {
        font-size: 1.1rem;
    }
    
    .cta-section {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .modern-hero-title {
        font-size: 2rem;
    }
    
    .modern-hero-subtitle {
        font-size: 1rem;
    }
    
    .modern-services-icon {
        width: 120px;
        height: 120px;
    }
    
    .modern-services-icon i {
        font-size: 2.5rem;
    }
    
    .service-card .card-img-top {
        height: 200px;
    }
    
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-content {
        border-radius: 15px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }
}
