/* ==========================================
   ULTRA PROFESSIONAL HEADER
   Modern & Kusursuz Tasarım
   ========================================== */

/* Header Container */
.header-professional {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.header-professional.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* Header Top Bar */
.header-top {
    background: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Contact Info */
.header-contact-info {
    display: flex;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    color: #667eea;
    transform: translateY(-2px);
}

.contact-item i {
    font-size: 14px;
}

/* Social Links */
.header-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #667eea;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
}

.social-link:hover {
    background: #764ba2;
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* Header Main */
.header-main {
    padding: 15px 0;
    background: #fff;
}

.header-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo Professional */
.logo-professional a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-professional a:hover {
    transform: translateY(-2px);
}

.logo-icon-pro {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.logo-icon-pro::after {
    content: '';
    position: absolute;
    inset: -5px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.3) 0%, transparent 70%);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo-professional a:hover .logo-icon-pro::after {
    opacity: 1;
}

.logo-professional a:hover .logo-icon-pro {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.logo-icon-pro i {
    font-size: 24px;
    color: #fff;
}

.logo-text-pro {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-main-pro {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo-sub-pro {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation Professional */
.nav-professional {
    flex: 1;
}

.nav-menu-pro {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item-pro {
    position: relative;
}

.nav-item-pro > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item-pro > a i {
    font-size: 14px;
    transition: all 0.3s ease;
}

.nav-item-pro > a:hover,
.nav-item-pro.active > a {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
}

.nav-item-pro > a:hover i,
.nav-item-pro.active > a i {
    transform: translateY(-2px);
}

/* Dropdown Icon */
.dropdown-icon {
    margin-left: 4px;
    font-size: 12px !important;
    transition: transform 0.3s ease;
}

.nav-item-pro.dropdown-pro.active .dropdown-icon,
.nav-professional.mobile-active .nav-item-pro.dropdown-pro.active .dropdown-icon {
    transform: rotate(180deg);
}

/* Dropdown Menu Professional */
.dropdown-menu-pro {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    min-width: 720px;
    max-width: 85vw;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.25s ease,
                transform 0.25s ease,
                visibility 0s linear 0.25s;
    will-change: opacity, transform;
    border: 1px solid rgba(0, 0, 0, 0.08);
    pointer-events: none;
}

.nav-item-pro.dropdown-pro.active .dropdown-menu-pro {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
    transition-delay: 0s;
}

/* Dropdown Grid */
.dropdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 15px;
}

.dropdown-column h4 {
    font-size: 11px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-column h4 i {
    font-size: 12px;
}

.dropdown-column a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    margin-bottom: 5px;
    transition: background 0.2s ease,
                color 0.2s ease,
                transform 0.2s ease;
}

.dropdown-column a i {
    font-size: 12px;
    color: #667eea;
    transition: all 0.2s ease;
}

.dropdown-column a:hover {
    background: rgba(102, 126, 234, 0.08);
    color: #667eea;
    transform: translateX(3px);
}

.dropdown-column a:hover i {
    transform: scale(1.1);
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
}

.cta-btn-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s ease;
}

.cta-btn-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

.cta-btn-header i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.cta-btn-header:hover i {
    transform: translateX(3px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    transition: all 0.3s ease;
}

.mobile-toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-toggle:hover span {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.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);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 1200px) {
    .header-main-content {
        gap: 20px;
    }

    .nav-menu-pro {
        gap: 2px;
    }

    .nav-item-pro > a {
        padding: 10px 14px;
        font-size: 14px;
    }

    .dropdown-menu-pro {
        min-width: 480px;
    }

    .dropdown-grid {
        gap: 12px;
    }
}

@media (max-width: 992px) {
    .header-top {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-professional,
    .header-cta {
        display: none;
    }

    .header-main-content {
        padding: 5px 0;
    }

    .logo-icon-pro {
        width: 45px;
        height: 45px;
    }

    .logo-icon-pro i {
        font-size: 20px;
    }

    .logo-main-pro {
        font-size: 20px;
    }

    .logo-sub-pro {
        font-size: 11px;
    }

    .nav-professional.mobile-active {
        display: block;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        overscroll-behavior: contain;
        z-index: 9999;
        animation: slideDown 0.3s ease-out;
    }

    .nav-professional.mobile-active .nav-menu-pro {
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }

    .nav-professional.mobile-active .nav-item-pro {
        width: 100%;
    }

    .nav-professional.mobile-active .nav-item-pro > a {
        width: 100%;
        justify-content: flex-start;
        min-height: 48px;
        padding: 16px 20px;
        font-size: 16px;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }

    .nav-professional.mobile-active .nav-item-pro.dropdown-pro > a {
        background: rgba(102, 126, 234, 0.03);
    }

    .nav-professional.mobile-active .nav-item-pro.dropdown-pro.active > a {
        background: rgba(102, 126, 234, 0.15);
        border-left-color: #667eea;
    }

    .nav-professional.mobile-active .dropdown-menu-pro {
        position: static;
        opacity: 0;
        visibility: hidden;
        transform: translateY(0);
        box-shadow: none;
        border: none;
        padding: 15px;
        margin-top: 10px;
        background: rgba(102, 126, 234, 0.05);
        border-radius: 8px;
        min-width: auto;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .nav-professional.mobile-active .nav-item-pro.dropdown-pro.active .dropdown-menu-pro {
        opacity: 1;
        visibility: visible;
        max-height: 1000px;
        pointer-events: all;
    }

    .nav-professional.mobile-active .dropdown-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .nav-professional.mobile-active .dropdown-column a {
        min-height: 44px;
        padding: 14px 16px;
        font-size: 15px;
        margin-bottom: 8px;
    }

    .nav-professional.mobile-active .dropdown-icon {
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .nav-professional.mobile-active .nav-item-pro.dropdown-pro.active .dropdown-icon {
        transform: rotate(180deg);
        color: #667eea;
    }

    .header-cta.mobile-active {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px 20px;
        background: #fff;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        z-index: 10000;
        animation: slideUp 0.3s ease-out;
    }

    @keyframes slideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }

    .header-cta.mobile-active .cta-btn-header {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .logo-icon-pro {
        width: 40px;
        height: 40px;
    }

    .logo-icon-pro i {
        font-size: 18px;
    }

    .logo-main-pro {
        font-size: 18px;
    }

    .logo-sub-pro {
        font-size: 10px;
    }
}

/* Scroll Effect */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header-professional {
    animation: slideDown 0.5s ease-out;
}

/* ==========================================
   SKIP NAVIGATION
   ========================================== */

.skip-to-content {
    position: absolute;
    top: -50px;
    left: 20px;
    background: #667eea;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    z-index: 10001;
    transition: top 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.skip-to-content:focus {
    top: 10px;
    outline: 3px solid #ffc107;
    outline-offset: 2px;
}

/* ==========================================
   SERVICE BADGES
   ========================================== */

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
}

.badge-hot {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
}

.badge-new {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: #fff;
}

.badge-popular {
    background: linear-gradient(135deg, #f7971e 0%, #ffd200 100%);
    color: #333;
}

.dropdown-column a.featured-service {
    background: rgba(255, 107, 107, 0.08);
    border-left: 2px solid #ff6b6b;
    font-weight: 600;
}

.dropdown-column a.featured-service:hover {
    background: rgba(255, 107, 107, 0.15);
}

/* ==========================================
   FOCUS STATES (Erişilebilirlik)
   ========================================== */

.nav-item-pro > a:focus,
.dropdown-column a:focus,
.cta-btn-header:focus,
.mobile-toggle:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

.nav-item-pro > a:focus-visible,
.dropdown-column a:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}


/* NovaPos Menu Highlight */
.nova-menu-highlight {
    position: relative;
}

.nova-menu-highlight > a {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%) !important;
    color: white !important;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.nova-menu-highlight > a:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.nova-menu-highlight .new-badge {
    background: #f59e0b;
    color: #0f172a;
    font-weight: 600;
}
