/* ========================================
   LEDBUDUR - ANA STİL DOSYASI
   ======================================== */

/* ========================================
   TEMEL STİLLER
   ======================================== */
body {
    font-family: 'Inter', sans-serif;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #13ec80;
}

/* ========================================
   LED EFEKT STİLLERİ
   ======================================== */
.led-glow:hover {
    box-shadow: 0 0 15px rgba(19, 236, 128, 0.4);
    transition: all 0.3s ease;
}

.text-glow {
    text-shadow: 0 0 20px rgba(19, 236, 128, 0.3);
}

/* ========================================
   HEADER STİLLERİ
   ======================================== */
header {
    transition: all 0.3s ease;
}

header.header-scrolled {
    background-color: rgba(5, 5, 5, 0.9) !important;
    backdrop-filter: blur(16px) !important;
    border-bottom-color: rgba(255, 255, 255, 0.15) !important;
}

/* Scrolled durumda text-shadow'u kaldır */
header.header-scrolled a,
header.header-scrolled button,
header.header-scrolled span {
    filter: none !important;
    text-shadow: none !important;
}
/* style.css içine eklenebilir */
.nav-link.active-nav {
    color: #15803d !important; /* text-green-700 */
}
.dark .nav-link.active-nav {
    color: #86efac !important; /* dark:text-green-300 */
}
/* ========================================
   LED ANİMASYONLU ARKA PLAN CSS
   ======================================== */
.led-animated-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #020202 0%, #0a0a0a 50%, #050505 100%);
}

/* LED Grid Pattern */
.led-grid {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at center, rgba(19, 236, 128, 0.12) 0%, transparent 2px),
        radial-gradient(circle at center, rgba(16, 185, 129, 0.08) 0%, transparent 2px);
    background-size: 24px 24px, 36px 36px;
    background-position: 0 0, 12px 12px;
    animation: gridPulse 5s ease-in-out infinite;
}

/* Floating Glow Orbs */
.led-glow-orb-1 {
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(19, 236, 128, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -200px;
    animation: floatOrb1 12s ease-in-out infinite;
    filter: blur(40px);
}

.led-glow-orb-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -100px;
    left: -150px;
    animation: floatOrb2 15s ease-in-out infinite;
    filter: blur(50px);
}

.led-glow-orb-3 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 40%;
    left: 30%;
    animation: pulseOrb 8s ease-in-out infinite;
    filter: blur(60px);
}

/* Scanlines Effect */
.led-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(19, 236, 128, 0.02) 2px,
        rgba(19, 236, 128, 0.02) 4px
    );
    pointer-events: none;
}

.led-scanlines::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(19, 236, 128, 0.05) 50%, transparent 100%);
    height: 30%;
    animation: scanlineMove 4s linear infinite;
}

/* Floating Particles */
.led-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(19, 236, 128, 0.6);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(19, 236, 128, 0.8);
}

.particle:nth-child(1) { left: 10%; animation: particleRise 8s linear infinite; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation: particleRise 12s linear infinite; animation-delay: 1s; }
.particle:nth-child(3) { left: 30%; animation: particleRise 10s linear infinite; animation-delay: 2s; }
.particle:nth-child(4) { left: 40%; animation: particleRise 14s linear infinite; animation-delay: 0.5s; }
.particle:nth-child(5) { left: 50%; animation: particleRise 9s linear infinite; animation-delay: 3s; }
.particle:nth-child(6) { left: 60%; animation: particleRise 11s linear infinite; animation-delay: 1.5s; }
.particle:nth-child(7) { left: 70%; animation: particleRise 13s linear infinite; animation-delay: 2.5s; }
.particle:nth-child(8) { left: 80%; animation: particleRise 10s linear infinite; animation-delay: 0.8s; }
.particle:nth-child(9) { left: 90%; animation: particleRise 12s linear infinite; animation-delay: 1.8s; }
.particle:nth-child(10) { left: 15%; animation: particleRise 15s linear infinite; animation-delay: 3.5s; }
.particle:nth-child(11) { left: 45%; animation: particleRise 11s linear infinite; animation-delay: 4s; }
.particle:nth-child(12) { left: 75%; animation: particleRise 9s linear infinite; animation-delay: 2.2s; }

/* Light Beam */
.light-beam {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, rgba(19, 236, 128, 0.4) 0%, transparent 100%);
    animation: beamSweep 6s ease-in-out infinite;
    transform-origin: top center;
}

/* ========================================
   ANİMASYONLAR
   ======================================== */
@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes floatOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-30px, 20px) scale(1.1); }
    66% { transform: translate(20px, -30px) scale(0.95); }
}

@keyframes floatOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 40px) scale(0.9); }
}

@keyframes pulseOrb {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.15); opacity: 0.5; }
}

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

@keyframes particleRise {
    0% { 
        transform: translateY(100vh) rotate(0deg); 
        opacity: 0; 
    }
    5% { opacity: 1; }
    95% { opacity: 1; }
    100% { 
        transform: translateY(-100vh) rotate(360deg); 
        opacity: 0; 
    }
}

@keyframes beamSweep {
    0%, 100% { opacity: 0; transform: scaleX(0); }
    50% { opacity: 1; transform: scaleX(1); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Video container for optional video background */
.video-bg-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.video-bg-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,5,5,1) 0%, rgba(5,5,5,0.7) 50%, rgba(5,5,5,0.4) 100%);
    z-index: 1;
}

/* ========================================
   MODAL STİLLERİ
   ======================================== */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal:target {
    display: flex;
    opacity: 1;
}

.modal:target .modal-content {
    transform: scale(1);
}

.modal-content {
    transform: scale(0.95);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ========================================
   SOLUTION CARD HOVER
   ======================================== */
.solution-card-hover:hover .solution-image {
    transform: scale(1.05);
}

/* ========================================
   FORM STİLLERİ
   ======================================== */
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #13ec80;
    box-shadow: 0 0 0 3px rgba(19, 236, 128, 0.1);
}

/* ========================================
   RESPONSIVE DÜZENLEMELER
   ======================================== */
@media (max-width: 768px) {
    .led-glow-orb-1,
    .led-glow-orb-2,
    .led-glow-orb-3 {
        display: none;
    }
}
