/*!
 * Diş Kliniği Scripti v1 - Ana Sayfa CSS
 * Ana sayfa için özel stiller
 */

/* Statistics Section - Modern Cards */
.stat-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

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

.stat-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0;
}

/* Hero Section Buttons */
.hero-buttons {
    margin-top: 2rem;
}

/* 3D Diş Illustration Styles */
.dental-illustration {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.tooth-3d {
    position: relative;
    transform-style: preserve-3d;
    animation: float 6s ease-in-out infinite;
}

.tooth-body {
    position: relative;
    width: 120px;
    height: 200px;
    transform-style: preserve-3d;
}

.tooth-crown {
    width: 100px;
    height: 120px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e9ecef 100%);
    border-radius: 50px 50px 20px 20px;
    position: relative;
    box-shadow: 
        0 10px 30px rgba(0, 123, 255, 0.2),
        inset 0 2px 10px rgba(255, 255, 255, 0.8);
    transform: rotateX(15deg) rotateY(-10deg);
}

.tooth-crown::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    border-radius: 30px 30px 15px 15px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tooth-root {
    width: 40px;
    height: 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 0 0 20px 20px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotateX(15deg) rotateY(-10deg);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.1);
}

.tooth-shine {
    position: absolute;
    top: 30px;
    left: 20px;
    width: 30px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 15px;
    transform: rotateX(15deg) rotateY(-10deg);
    animation: shine 3s ease-in-out infinite;
}

.dental-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tooth-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
    animation: orbit 8s linear infinite;
}

.tooth-icon.icon-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.tooth-icon.icon-2 {
    top: 60%;
    right: 15%;
    animation-delay: -2.5s;
}

.tooth-icon.icon-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: -5s;
}

.health-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

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

.particle:nth-child(1) {
    top: 30%;
    left: 80%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 70%;
    left: 70%;
    animation-delay: -1s;
}

.particle:nth-child(3) {
    top: 50%;
    left: 90%;
    animation-delay: -2s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 60%;
    animation-delay: -3s;
}

/* Animations */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotateX(15deg) rotateY(-10deg);
    }
    50% {
        transform: translateY(-20px) rotateX(15deg) rotateY(-10deg);
    }
}

@keyframes shine {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.8;
    }
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(60px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(60px) rotate(-360deg);
    }
}

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

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    .dental-illustration {
        height: 300px;
    }
    
    .tooth-body {
        width: 80px;
        height: 150px;
    }
    
    .tooth-crown {
        width: 70px;
        height: 90px;
    }
    
    .tooth-icon {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
}
