/* 
 * Header Z-index Fix
 * Bu dosya, header ile hero/page-header arasındaki katman sorununu çözmek için oluşturulmuştur
 * Tarih: <?php echo date('Y-m-d'); ?>
 */

/* Header'ın tüm diğer elementlerin önünde olmasını sağlar */
.header {
    position: fixed !important;
    z-index: 9999 !important;
}

/* Modern page header ve alt bileşenlerinin header'ın arkasında kalmasını sağlar */
.modern-page-header {
    z-index: 1 !important;
    position: relative !important;
    margin-top: 80px !important; /* Header ile hero header arasına mesafe ekledim */
}

/* Anasayfa için özel durum - margin yok */
body.home-page .modern-page-header {
    margin-top: 0 !important;
}

.modern-page-header .header-bg-image,
.modern-page-header .header-overlay {
    z-index: -999 !important;
}

/* Carousel ve diğer içerikler için düşük z-index */
.carousel,
.carousel-inner,
.carousel-item,
.carousel-item::before,
.carousel-caption {
    z-index: 1 !important;
}

/* Responsive ayarlamalar */
@media (max-width: 992px) {
    .modern-page-header {
        margin-top: 70px !important;
    }
}

@media (max-width: 768px) {
    .modern-page-header {
        margin-top: 60px !important;
    }
}

@media (max-width: 576px) {
    .modern-page-header {
        margin-top: 50px !important;
    }
}

/* Mobil Menu İletişim Bilgileri Stilleri */
.mobile-contact-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.mobile-contact-item i {
    color: #1e88e5;
    font-size: 14px;
    margin-right: 10px;
    width: 16px;
    text-align: center;
}

.mobile-contact-item span {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Telefon numarası için özel stil */
.mobile-contact-item:first-child span {
    font-family: 'Courier New', monospace;
}

/* E-posta için özel stil */
.mobile-contact-item:last-child span {
    text-transform: lowercase;
}

/* 390x844 Ekran Boyutu için Özel Ayarlar (iPhone 12/13/14 gibi) */
@media (max-width: 390px) and (min-height: 800px) {
    /* Header yüksekliğini azalt */
    .header {
        padding: 2px 0 !important;
    }
    
    .header.scrolled {
        padding: 1px 0 !important;
    }
    
    /* Logo boyutunu ayarla */
    .logo img {
        height: 45px !important;
        width: auto !important;
    }
    
    /* Mobil header butonları ve sosyal medya ikonlarını küçült */
    .mobile-header-actions {
        gap: 2px !important;
        margin-right: 5px !important;
        margin-left: -10px !important;
    }
    
    /* Mobil cihazlarda header ile slider arasındaki boşluğu kaldır */
    .carousel {
        margin-top: 0 !important;
    }
    
    .hero-slider {
        margin-top: 0 !important;
    }
    
    /* Hamburger menüdeki logo düzenlemeleri */
    .nav-menu::before {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 80px !important;
        height: 80px !important;
        filter: none !important;
        cursor: pointer !important;
    }
    
    /* Hamburger menüdeki bilet butonunu küçült ve ortala */
    .nav-menu .btn-ticket {
        width: 60% !important;
        max-width: 150px !important;
        font-size: 0.9rem !important;
        padding: 8px 20px !important;
        margin: 15px auto 10px auto !important;
        display: block !important;
        border-radius: 25px !important;
    }
    
    /* Layout dosyasındaki stilleri override et */
    .mobile-ticket-button {
        font-size: 0.6rem !important;
        height: 28px !important;
        padding: 0 8px !important;
        border-radius: 14px !important;
        min-width: 60px !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-ticket-button i {
        font-size: 8px !important;
    }
    
    .mobile-social-inline-button {
        font-size: 0.7rem !important;
        width: 28px !important;
        height: 28px !important;
    }
    
    .mobile-social-inline-button i {
        font-size: 0.7em !important;
    }
    
    .mobile-toggle {
        width: 20px !important;
        height: 16px !important;
        padding: 2px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: center !important;
        z-index: 10000 !important;
        position: relative !important;
    }
    
    .mobile-toggle span {
        height: 3px !important;
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        transition: all 0.3s ease !important;
    }
    
    .mobile-toggle span:nth-child(1) {
        background-color: #FF5252 !important;
    }
    
    .mobile-toggle span:nth-child(2) {
        background-color: #1E88E5 !important;
    }
    
    .mobile-toggle span:nth-child(3) {
        background-color: #4CAF50 !important;
    }
}

/* iPhone 12 Pro Header Override - Layout dosyasındaki stilleri küçültmek için */
@media (max-width: 390px) {
    /* Layout dosyasındaki mobile butonları override et */
    .mobile-ticket-button {
        font-size: 0.6rem !important;
        height: 28px !important;
        padding: 0 8px !important;
        border-radius: 14px !important;
        min-width: 60px !important;
        white-space: nowrap !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .mobile-social-inline-button {
        font-size: 0.7rem !important;
        width: 28px !important;
        height: 28px !important;
    }
    
    .mobile-social-inline-button i {
        font-size: 0.7em !important;
    }
    
    /* Hamburger menü düzeltmeleri */
    .mobile-toggle {
        width: 22px !important;
        height: 18px !important;
        padding: 2px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        align-items: center !important;
        z-index: 10000 !important;
        position: relative !important;
        background: none !important;
        border: none !important;
    }
    
    .mobile-toggle span {
        height: 3px !important;
        width: 100% !important;
        display: block !important;
        margin: 0 !important;
        transition: all 0.3s ease !important;
        border-radius: 3px !important;
    }
    
    .mobile-toggle span:nth-child(1) {
        background-color: #FF5252 !important;
    }
    
    .mobile-toggle span:nth-child(2) {
        background-color: #1E88E5 !important;
    }
    
    .mobile-toggle span:nth-child(3) {
        background-color: #4CAF50 !important;
    }
}

/* Mobil menü düzenlemeleri 390x844 için */
@media (max-width: 390px) {
    /* Header container'ı küçült */
    .header-content {
        padding: 0 10px !important;
    }
    
    /* Menü başlıklarını yukarı al */
    .nav-menu {
        padding-top: 80px !important;
        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
    }
    
    /* Menü linklerinin boyutunu küçült */
    .nav-link {
        font-size: 13px !important;
        padding: 6px 12px !important;
    }
    
    /* Mobil menü bilet al butonunu düzenle */
    .btn-ticket {
        background: linear-gradient(45deg, #ff6b6b, #ee5a24) !important;
        color: white !important;
        font-size: 11px !important;
        padding: 6px 12px !important;
        margin: 4px 12px !important;
        border-radius: 6px !important;
    }
    
    .btn-ticket:hover {
        background: linear-gradient(45deg, #ff5252, #e55100) !important;
        transform: translateY(-1px) !important;
    }
    
    /* Sosyal medya butonlarını küçült */
    .mobile-social-button {
        width: 26px !important;
        height: 26px !important;
        font-size: 10px !important;
        margin: 0 2px !important;
    }
    
    /* İletişim bilgilerini görünür yap */
    .mobile-contact-info {
        margin-top: 8px !important;
        padding-top: 8px !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .mobile-contact-item {
        margin-bottom: 5px !important;
        padding: 5px 8px !important;
        font-size: 10px !important;
    }
    
    .mobile-contact-item i {
        font-size: 10px !important;
        margin-right: 6px !important;
        width: 12px !important;
    }
    
    .mobile-contact-item span {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }
    
    /* Mobil sosyal container pozisyonunu ayarla */
    .mobile-social-container {
        position: relative !important;
        padding-bottom: 8px !important;
    }
} 