/* ========== PRELOADER STYLES ========== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a1628 0%, #1a2d5a 50%, #0d1b3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    perspective: 1000px;
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
    height: 220px;
}
.loader-logo-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: #fff;
    border-radius: 16px;
    padding: 15px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.loader-logo {
    width: 120px;
    height: auto;
    animation: logoPulse 2s ease-in-out infinite;
    filter: none;
}
@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}
.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 2px solid transparent;
}
.ring-1 {
    width: 180px;
    height: 180px;
    margin-left: -90px;
    margin-top: -90px;
    border-top-color: #c0392b;
    border-right-color: #c0392b;
    animation: spin3D 3s linear infinite;
    box-shadow: 0 0 15px rgba(192, 57, 43, 0.3);
}
.ring-2 {
    width: 200px;
    height: 200px;
    margin-left: -100px;
    margin-top: -100px;
    border-bottom-color: #e74c3c;
    border-left-color: #e74c3c;
    animation: spin3D 4s linear infinite reverse;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.3);
}
.ring-3 {
    width: 220px;
    height: 220px;
    margin-left: -110px;
    margin-top: -110px;
    border-top-color: #96281e;
    border-bottom-color: #96281e;
    animation: spinFlat 2.5s linear infinite;
    box-shadow: 0 0 25px rgba(192, 57, 43, 0.3);
}
@keyframes spin3D {
    0% { transform: rotateX(65deg) rotateZ(0deg); }
    100% { transform: rotateX(65deg) rotateZ(360deg); }
}
@keyframes spinFlat {
    0% { transform: rotateZ(0deg); }
    100% { transform: rotateZ(360deg); }
}
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #c0392b;
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}
.particle:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.particle:nth-child(2) { top: 50%; right: 0; animation-delay: 0.5s; }
.particle:nth-child(3) { bottom: 0; left: 50%; animation-delay: 1s; }
.particle:nth-child(4) { top: 50%; left: 0; animation-delay: 1.5s; }
@keyframes particleFloat {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1.5); }
}
.loader-bottom {
    position: absolute;
    bottom: -80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.loader-progress {
    width: 180px;
    height: 3px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}
.loader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #c0392b, #e74c3c, #c0392b);
    background-size: 200% 100%;
    border-radius: 3px;
    animation: progressBar 2s ease-in-out forwards, shimmerLoader 1s linear infinite;
}
@keyframes progressBar {
    0% { width: 0%; }
    100% { width: 100%; }
}
@keyframes shimmerLoader {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.loader-text {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* ========== DESKTOP - MOBİL HEADER GİZLE ========== */
.site-header-mobile {
    display: none;
}

/* ========== MOBİL DÜZELTMELER ========== */
@media screen and (max-width: 992px) {
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important;
        background: #0d1b3e !important;
    }
    .top-info-bar {
        display: none !important;
    }
    .main-navbar {
        background: linear-gradient(135deg, #0d1b3e 0%, #1a365d 100%) !important;
        padding: 15px 0 !important;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3) !important;
    }
    .navbar-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }
    .logo-img {
        height: 50px !important;
    }
    .main-menu {
        display: none !important;
    }
    .navbar-right {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        padding: 10px !important;
        background: rgba(255,255,255,0.1) !important;
        border: none !important;
        border-radius: 8px !important;
        cursor: pointer !important;
    }
    .mobile-menu-toggle span {
        display: block !important;
        width: 25px !important;
        height: 3px !important;
        background: #fff !important;
        border-radius: 2px !important;
    }
    body {
        padding-top: 80px !important;
    }
}

@media screen and (max-width: 768px) {
    .process-cards-flow {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    .card-column {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
    }
    .process-card {
        width: 100% !important;
        min-height: auto !important;
        padding: 25px !important;
    }
    .quote-hero-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
    }
    .quote-hero-left,
    .quote-hero-right {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
    }
    .quote-form-card {
        padding: 20px !important;
        width: 100% !important;
    }
    .quote-form-card input,
    .quote-form-card select {
        width: 100% !important;
        margin-bottom: 10px !important;
    }
}

/* ========== MOBILE HEADER - CLEAN PROFESSIONAL DESIGN ========== */
@media (max-width: 768px) {
    *, *::before, *::after {
        box-sizing: border-box;
    }
    html, body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    .header {
        width: 100%;
        max-width: 100%;
        position: sticky;
        top: 0;
        z-index: 9999;
        background: #fff;
    }
    .top-info-bar {
        display: block;
        width: 100%;
        background: #1a1e2e;
        padding: 8px 15px;
    }
    .top-info-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    .top-info-left,
    .top-info-center,
    .top-info-right {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: #fff;
        font-size: 0.7rem;
    }
    .top-info-left i { color: #c0392b; }
    .top-info-center i { color: #f59e0b; }
    .top-social-links {
        display: flex;
        gap: 10px;
    }
    .top-social-links a {
        color: #fff;
        font-size: 0.85rem;
    }
    .main-navbar {
        display: none !important;
    }
    .site-header-mobile {
        display: block !important;
        width: 100%;
        background: #0c1e3a;
        box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }
    .site-header-mobile .header-inner {
        max-width: 100%;
        margin: 0 auto;
        min-height: 80px;
        padding: 0 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .site-header-mobile .header-logo img {
        height: 45px;
    }
    .site-header-mobile .header-nav {
        display: flex;
        gap: 20px;
    }
    .site-header-mobile .header-nav a {
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        position: relative;
        padding: 8px 0;
    }
    .site-header-mobile .header-nav a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 3px;
        background: #00c2ff;
        transition: width 0.3s ease;
    }
    .site-header-mobile .header-nav a:hover::after,
    .site-header-mobile .header-nav a.active::after {
        width: 100%;
    }
    .site-header-mobile .header-nav a.active {
        color: #00c2ff;
    }
    .site-header-mobile .header-phone a {
        display: flex;
        align-items: center;
        gap: 8px;
        color: #00c2ff;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
    }
    .site-header-mobile .header-phone .icon {
        font-size: 16px;
    }

    /* MOBİL BOŞLUK OPTİMİZASYONU */
    .hero {
        padding-bottom: 20px !important;
        margin-bottom: 0 !important;
    }
    .marquee-section {
        margin: 0 !important;
        padding: 10px 0 0 0 !important;
    }
    .hero-features {
        margin: 0 !important;
        padding: 10px 15px 20px 15px !important;
    }
    .services-section,
    #services {
        margin-top: 0 !important;
        padding-top: 25px !important;
        padding-bottom: 20px !important;
    }
    .contact-section,
    #contact {
        margin-top: 0 !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    .testimonials-marquee-section,
    #testimonials {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        margin: 0 !important;
    }
    .blog-section,
    #blog {
        margin-top: 0 !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
    .process-section {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        margin: 0 !important;
    }
    .why-choose-section,
    .why-us-section {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        margin: 0 !important;
    }
    .faq-section {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
        margin: 0 !important;
    }
    .footer {
        padding-top: 20px !important;
    }
    .section-header {
        margin-bottom: 20px !important;
    }
}
