/* Logo spinner */
.logo-wrap {
  position: relative;
  width: 136px;
  height: 136px;
}
.logo-wrap img {
  width: 96px;
  height: 96px;
  object-fit: contain;
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 4px 12px rgba(0,0,0,.15));
}
.logo-ring {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 4px solid rgba(255,255,255,0.25);
  border-top-color: #ffffff;
  border-right-color: #ffffff;
  animation: spin 0.75s linear infinite;
  box-shadow: 0 0 24px rgba(30,136,229,.25);
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-gradient {
    background: linear-gradient(-45deg, #1E88E5, #1565C0, #00BCD4, #0288D1);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glass-dark {
    background: transparent;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header scroll sonrası mavi/gradient arka plan */
header#header.is-scrolled {
    background: linear-gradient(-45deg, rgba(30, 136, 229, 0.95), rgba(21, 101, 192, 0.90), rgba(0, 188, 212, 0.85), rgba(2, 136, 209, 0.90)) !important;
    background-size: 400% 400% !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 8px 32px rgba(30, 136, 229, 0.25) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes typing {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.modern-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.1), transparent);
    transition: left 0.6s;
}

.modern-card:hover::before {
    left: 100%;
}

.modern-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(30, 136, 229, 0.2);
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 2s ease-in-out infinite;
}

.modern-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.modern-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.modern-btn:hover::before {
    left: 100%;
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 136, 229, 0.3);
}

.stat-number {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}

.neon-glow {
    box-shadow: 0 0 20px rgba(30, 136, 229, 0.3);
}

.loading-dots {
    display: inline-block;
}
.loading-dots::after {
    content: '';
    animation: typing 0.75s infinite;
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.service-advanced {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    position: relative;
}

.service-advanced::after {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1px;
    background: linear-gradient(135deg, #1E88E5, #00BCD4);
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-advanced:hover::after {
    opacity: 1;
}

/* Mobil uyumluluk için ek stiller */
@media (max-width: 640px) {
    .hero-content {
        padding: 1rem;
    }
    .modern-card {
        margin-bottom: 1rem;
    }
    .footer-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Mobil Menü Slide Efekti */
#mobile-menu {
    transition: transform 0.3s ease-in-out;
    transform: translateX(100%);
}
#mobile-menu.active {
    transform: translateX(0);
}
.hamburger-bar {
    transition: all 0.3s ease-in-out;
}
#mobile-menu-btn.active .hamburger-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
#mobile-menu-btn.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}
#mobile-menu-btn.active .hamburger-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Dropdown Menü Stilleri */
.dropdown {
    position: relative;
}
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: linear-gradient(-45deg, rgba(30, 136, 229, 0.98), rgba(21, 101, 192, 0.95), rgba(0, 188, 212, 0.92), rgba(2, 136, 209, 0.95)) !important;
    background-size: 400% 400% !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0 0 12px 12px;
    min-width: 250px;
    z-index: 50;
    box-shadow: 0 12px 40px rgba(30, 136, 229, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    margin-top: 4px;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    border-left: 3px solid transparent;
}
.dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-left-color: rgba(255, 255, 255, 0.6);
    padding-left: 24px;
}

/* Mobil Dropdown */
.mobile-dropdown {
    display: none;
    background: rgba(21, 101, 192, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 10px 0;
    margin-top: 5px;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.mobile-dropdown a {
    display: block;
    padding: 10px 20px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
}
.mobile-dropdown a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #00BCD4;
    padding-left: 24px;
}

/* Mobil Menü Metinleri için ek stil */
#mobile-menu nav a {
    color: white !important;
    font-weight: 500;
}

/* Dropdown Icon */
.dropdown-icon {
    transition: transform 0.3s ease;
}
.dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

body, html {
    overflow-x: hidden !important;
}

/* Service card links styling */
a.modern-card {
    text-decoration: none;
    color: inherit;
}
a.modern-card:hover {
    text-decoration: none;
}
a.modern-card h3,
a.modern-card p {
    color: inherit;
}

/* Footer z-index fix - ensures footer appears above other sections */
footer {
    position: relative !important;
    z-index: 9999 !important;
    isolation: isolate;
    clear: both;
}

footer .container {
    position: relative !important;
    z-index: 9999 !important;
}

/* Fix sections before footer - remove overflow-hidden that cuts footer */
main > section:last-child {
    overflow: visible !important;
    margin-bottom: 0 !important;
    position: relative;
    z-index: 1;
}

/* Fix all sections with overflow-hidden before footer */
section.overflow-hidden:last-of-type {
    overflow: visible !important;
}

/* Ensure main content doesn't overflow into footer */
main {
    position: relative;
    z-index: 1;
    overflow: visible !important;
}

/* Clear footer area */
#site-footer {
    position: relative !important;
    z-index: 9999 !important;
    clear: both;
    margin-top: 0 !important;
}

