/**
 * Minimal Topbar Module Styles
 * 
 * Sadeleştirilmiş topbar stilleri - sadece temel özellikler
 * 
 * @package Mupba
 * @since 1.0.0
 */

/* ===== MINIMAL TOPBAR STYLES ===== */
.topbar {
    background: var(--topbar-bg-color, var(--mupba-orange-primary));
    color: var(--topbar-text-color, var(--mupba-white));
    font-size: var(--topbar-font-size, 0.875rem);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.topbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

/* Sol taraf - İletişim bilgileri */
.topbar-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-start;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--mupba-white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.topbar-item:hover {
    opacity: 0.8;
}

.topbar-item svg {
    flex-shrink: 0;
    stroke: var(--mupba-white);
    color: var(--mupba-white);
}

.topbar-item a {
    color: var(--mupba-white);
    text-decoration: none;
}

.topbar-item a:hover {
    text-decoration: underline;
}

/* Öncelikli öğeler */
.topbar-item.priority-item {
    order: -1;
    font-weight: 500;
}

.topbar-socials.priority-item {
    order: 1;
}

/* Spesifik öğe sınıfları */
.topbar-item.topbar-phone {
    color: var(--mupba-white);
}

.topbar-item.topbar-email {
    color: var(--mupba-white);
}

.topbar-item.topbar-location {
    color: var(--mupba-white);
}

.topbar-item.topbar-address {
    color: var(--mupba-white);
}

/* Drag & Drop stilleri */
.topbar-item-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    height: 32px;
    margin: 0 0.5rem;
}

.topbar-item.ui-sortable-helper {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: rotate(2deg);
}

.topbar-left.ui-sortable,
.topbar-right.ui-sortable {
    min-height: 32px;
}

/* Admin paneli için drag handle */
.topbar-item .drag-handle {
    cursor: move;
    opacity: 0.5;
    margin-right: 0.5rem;
}

.topbar-item .drag-handle:hover {
    opacity: 1;
}

/* Sağ taraf - Sosyal medya */
.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.topbar-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.topbar-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--mupba-white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.topbar-socials a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.topbar-socials a svg {
    width: 16px;
    height: 16px;
    fill: var(--mupba-white);
    color: var(--mupba-white);
}

/* ===== RESPONSIVE CONTROLS ===== */
/* Mobil gizleme */
@media (max-width: 767px) {
    .topbar.hide-mobile {
        display: none !important;
    }
    
    .topbar {
        font-size: 0.8rem;
        padding: 0.375rem 0;
    }
    
    .topbar-content {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .topbar-left {
        justify-content: center;
        gap: 1rem;
    }
    
    .topbar-right {
        justify-content: center;
    }
    
    .topbar-socials {
        gap: 0.5rem;
    }
    
    .topbar-socials a {
        width: 28px;
        height: 28px;
    }
    
    .topbar-socials a svg {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .topbar-left {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .topbar-item {
        font-size: 0.75rem;
    }
}