/* Custom Water & Theme Engine CSS for Sincan Su Arıtma */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --brand-primary: #0284c7;
    --brand-secondary: #06b6d4;
    --brand-mint: #2dd4bf;
    --brand-mint-dark: #0d9488;
    --brand-dark: #090d16;
    --brand-dark-card: #0f172a;
    --brand-accent: #38bdf8;
    --brand-gradient: linear-gradient(135deg, #0284c7 0%, #06b6d4 45%, #14b8a6 100%);
    --brand-glow: rgba(6, 182, 212, 0.45);
    --brand-mint-glow: rgba(45, 212, 191, 0.45);
    --brand-shadow: rgba(2, 132, 199, 0.35);
    --brand-badge-bg: rgba(6, 182, 212, 0.15);
}

html, body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: #030712;
    color: #f8fafc;
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100%;
}

img, svg, video {
    max-width: 100%;
}

/* Animations */
@keyframes floatSlow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.6; box-shadow: 0 0 15px var(--brand-glow); }
    50% { opacity: 1; box-shadow: 0 0 30px var(--brand-glow); }
}

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

.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

/* Global Dynamic Theme Utilities */
.theme-bg-gradient {
    background: var(--brand-gradient) !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

.text-gradient, .theme-text-gradient {
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-secondary) 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.theme-text-primary {
    color: var(--brand-primary) !important;
}

.theme-text-secondary {
    color: var(--brand-secondary) !important;
}

.theme-text-accent {
    color: var(--brand-accent) !important;
}

.theme-text-mint {
    color: var(--brand-mint) !important;
}

.theme-bg-mint {
    background-color: var(--brand-mint-dark) !important;
}

.theme-bg-dark {
    background-color: var(--brand-dark) !important;
}

.theme-bg-dark-card {
    background-color: var(--brand-dark-card) !important;
}

.theme-border {
    border-color: var(--brand-secondary) !important;
}

.theme-border-mint {
    border-color: rgba(45, 212, 191, 0.4) !important;
}

.theme-btn-primary {
    background: var(--brand-gradient) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px -5px var(--brand-glow) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px -5px var(--brand-glow) !important;
}

.theme-btn-mint {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 50%, #2dd4bf 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 25px -5px var(--brand-mint-glow) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-btn-mint:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 40px -5px var(--brand-mint-glow) !important;
}

.theme-badge {
    background: var(--brand-badge-bg) !important;
    color: var(--brand-accent) !important;
    border: 1px solid var(--brand-secondary) !important;
}

.theme-badge-mint {
    background: rgba(45, 212, 191, 0.15) !important;
    color: #2dd4bf !important;
    border: 1px solid rgba(45, 212, 191, 0.4) !important;
}

/* Glassmorphism Cards with Ultra Glow */
.glass-card-dark {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card-dark:hover {
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9), 0 0 30px -5px var(--brand-glow);
    transform: translateY(-4px);
}

/* ZENIX Asymmetric Sci-Fi Header Layout */
.zenix-header-container {
    position: relative;
    background: rgba(9, 13, 22, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.7), 0 0 30px -5px var(--brand-glow);
    overflow: visible !important;
}

.zenix-neon-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

.zenix-circle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-gradient);
    box-shadow: 0 0 15px var(--brand-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .zenix-circle-btn {
        width: 40px;
        height: 40px;
    }
}

.zenix-circle-btn:hover {
    transform: scale(1.1) rotate(90deg);
}

/* Infinite Theme Drawer */
.infinite-theme-btn {
    position: fixed;
    left: 0;
    top: 40%;
    z-index: 90;
    border-radius: 0 16px 16px 0;
    background: var(--brand-gradient);
    box-shadow: 0 10px 30px var(--brand-glow);
}

.theme-drawer {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #030712;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-secondary);
}

/* Dynamic Theme-Aware Product Card Shadow & Hover Glow */
.product-card-theme-glow {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card-theme-glow:hover {
    border-color: var(--brand-secondary) !important;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9), 0 0 35px -5px var(--brand-glow) !important;
    transform: translateY(-4px);
}

/* Glassmorphism Price Container ("cam efekti kutuları gölgeli olsun gölgeler renkler ile uyumlu olsun") */
.price-glass-container {
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.18), 0 10px 25px -5px rgba(0, 0, 0, 0.8), 0 0 20px -3px var(--brand-glow);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.price-glass-container:hover,
.product-card-theme-glow:hover .price-glass-container {
    border-color: var(--brand-secondary) !important;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 12px 30px -5px rgba(0, 0, 0, 0.9), 0 0 25px 0px var(--brand-glow) !important;
}

/* Neden Biz? Section Cards - Dynamic Theme Glow & Watermark Styling */
.why-us-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-us-card:hover {
    border-color: var(--brand-secondary) !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.9), 0 0 30px -5px var(--brand-glow) !important;
    transform: translateY(-4px);
}

/* Center Column Dual-Direction Infinite Parallax Marquee */
@keyframes scrollUpInfinite {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scrollDownInfinite {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.why-us-scroll-up {
    animation: scrollUpInfinite 28s linear infinite;
    will-change: transform;
}

.why-us-scroll-down {
    animation: scrollDownInfinite 28s linear infinite;
    will-change: transform;
}

.why-us-gallery-wrapper:hover .why-us-scroll-up,
.why-us-gallery-wrapper:hover .why-us-scroll-down {
    animation-play-state: paused;
}

/* Glassmorphism Top Navigation Bar & Individual Glass Pill Items */
.zenix-nav-item {
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 800;
    color: #e2e8f0;
    border-radius: 9999px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    position: relative;
    letter-spacing: 0.02em;
}

.zenix-nav-item:hover {
    color: #ffffff;
    background: rgba(30, 41, 59, 0.95);
    border-color: var(--brand-secondary);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3), 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 20px var(--brand-glow);
    transform: translateY(-2px);
}

.zenix-nav-item.active {
    background: var(--brand-gradient) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 6px 20px -2px var(--brand-glow), inset 0 1px 1px rgba(255, 255, 255, 0.4) !important;
}

.zenix-nav-item:hover {
    color: #ffffff;
    background: rgba(30, 41, 59, 0.9);
    border-color: var(--brand-secondary);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2), 0 8px 25px rgba(0, 0, 0, 0.6), 0 0 18px var(--brand-glow);
    transform: translateY(-2px);
}

.zenix-nav-item.active {
    background: var(--brand-gradient) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 6px 20px -3px var(--brand-glow), inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
}

/* Light Mode Theme Overrides (Beyaz Zemin & Siyah Yazı) */
html.theme-light-mode,
body.theme-light-mode {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

body.theme-light-mode .bg-slate-950,
body.theme-light-mode .bg-[#070b14] {
    background-color: #f8fafc !important;
}

body.theme-light-mode .bg-slate-900,
body.theme-light-mode .bg-slate-900\/80,
body.theme-light-mode .bg-slate-900\/90,
body.theme-light-mode .bg-slate-900\/50,
body.theme-light-mode .bg-slate-900\/70,
body.theme-light-mode .bg-slate-900\/95 {
    background-color: #ffffff !important;
    border-color: #e2e8f0 !important;
    color: #0f172a !important;
}

body.theme-light-mode .text-white,
body.theme-light-mode .text-slate-100,
body.theme-light-mode .text-slate-200 {
    color: #0f172a !important;
}

body.theme-light-mode .text-slate-300,
body.theme-light-mode .text-slate-400 {
    color: #334155 !important;
}

body.theme-light-mode .text-slate-500 {
    color: #64748b !important;
}

body.theme-light-mode .border-slate-800,
body.theme-light-mode .border-slate-700,
body.theme-light-mode .border-slate-800\/80 {
    border-color: #e2e8f0 !important;
}
