/* İnanlar Yapı Premium Prestij Teması */

:root {
    --safir: #0d1e3d; /* More vibrant navy */
    --safir-dark: #07101f;
    --safir-light: #162c52;
    --cobalt: #3b82f6;
    --cobalt-vibrant: #3b82f6; 
    --cyan: #06b6d4; /* New vibrant accent */
    --slate: #a0aec0; /* Brighter slate */
    --silver: #f7fafc; /* Much brighter silver */
    --white: #ffffff;
}

/* Efficient Glassmorphism - Limit blur to specific elements */
.glass-dark {
    background: rgba(17, 34, 64, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 1.5rem; /* More vibrant rounding */
}

/* Blur only on sticky nav for premium feel - Reduced for performance */
nav.scrolled {
    background: rgba(10, 25, 47, 0.98);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Glow Effects */
.glow-cobalt {
    box-shadow: 0 0 20px -5px rgba(59, 130, 246, 0.5);
}

.glow-cobalt-hover:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

/* Prestij Gradient */
.bg-prestij-gradient {
    background: radial-gradient(circle at 50% 50%, #112240 0%, #0a192f 100%);
}

/* Glassmorphism Effect (Legacy) - Optimized */
.glass-morphism {
    background: rgba(17, 34, 64, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-glass {
    background: rgba(10, 25, 47, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Chic Shadow -> Performance Minded Shadow */
.chic-shadow {
    box-shadow: 0 10px 30px -15px rgba(2, 12, 27, 0.5);
}

.chic-shadow-hover {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.chic-shadow-hover:hover {
    box-shadow: 0 20px 40px -20px rgba(2, 12, 27, 0.7);
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.4);
}

body {
    background-color: var(--safir);
    color: var(--silver);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-family: 'Outfit', sans-serif;
}

/* Custom Selection */
::selection {
    background: var(--cobalt);
    color: var(--safir);
}

/* Typography Enhancements */
.text-cobalt { color: var(--cobalt) !important; }
.text-cyan { color: var(--cyan) !important; }
.text-silver { color: var(--silver) !important; }
.text-white-pure { color: var(--white) !important; }
.font-serif {
    font-family: 'Playfair Display', serif; /* Can be removed later if sans is exclusively used */
}

.tracking-premium {
    letter-spacing: 0.2em;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar active state on scroll */
nav.scrolled {
    background: rgba(10, 25, 47, 0.95);
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
    will-change: transform, background;
}

/* Hero Section Image Overlay */
.hero-overlay {
    background: linear-gradient(to bottom, rgba(10, 25, 47, 0.4), rgba(10, 25, 47, 1));
}

/* Text Reveal Animation */
.text-reveal-mask {
    overflow: hidden;
}

/* Image Reveal */
.img-reveal-container {
    overflow: hidden;
    position: relative;
}

.img-reveal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--safir-base);
    z-index: 2;
}

/* Swiper Premium Customization */
.hero-swiper .swiper-slide-active .slide-img {
    transition: transform 5s linear;
    transform: scale(1);
}

.swiper-pagination-custom {
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.05em;
}

.swiper-button-prev-custom:hover, 
.swiper-button-next-custom:hover {
    background: var(--cobalt);
    color: var(--safir-base);
    border-color: var(--cobalt);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Custom Cursor */
.custom-cursor {
    width: 20px;
    height: 20px;
    background: var(--cobalt);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transform: translate3d(-50%, -50%, 0);
    /* Removed CSS transition on transform to avoid conflict with JS requestAnimationFrame */
    transition: background 0.3s ease;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

.custom-cursor.active {
    transform: scale(3) translate3d(-50%, -50%, 0);
    background: white;
    mix-blend-mode: difference;
}

.custom-cursor.click {
    transform: scale(1.5) translate3d(-50%, -50%, 0);
    background: var(--cobalt-light);
    box-shadow: 0 0 30px var(--cobalt);
}

/* Horizontal Scroll Section */
.horizontal-container {
    width: 300%; /* Total slides count * 100% */
    height: 100vh;
    display: flex;
    flex-wrap: nowrap;
}

.horizontal-slide {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0 10vw;
}

.horizontal-slide img {
    width: 80%;
    height: 70%;
    object-fit: cover;
    will-change: transform;
}

/* Hide scrollbar but allow scrolling */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Custom Link Underline */
.link-underline {
    position: relative;
}

.link-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--cobalt);
    transition: width 0.4s ease;
}

.link-underline:hover::after {
    width: 100%;
}

/* Preloader Specifics */
#preloader {
    will-change: transform;
}
#preloader-bar {
    transition: width 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

