/* Custom styles */
.hero-section {
    background-image: url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
}

.service-card {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-5px) rotateX(2deg);
}

/* Custom animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-in;
}

/* Hover efektleri */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Gradient animasyonu */
.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 8s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Yeni animasyonlar */
@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-left {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fade-in-right {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility classes */
.animate-float-slow {
    animation: float-slow 6s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-medium 5s ease-in-out infinite;
}

.animate-float-fast {
    animation: float-fast 4s ease-in-out infinite;
}

.animate-fade-in-up {
    animation: fade-in-up 1s ease-out forwards;
}

.animate-fade-in-left {
    animation: fade-in-left 1s ease-out forwards;
}

.animate-fade-in-right {
    animation: fade-in-right 1s ease-out forwards;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-500 {
    animation-delay: 500ms;
}

/* Glassmorphism efektleri */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Sayaç animasyonu için JavaScript gerekli */
.counter-number {
    transition: all 0.3s ease-out;
}

/* Hizmet kartları için hover efektleri */
.service-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-5px) rotateX(2deg);
}

.service-icon-wrapper {
    position: relative;
    z-index: 1;
}

.service-icon-wrapper::after {
    content: '';
    position: absolute;
    inset: -4px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
    z-index: -1;
}

.service-card:hover .service-icon-wrapper::after {
    opacity: 1;
}

/* Hover efektleri için ek animasyonlar */
@keyframes pulse-light {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.service-card:hover .service-icon-wrapper {
    animation: pulse-light 2s infinite;
}

/* Yeni pulse animasyonları */
@keyframes pulse-slow {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.2);
        opacity: 0.7;
    }
}

@keyframes pulse-medium {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.15); opacity: 0.8; }
}

@keyframes pulse-fast {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 0.9; }
}

.animate-pulse-slow {
    animation: pulse-slow 6s ease-in-out infinite;
}

.animate-pulse-medium {
    animation: pulse-medium 4s ease-in-out infinite;
}

.animate-pulse-fast {
    animation: pulse-fast 3s ease-in-out infinite;
}

/* Gradient animasyonu geliştirmesi */
.animate-gradient {
    background-size: 200% 200%;
    animation: gradient 8s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Blob animasyonları */
@keyframes blob {
    0% {
        transform: translate(0px, 0px) scale(1);
    }
    33% {
        transform: translate(30px, -50px) scale(1.2);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.8);
    }
    100% {
        transform: translate(0px, 0px) scale(1);
    }
}

.animate-blob {
    animation: blob 10s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.animation-delay-2000 {
    animation-delay: 2s;
}

.animation-delay-4000 {
    animation-delay: 4s;
}

/* Footer Styles */
.footer-heading {
    @apply text-lg font-semibold bg-gradient-to-r from-blue-200 via-blue-400 to-indigo-200 bg-clip-text text-transparent;
}

.social-icon-link {
    @apply w-10 h-10 rounded-lg bg-blue-900/50 hover:bg-blue-600 flex items-center justify-center transition-all duration-300 text-gray-300 hover:text-white transform hover:-translate-y-1 hover:shadow-lg hover:shadow-blue-500/25;
}

.footer-link {
    @apply flex items-center text-gray-400 hover:text-white transition-all duration-300 group hover:translate-x-2;
}

.footer-contact-item {
    @apply flex items-start space-x-3 text-gray-400 hover:text-white transition-colors duration-300 group;
}

.footer-hours-item {
    @apply flex justify-between items-center text-gray-400 hover:text-white transition-colors duration-300 group;
}

.time-badge {
    @apply px-3 py-1 rounded-full text-sm bg-blue-900/50 group-hover:bg-blue-800/50 transition-colors duration-300;
}

/* Animasyonlar */
@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10px, -10px) rotate(5deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-8px, -8px) rotate(-5deg); }
}

@keyframes float-fast {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(5px, -5px); }
}

.animate-float-slow {
    animation: float-slow 6s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-medium 5s ease-in-out infinite;
}

.animate-float-fast {
    animation: float-fast 4s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Genel Responsive Utility Sınıfları */
.container {
    @apply max-w-7xl mx-auto px-4 sm:px-6 lg:px-8;
}

/* Navbar Linkleri */
.nav-link {
    @apply flex items-center space-x-2 text-sm md:text-base;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav-link {
    @apply flex items-center space-x-2 px-3 py-2 text-gray-700 hover:text-blue-600 text-sm rounded-lg hover:bg-gray-50 transition-colors;
}

/* Butonlar */
.btn-primary {
    @apply flex items-center space-x-2 bg-blue-600 text-white px-4 md:px-6 py-2 rounded-full hover:bg-blue-700 transition-colors text-sm md:text-base;
}

.btn-primary-mobile {
    @apply flex items-center justify-center space-x-2 w-full bg-blue-600 text-white px-4 py-2 rounded-lg hover:bg-blue-700 transition-colors text-sm;
}

/* Section Başlıkları */
.section-title {
    @apply text-2xl md:text-3xl lg:text-4xl font-bold text-gray-900 text-center;
}

.section-subtitle {
    @apply text-sm md:text-base text-gray-600 text-center mt-2;
}

/* Card Stilleri */
.service-card {
    @apply bg-white rounded-xl shadow-lg p-4 md:p-6 hover:shadow-xl transition-shadow;
}

/* Grid Sistemleri */
.grid-cols-responsive {
    @apply grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6 md:gap-8;
}

/* Spacing */
.section-spacing {
    @apply py-12 md:py-16 lg:py-20;
}

/* Text Sizes */
.text-responsive {
    @apply text-sm md:text-base lg:text-lg;
}

/* Icons */
.icon-responsive {
    @apply text-lg md:text-xl lg:text-2xl;
}

/* Küçük ekranlar için özel stiller */
@media screen and (max-width: 360px) {
    /* Container padding düzenlemesi */
    .container {
        @apply px-2;
    }

    /* Text boyutları */
    .text-responsive {
        @apply text-[10px];
    }

    /* Spacing */
    .section-spacing {
        @apply py-8;
    }

    /* Grid boşlukları */
    .grid-cols-responsive {
        @apply gap-3;
    }

    /* Buton boyutları */
    .btn-primary, .btn-primary-mobile {
        @apply px-3 py-1.5 text-[10px];
    }

    /* İkon boyutları */
    .icon-responsive {
        @apply text-base;
    }

    /* Mobil menü genişliği */
    #mobile-menu > div {
        @apply w-[85%] max-w-[250px];
    }
}

/* Orta boy ekranlar için düzenlemeler */
@media screen and (min-width: 361px) and (max-width: 480px) {
    .container {
        @apply px-3;
    }

    .text-responsive {
        @apply text-xs;
    }

    .section-spacing {
        @apply py-10;
    }

    .grid-cols-responsive {
        @apply gap-4;
    }
}

/* Navbar animasyonu için stil */
nav {
    transition: transform 0.3s ease-in-out;
}

/* Minimal fotoğraf efektleri */
.scale-102 {
    --tw-scale-x: 1.02;
    --tw-scale-y: 1.02;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

/* Responsive görsel ayarları */
@media screen and (max-width: 640px) {
    .hero-image-container {
        max-width: 80%;
        margin: 2rem auto 0;
    }
}

/* Slider Styles */
.slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

.slide-item {
    position: relative;
    flex-shrink: 0;
    width: 100%;
    height: 100%;
}

.slider-dot.active {
    width: 1rem;
    background-color: white;
}

/* Clinic Status Badge Styles */
#clinic-status {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

#status-dot {
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

#clinic-status.closed #status-dot {
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

@keyframes status-pulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

#status-dot-pulse {
    animation: status-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Slider için mobil optimizasyonlar */
@media screen and (max-width: 640px) {
    .slider-dot {
        width: 2.5rem !important;
    }
    
    .slide-item img {
        object-position: center center !important;
        object-fit: cover !important;
        width: 100% !important;
        height: 100% !important;
        transform: none !important;
    }
    
    .slide-item {
        height: 300px !important;
        overflow: hidden;
    }
    
    /* Slider container yüksekliği */
    .slider-container {
        min-height: 300px;
    }
}

/* Scroll Animasyonları */
.scroll-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-visible {
    opacity: 1;
    transform: translate(0);
}

/* Stagger efekti için delay sınıfları */
.delay-100 { 
    transition-delay: 100ms; 
    animation-delay: 100ms;
}
.delay-200 { 
    transition-delay: 200ms; 
    animation-delay: 200ms;
}
.delay-300 { 
    transition-delay: 300ms; 
    animation-delay: 300ms;
}
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; } 

/* Header Styles */
#header-container {
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: none;
}

#header-container.slide-up {
    transform: translateY(-100%);
}

#header-container.bg-opacity-90 {
    background: linear-gradient(to right, rgba(29, 78, 216, 0.98), rgba(37, 99, 235, 0.98), rgba(30, 64, 175, 0.98));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Navbar içindeki linkler için hover efekti */
.nav-link {
    @apply flex items-center space-x-2 text-sm md:text-base;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0.7) 100%);
    background-size: 200% auto;
    transform: scaleX(0);
    transform-origin: right;
    transition: all 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    background-position: right center;
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* Aktif menü öğesi için stil */
.nav-link.active {
    @apply bg-white/15;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* Logo hover efekti */
.logo-container:hover .logo-icon {
    transform: rotate(10deg) scale(1.1);
}

/* Navbar içindeki linkler için hover efekti */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #2563eb, #4f46e5);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Tablet için özel stiller (768px - 1024px arası) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    /* Header düzenlemeleri */
    #header-container {
        @apply px-4;
    }
    
    /* Logo ve menü düzenlemeleri */
    .logo-container {
        @apply text-sm;
    }
    
    .nav-link {
        @apply text-sm px-2;
    }
    
    /* İletişim bilgileri düzenlemeleri */
    .contact-info {
        @apply text-xs space-x-2;
    }
    
    /* Dil seçimi düzenlemeleri */
    .lang-btn {
        @apply text-xs px-1;
    }
    
    /* Hizmet kartları düzenlemeleri */
    .service-card {
        @apply p-4;
    }
    
    .service-card h3 {
        @apply text-lg;
    }
    
    .service-card p {
        @apply text-sm;
    }
    
    /* İletişim kartları düzenlemeleri */
    .contact-card {
        @apply p-4;
    }
    
    /* Grid düzenlemeleri */
    .grid-cols-responsive {
        @apply grid-cols-2 gap-4;
    }
    
    /* Spacing düzenlemeleri */
    .section-spacing {
        @apply py-8;
    }
    
    /* Text boyutları */
    .text-responsive {
        @apply text-sm;
    }
    
    /* İkon boyutları */
    .icon-responsive {
        @apply text-lg;
    }
}

/* Yatay tablet için özel stiller (1024px - 1280px arası) */
@media screen and (min-width: 1024px) and (max-width: 1280px) {
    /* Header düzenlemeleri */
    #header-container {
        @apply px-6;
    }
    
    /* Logo ve menü düzenlemeleri */
    .nav-link {
        @apply text-base px-3;
    }
    
    /* Grid düzenlemeleri */
    .grid-cols-responsive {
        @apply grid-cols-3 gap-6;
    }
    
    /* Spacing düzenlemeleri */
    .section-spacing {
        @apply py-12;
    }
}

/* Genel tablet optimizasyonları */
@media screen and (max-width: 1024px) {
    /* Navbar düzenlemeleri */
    nav {
        @apply px-4;
    }
    
    /* Container genişliği */
    .container {
        @apply px-4;
    }
    
    /* Buton boyutları */
    .btn-primary {
        @apply px-4 py-2 text-sm;
    }
    
    /* Harita yüksekliği */
    .map-container {
        @apply h-[400px];
    }
    
    /* Form alanları */
    input, textarea {
        @apply text-sm;
    }
    
    /* Footer düzenlemeleri */
    footer {
        @apply px-4 py-8;
    }
} 

/* Diş ikonu animasyonları */
.tooth-animation-container {
    @apply relative w-64 h-64;
    perspective: 1000px;
}

@keyframes star-spin {
    0% { transform: rotate(0deg) translateX(20px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(20px) rotate(-360deg); }
}

@keyframes star-spin-reverse {
    0% { transform: rotate(360deg) translateX(15px) rotate(-360deg); }
    100% { transform: rotate(0deg) translateX(15px) rotate(0deg); }
}

@keyframes star-spin-diagonal {
    0% { transform: rotate(0deg) translateX(25px) rotate(0deg); }
    100% { transform: rotate(-360deg) translateX(25px) rotate(360deg); }
}

@keyframes star-spin-diagonal-reverse {
    0% { transform: rotate(-360deg) translateX(22px) rotate(360deg); }
    100% { transform: rotate(0deg) translateX(22px) rotate(0deg); }
}

@keyframes star-spin-ellipse {
    0% { transform: rotate(0deg) translateX(30px) rotate(0deg) scaleY(0.75); }
    100% { transform: rotate(360deg) translateX(30px) rotate(-360deg) scaleY(0.75); }
}

@keyframes star-spin-ellipse-reverse {
    0% { transform: rotate(360deg) translateX(28px) rotate(-360deg) scaleY(0.75); }
    100% { transform: rotate(0deg) translateX(28px) rotate(0deg) scaleY(0.75); }
}

.animate-star-spin {
    animation: star-spin 15s linear infinite;
}

.animate-star-spin-reverse {
    animation: star-spin-reverse 12s linear infinite;
}

.animate-star-spin-diagonal {
    animation: star-spin-diagonal 18s linear infinite;
}

.animate-star-spin-diagonal-reverse {
    animation: star-spin-diagonal-reverse 16s linear infinite;
}

.animate-star-spin-ellipse {
    animation: star-spin-ellipse 20s linear infinite;
}

.animate-star-spin-ellipse-reverse {
    animation: star-spin-ellipse-reverse 22s linear infinite;
}

@keyframes pulse-slow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.05); }
}

.animate-pulse-slow {
    animation: pulse-slow 4s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.5); }
}

.animate-twinkle {
    animation: twinkle 4s ease-in-out infinite;
}

/* Çember animasyonları için delay sınıfları */
.delay-150 {
    animation-delay: 150ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-700 {
    animation-delay: 700ms;
} 

/* Galaksi animasyonları */
@keyframes galaxy-spin {
    0% { transform: rotate(0deg) scale(1); opacity: 0.5; }
    50% { transform: rotate(180deg) scale(1.1); opacity: 0.7; }
    100% { transform: rotate(360deg) scale(1); opacity: 0.5; }
}

@keyframes float-galaxy {
    0% { transform: translateY(0) rotate(0deg) scale(1); }
    25% { transform: translateY(-10px) rotate(5deg) scale(1.05); }
    50% { transform: translateY(0) rotate(0deg) scale(1); }
    75% { transform: translateY(10px) rotate(-5deg) scale(0.95); }
    100% { transform: translateY(0) rotate(0deg) scale(1); }
}

@keyframes galaxy-pulse {
    0% { transform: scale(1); opacity: 0.6; filter: brightness(1); }
    50% { transform: scale(1.05); opacity: 0.8; filter: brightness(1.2); }
    100% { transform: scale(1); opacity: 0.6; filter: brightness(1); }
}

/* Yıldız tozu efekti */
.stardust {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle, white 1.5px, transparent 1.5px);
    background-size: 25px 25px;
    animation: stardust-float 20s linear infinite;
    opacity: 0.4;
}

@keyframes stardust-float {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.5); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Parıltı efektleri */
.glow-effect {
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.4),
                0 0 50px rgba(147, 197, 253, 0.3),
                inset 0 0 25px rgba(255, 255, 255, 0.4),
                inset 0 0 50px rgba(147, 197, 253, 0.2);
}

.glow-icon {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8))
           drop-shadow(0 0 25px rgba(147, 197, 253, 0.8))
           drop-shadow(0 0 35px rgba(167, 139, 250, 0.4));
}

.animate-galaxy-spin {
    animation: galaxy-spin 20s linear infinite;
}

.animate-galaxy-spin-reverse {
    animation: galaxy-spin 25s linear infinite reverse;
}

.animate-float-galaxy {
    animation: float-galaxy 8s ease-in-out infinite;
}

.animate-galaxy-pulse {
    animation: galaxy-pulse 4s ease-in-out infinite;
} 

/* Galeri Slider Stilleri */
.gallery-slider {
    @apply relative z-10 px-2 sm:px-4;
}

.gallery-main {
    @apply overflow-hidden;
    box-shadow: 0 15px 30px -8px rgba(0, 0, 0, 0.2);
}

.gallery-main .swiper-slide {
    @apply overflow-hidden;
}

.gallery-thumbs {
    @apply mt-4;
}

.gallery-thumbs .swiper-slide {
    @apply opacity-50 transition-opacity duration-300;
    cursor: pointer;
}

.gallery-thumbs .swiper-slide-thumb-active {
    @apply opacity-100;
}

/* Slider Navigasyon Butonları */
.swiper-button-next,
.swiper-button-prev {
    @apply flex items-center justify-center !opacity-90 hover:!opacity-100 !block;
    transform: translateY(-50%);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

/* Pagination stilleri */
.swiper-pagination-bullet {
    @apply !w-2 !h-2 sm:!w-2.5 sm:!h-2.5 !bg-white/60;
}

.swiper-pagination-bullet-active {
    @apply !bg-white !scale-105;
}

/* Slider Animasyonları */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.swiper-slide-active {
    animation: slideIn 0.8s ease-out;
} 

/* Slider container hover efekti */
.gallery-slider {
    @apply group;
}

/* Slider geçiş animasyonu */
.swiper-slide-active {
    @apply transition-transform duration-700 ease-out;
}

/* Lazy loading için blur efekti */
.swiper-lazy-preloader {
    @apply !border-white/50 !border-t-white;
} 

/* Responsive slider yüksekliği */
@media (max-width: 640px) {
    .gallery-slider {
        @apply px-2;
    }
}

/* Slider container genişliği */
.gallery-slider {
    @apply w-full max-w-7xl mx-auto px-4 sm:px-6 lg:px-8;
}

/* Slider yüksekliği */
.swiper-slide img {
    @apply h-[450px] object-cover object-center;
} 

/* Slider içeriği için sabit en-boy oranı */
.swiper-slide .aspect-[16/9] {
    position: relative;
    padding-top: 45%; /* Daha düşük yükseklik */
}

/* Desktop için 16:9 oranına dön */
@media (min-width: 768px) {
    .swiper-slide .aspect-[16/9] {
        padding-top: 45%;
    }
}

.swiper-slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
} 

/* Slider arka plan overlay */
.swiper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
    pointer-events: none;
} 

/* Mobil ve Tablet için ortak navigasyon stilleri */
@media (max-width: 1024px) {
    /* Top bar stilleri */
    .top-bar {
        @apply flex justify-between items-center px-4 py-2 bg-blue-900;
        font-size: 14px;
    }

    .top-bar-left {
        @apply flex items-center space-x-4;
    }

    .top-bar-right {
        @apply flex items-center space-x-2;
    }

    /* Header stilleri */
    .header {
        @apply h-auto py-2 px-4;
    }

    /* Logo ve doktor isimleri */
    .logo-container {
        @apply flex flex-col;
    }

    .doctor-names {
        @apply text-sm leading-tight;
        max-width: 200px;
    }

    /* Navbar düzeni */
    .navbar {
        @apply flex flex-wrap items-center justify-between;
        padding: 0.5rem 1rem;
    }

    /* Menü öğeleri */
    .nav-items {
        @apply flex-wrap justify-end space-x-2;
    }

    .nav-item {
        @apply text-sm px-2 py-1;
        white-space: nowrap;
    }
}

/* Özel tablet breakpoint'i */
@media (min-width: 768px) and (max-width: 1024px) {
    .doctor-names {
        font-size: 0.875rem;
        line-height: 1.25;
    }

    .nav-items {
        @apply space-x-4;
    }

    .nav-item {
        @apply text-base;
    }
}

/* Hero bölümü için responsive düzenlemeler */
@media (max-width: 1024px) {
    #anasayfa {
        @apply min-h-[85vh] flex items-center;
        padding-top: calc(84px + 1rem);
        padding-bottom: 1rem;
    }
    
    #anasayfa .max-w-7xl {
        @apply py-4 flex flex-col justify-center;
        min-height: calc(85vh - 84px);
    }

    #anasayfa h2 {
        @apply mb-2;
    }

    #anasayfa .flex.flex-col.sm\:flex-row {
        @apply mt-4;
    }

    #anasayfa .grid.grid-cols-3 {
        @apply mt-4;
    }
}

/* Tablet için hero ayarları */
@media (min-width: 641px) and (max-width: 1024px) {
    #anasayfa {
        @apply min-h-[90vh] flex items-center;
        padding-top: calc(100px + 2rem);
    }
} 

/* Galeri bölümü için diş animasyonları */
@keyframes float-diagonal {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(15px, -15px) rotate(10deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes float-circle {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(0, -20px) rotate(-10deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

@keyframes bounce-custom {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.animate-float-diagonal {
    animation: float-diagonal 6s ease-in-out infinite;
}

.animate-float-circle {
    animation: float-circle 8s ease-in-out infinite;
}

.animate-bounce-custom {
    animation: bounce-custom 4s ease-in-out infinite;
} 

/* Galeri bölümü için diş animasyonları */
.relative.bg-transparent {
    background: linear-gradient(to bottom, 
        transparent,
        transparent 50%,
        rgba(255, 255, 255, 0.02) 100%
    );
} 

/* Scroll Animasyonları */
.scroll-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Delay sınıfları */
.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
} 

/* Tabletlerde dikey modda uyarı göster */
@media (orientation: portrait) and (min-width: 641px) and (max-width: 1024px) {
    body::before {
        content: attr(data-rotate-message);
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: rgba(0, 0, 0, 0.8);
        color: white;
        padding: 2rem;
        border-radius: 10px;
        z-index: 1000;
        text-align: center;
        font-size: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    /* Döndürme ikonu */
    body::after {
        content: "📱";
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, calc(-50% + 3rem));
        font-size: 2.5rem;
        color: white;
        z-index: 1001;
        animation: rotate-device 2s infinite ease-in-out;
    }

    /* Döndürme animasyonu */
    @keyframes rotate-device {
        0% { transform: translate(-50%, calc(-50% + 3rem)) rotate(0deg); }
        50% { transform: translate(-50%, calc(-50% + 3rem)) rotate(90deg); }
        100% { transform: translate(-50%, calc(-50% + 3rem)) rotate(0deg); }
    }

    /* Diğer içerikleri gizle */
    body > *:not(:first-child) {
        display: none;
    }
} 

/* Mobil ve Tablet için ortak menü stilleri */
@media (max-width: 1024px) {
    /* Mobil menü görünümü */
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-button {
        display: flex;
    }
    
    /* Header yüksekliği */
    .header {
        @apply h-[84px];
    }
    
    /* Logo boyutu */
    .logo-container {
        @apply w-40;
    }
    
    /* Dil seçici */
    .language-selector {
        @apply hidden;
    }
    
    /* Mobil menü içeriği */
    .mobile-menu-content {
        @apply block;
    }
    
    /* Top bar */
    .top-bar {
        @apply hidden;
    }
    
    /* Ana menü */
    .main-nav {
        @apply hidden;
    }

    /* Mobil menü buton stilleri */
    .mobile-menu-button {
        @apply p-2 rounded-lg text-gray-500 hover:bg-gray-100;
    }

    /* Mobil menü içerik stilleri */
    .mobile-menu {
        @apply fixed inset-0 bg-black bg-opacity-50 z-50;
    }

    .mobile-menu-content {
        @apply fixed right-0 top-0 w-full max-w-sm h-full bg-white shadow-xl;
    }
}

/* Hero bölümü için responsive düzenlemeler */
@media (max-width: 1024px) {
    #anasayfa {
        @apply min-h-[85vh] flex items-center;
        padding-top: calc(84px + 1rem);
        padding-bottom: 1rem;
    }
    
    #anasayfa .max-w-7xl {
        @apply py-4 flex flex-col justify-center;
        min-height: calc(85vh - 84px);
    }
} 