/* Custom Styles */
.glass-effect {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.text-gradient {
    background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 50%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-pattern {
    background-image: 
        radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(16, 185, 129, 0.1) 0px, transparent 50%);
}

.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    border-radius: inherit;
}

.service-card:hover::before {
    opacity: 1;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #0ea5e9, #10b981);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 10s ease-in-out infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.atomic-ring {
    position: absolute;
    border: 2px solid rgba(14, 165, 233, 0.2);
    border-radius: 50%;
    animation: spin 20s linear infinite;
}

.atomic-ring:nth-child(2) {
    animation-direction: reverse;
    animation-duration: 15s;
}

.atomic-ring:nth-child(3) {
    animation-duration: 25s;
}

.electron {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #0ea5e9, #10b981);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.6);
}

.tech-grid {
    background-image: 
        linear-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
}

.counter {
    font-variant-numeric: tabular-nums;
}

.input-focus-ring:focus {
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.animation-delay-2000 {
    animation-delay: 2s;
}

/* Prose styles for legal pages */
.prose h2 {
    color: #0f172a;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.prose ul {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.prose p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

/* Mobile Menu Styles */
#mobileMenu {
    transition: all 0.3s ease-in-out;
    transform-origin: top;
    animation: slideDown 0.3s ease-out;
}

#mobileMenu.hidden {
    display: none;
    animation: none;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#mobileMenu a {
    transition: all 0.2s ease;
}

#mobileMenu a:active {
    transform: scale(0.98);
}

/* Menu Overlay */
#menuOverlay {
    transition: opacity 0.3s ease;
}

#menuOverlay.hidden {
    opacity: 0;
    pointer-events: none;
}

#menuOverlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile Menu Button */
#mobileMenuBtn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

#mobileMenuBtn:active {
    transform: scale(0.95);
}

/* Menü açıkken body scroll engelleme */
body.menu-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
}
