/* Editoryal ve Lüks CSS Tasarımı */

/* Temel Ayarlar */
html {
    scroll-behavior: smooth;
    background-color: #FBFBF9;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Form Elemanları Özelleştirme */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #0B132B inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Navbar Kaydırma Durumu */
.nav-scrolled {
    background-color: rgba(11, 19, 43, 0.95) !important;
    backdrop-filter: blur(10px);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-scrolled #nav-logo {
    font-size: 1.5rem !important;
}

.nav-scrolled-light {
    background-color: rgba(251, 251, 249, 0.95) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-scrolled-light #nav-logo,
.nav-scrolled-light #nav-location,
.nav-scrolled-light #menu-toggle {
    color: #121212 !important;
}

.nav-scrolled-light #menu-toggle span.bg-current {
    background-color: #121212 !important;
}

/* Görsel Efektleri */
.hero-img-subtle {
    animation: subtlePan 30s infinite alternate linear;
}

@keyframes subtlePan {
    from { transform: scale(1.05) translate(0, 0); }
    to { transform: scale(1.1) translate(-2%, 2%); }
}

.gallery-item img {
    pointer-events: none;
}

/* Scroll Reveal Animasyonları */
.reveal {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up {
    transform: translateY(40px);
}

.reveal-fade-left {
    transform: translateX(40px);
}

.reveal-fade-right {
    transform: translateX(-40px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* Parallax Yardımcı Sınıfı */
.parallax-bg {
    transform: translateZ(-1px) scale(2);
    will-change: transform;
}

/* YouTube Arkaplan Ayarları */
.youtube-bg-container {
    overflow: hidden;
    pointer-events: none; /* Kullanıcı video ile etkileşime giremesin */
}

/* Tarayıcılar iframe'i scale yaparken siyah kenar bırakmasın diye ekstra genişlik */
@media (min-aspect-ratio: 16/9) {
    .youtube-bg-container iframe {
        width: 100vw !important;
        height: 56.25vw !important; /* 16:9 oranı */
    }
}
@media (max-aspect-ratio: 16/9) {
    .youtube-bg-container iframe {
        width: 177.78vh !important; /* 16:9 oranı */
        height: 100vh !important;
    }
}