.modern-header {
    position: fixed;
    top: 0;
    left: 0;
    height: 150px;
    right: 0;
    z-index: 100;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    height: 80px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 150px;
    transition: height 0.3s ease;
}

.modern-header.scrolled .header-container {
    height: 75px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    z-index: 1001;
}

.header-logo img {
    height: 200px;
    width: auto;
    transition: all 0.3s ease;
}

.modern-header.scrolled .header-logo img {
    height: 65px;
}

/* Desktop Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
    align-items: center;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #1e40af);
    transition: width 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active {
    color: #60a5fa;
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after {
    width: 100%;
}

.nav-menu > li > a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-menu > li:hover > a i {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.nav-menu > li {
    position: relative;
}

.nav-menu > li .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 0;
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
    z-index: 100;
}

.nav-menu > li:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: 10px;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 24px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
}

.dropdown-menu li a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    padding-left: 30px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    transform: translateY(-2px);
}

/* Language Switcher */
.lang-dropdown {
    position: relative;
}

.lang-switcher {
    width: auto;
    height: 40px;
    padding: 0 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 600;
}

.lang-switcher:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 150px;
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none;
    margin: 0;
    z-index: 100;
}

.lang-dropdown:hover .lang-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown-menu li {
    list-style: none;
}

.lang-dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-dropdown-menu li a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

/* Search Modal */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal.active {
    display: flex;
    opacity: 1;
}

.search-modal-content {
    width: 90%;
    max-width: 600px;
    position: relative;
}

.search-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal-close:hover {
    color: #ef4444;
    transform: rotate(90deg);
}

.search-modal-input {
    width: 100%;
    padding: 20px 30px;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    outline: none;
    transition: all 0.3s ease;
}

.search-modal-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #3b82f6;
}

.search-modal-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.cta-button {
    padding: 12px 30px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
    border-color: #60a5fa;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: #ffffff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Sidebar - SOLDAN AÇILAN GLASS EFFECT */
.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 10000;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    box-shadow: 5px 0 40px rgba(0, 0, 0, 0.6);
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar-header {
    padding: 30px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.mobile-sidebar-header img {
    height: 230px;
}

.mobile-menu {
    padding: 20px 0;
}

.mobile-menu > li {
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 25px;
    color: #f1f5f9;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mobile-menu > li > a:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding-left: 30px;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    transition: max-height 0.3s ease;
}

.mobile-submenu.active {
    max-height: 500px;
}

.mobile-submenu li {
    list-style: none;
}

.mobile-submenu a {
    display: block;
    padding: 12px 25px 12px 45px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.mobile-submenu a:hover {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    padding-left: 50px;
}

.mobile-sidebar-footer {
    padding: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.mobile-cta {
    display: block;
    text-align: center;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.mobile-lang {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.mobile-lang a {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9;
    text-decoration: none;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-lang a.active,
.mobile-lang a:hover {
    background: rgba(59, 130, 246, 0.25);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {

    .modern-header {
        height: 75px;
    }

    .header-nav {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .header-actions .search-btn,
    .header-actions .lang-switcher,
    .header-actions .cta-button {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
        height: 70px;
    }

    .header-logo img {
        height: 65px;
    }

    .mobile-sidebar {
        width: 280px;
    }
}

/* Navigation - EN YÜKSEK ÖNCELİK */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 35px;
    align-items: center;
}

.nav-menu > li {
    position: relative;
    margin: 0;
    padding: 0;
}

.nav-menu > li > a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu > li > a i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* DROPDOWN - ZORUNLU KURALLAR */
.nav-menu > li > ul.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    min-width: 220px;
    background: rgba(30, 41, 59, 0.98) !important;
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    list-style: none !important;
    z-index: 9999 !important;
    display: block !important;
}

.nav-menu > li:hover > ul.dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) !important;
}

.dropdown-menu li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: block !important;
    padding: 12px 24px;
    color: #e2e8f0 !important;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #60a5fa !important;
    padding-left: 30px;
}


.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9998;
}

.whatsapp-button {
    position: relative;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s infinite;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
}

.whatsapp-button::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: ripple 2s infinite;
}

.whatsapp-button i {
    position: relative;
    z-index: 1;
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    color: #ffffff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 211, 102, 0.3);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid rgba(15, 23, 42, 0.95);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Online Indicator */
.whatsapp-online {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: #0f172a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.whatsapp-online::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #25D366;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-button {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }

    .whatsapp-tooltip {
        display: none;
    }
}

/* Hide on scroll down, show on scroll up */
.whatsapp-float.hidden {
    transform: translateY(100px);
    opacity: 0;
}

.whatsapp-float {
    transition: all 0.3s ease;
}

/* === LOADER STYLES BAŞLANGICI === */

/* Loader'ın tüm sayfayı kaplamasını sağlayan ana katman */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Arka plan rengi */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Diğer tüm içeriklerin üzerinde olmasını sağlar */
    transition: opacity 0.5s ease; /* Yumuşak kaybolma efekti için */
}

/* Sayfa yüklendiğinde loader'ı gizlemek için kullanılacak class */
#loader-wrapper.hidden {
    opacity: 0;
    pointer-events: none; /* Gizlendikten sonra tıklanamaz yapar */
}

/* Animasyonun kendisi (önceki kodumuz) */
.loader-container {
    position: relative;
    width: 300px;
    height: 300px;
    transform-style: preserve-3d;
}

.bearing-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    border: 20px solid #2c3e7a;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(44, 62, 122, 0.2), inset 0 0 30px rgba(44, 62, 122, 0.1);
}

.bearing-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #ffffff;
    border: 18px solid #2c3e7a;
    box-shadow: 0 0 30px rgba(44, 62, 122, 0.2), inset 0 0 20px rgba(44, 62, 122, 0.1);
}

.ball-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    transform: translate(-50%, -50%);
    animation: ball-orbit 4s linear infinite;
}

@keyframes ball-orbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.ball {
    position: absolute;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle at 30% 30%, #4a69bd, #2c3e7a);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), inset -2px -2px 5px rgba(0, 0, 0, 0.15);
}

.ball:nth-child(1) {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.ball:nth-child(2) {
    top: 13.5px;
    right: 13.5px;
}

.ball:nth-child(3) {
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.ball:nth-child(4) {
    bottom: 13.5px;
    right: 13.5px;
}

.ball:nth-child(5) {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.ball:nth-child(6) {
    bottom: 13.5px;
    left: 13.5px;
}

.ball:nth-child(7) {
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
}

.ball:nth-child(8) {
    top: 13.5px;
    left: 13.5px;
}

.logo-text {
    position: absolute;
    padding: 7px;
    top: 50%;
    left: 50%;
    width: 500px;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    pointer-events: none;
}

.brand-name {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
}

.brand-part {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e7a;
    letter-spacing: 2px;
}

.tagline {
    font-size: 12px;
    color: #2c3e7a;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* === LOADER STYLES BİTİŞİ === */
