/* BATUS Header Styles - Merkezi CSS Dosyası */

/* Header Ana Stilleri */
.header-white {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.header-transparent {
    background-color: transparent;
    transition: all 0.2s ease;
}

/* Sticky Panel - Header yüksekliğine göre ayarlanmalı */
.sticky-panel {
    top: 110px;
}

/* Alpine.js ile renk değiştirirken yumuşak geçiş için */
[x-cloak] { 
    display: none !important; 
}

/* Menu Link Hover Effects */
.menu-link {
    position: relative;
    transition: color 0.2s ease, transform 0.15s ease;
}

.menu-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: currentColor;
    transition: width 0.2s ease;
    transform: translateX(-50%);
}

.menu-link:hover::after {
    width: 100%;
}

.menu-link:hover {
    color: #000 !important;
    transform: translateY(-1px);
}


/* Hamburger Menu Icon Animation */
.hamburger-icon {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

.hamburger-line {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
    background-color: #1f2937; /* Fallback color */
}

.hamburger-line:nth-child(1) {
    top: 0px;
}

.hamburger-line:nth-child(2) {
    top: 10px;
}

.hamburger-line:nth-child(3) {
    top: 20px;
}

/* Hamburger to X animation */
.hamburger-icon.is-active .hamburger-line:nth-child(1) {
    top: 10px;
    transform: rotate(135deg);
}

.hamburger-icon.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    left: -30px;
}

.hamburger-icon.is-active .hamburger-line:nth-child(3) {
    top: 10px;
    transform: rotate(-135deg);
}

/* Mobile Menu Styles */
@media (max-width: 1023px) {
    .mobile-menu-overlay {
        -webkit-tap-highlight-color: transparent;
    }
    
    .mobile-menu-panel {
        -webkit-overflow-scrolling: touch;
    }
    
    /* Smooth scrolling for mobile menu */
    .mobile-menu-panel::-webkit-scrollbar {
        width: 0;
        background: transparent;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100vh;
        top: 0;
        left: 0;
    }
}

/* Breadcrumb Stilleri */
.breadcrumb-container {
    padding-top: 3rem;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .breadcrumb-container {
        padding-bottom: 1rem;
        margin-bottom: 2rem;
    }
}




/* Campaign Bar */
.campaign-bar {
    background-color: #000;
    color: #fff;
    padding: 0.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1001;
}
