body {
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Apple-like blur effect */
.apple-blur { 
    backdrop-filter: saturate(180%) blur(20px); 
    -webkit-backdrop-filter: saturate(180%) blur(20px); /* Safari desteği */
}
.text-shadow { text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.parallax { transform: translateZ(0); }
.smooth-scroll { scroll-behavior: smooth; }

/* Apple-style animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.scale-on-hover {
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.scale-on-hover:hover {
    transform: scale(1.02);
}

/* Gradient text like Apple */
.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); /* Mor ve mavi tonlarında hoş bir geçiş */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* Fallback for browsers not supporting text-fill-color */
}

/* Custom Apple-style Buttons */
.apple-button {
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%), #007AFF; /* Apple Blue */
    color: #ffffff;
    padding: 0.8rem 1.8rem;
    border-radius: 9999px; /* Fully rounded */
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    /* Erişilebilirlik için odak göstergesini gizleme yerine stilize etme */
    outline: 2px solid transparent; /* Varsayılan olarak şeffaf */
    outline-offset: 2px;
}
.apple-button:hover {
    background: linear-gradient(180deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%), #0051D5; /* Darker Apple Blue */
    box-shadow: 0 4px 8px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-1px);
}
.apple-button:active {
    background: #0038A8;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
    transform: translateY(0);
}
.apple-button:focus-visible { /* Klavye ile odaklandığında görünür olsun */
    outline-color: #007AFF;
}


.apple-button-secondary {
    background: transparent;
    color: #007AFF; /* Apple Blue */
    padding: 0.8rem 1.8rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #007AFF;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: 2px solid transparent;
    outline-offset: 2px;
}
.apple-button-secondary:hover {
    background: rgba(0,122,255,0.1); /* Light blue transparent background */
    color: #007AFF; /* Hover'da renk değişimi */
    border-color: #0051D5;
}
.apple-button-secondary:active {
    background: rgba(0,122,255,0.2);
    border-color: #0038A8;
}
.apple-button-secondary:focus-visible {
    outline-color: #007AFF;
}

/* Navbar specific styles */
#navbar.scrolled {
    background-color: rgba(26, 43, 66, 0.9); /* Koyu tema için yarı saydam lacivert */
    box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Koyu tema için daha belirgin gölge */
}

/* Renkleri koyu temaya göre ayarla */
#navbar.scrolled .text-gray-200 { color: #e0e0e0; } /* Scroll olunca logo metni */
#navbar.scrolled .text-gray-300 { color: #c0c0c0; } /* Scroll olunca nav linkleri */
#navbar.scrolled .text-gray-200 svg { color: #e0e0e0; } /* Scroll olunca mobil menü ikonu */

/* Modal specific styles */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 9999;
}

/* Erişilebilirlik için odaklanmış öğelerin ana hatlarını koru */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #007AFF; /* Apple Blue tonu */
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobil menü için geçişler */
#mobile-menu {
    transition: all 0.3s ease-in-out;
    transform: translateY(-100%); /* Başlangıçta ekranın üstünden gizli */
}
#mobile-menu.open {
    transform: translateY(0); /* Açıldığında yerine kayar */
}

/* Carousel Item Transitions (for opacity/visibility changes) */
.carousel-item {
    transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}

/* Initial state for hidden carousel items (used with .carousel-item in JS) */
.carousel-item.opacity-0 {
    opacity: 0;
    visibility: hidden;
    position: absolute; /* Üst üste binmeleri için */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.carousel-item.opacity-100 {
    opacity: 1;
    visibility: visible;
    position: relative; /* Sadece aktif öğe relatif olmalı */
}
.gradient-text {
    background: linear-gradient(90deg, #60A5FA, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.apple-blur {
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

[data-carousel-item] {
    transition: opacity 0.7s ease-in-out;
}