/* Ortak site header - tüm sayfalarda aynı görünüm */

.header {
    background: #2d2d2d;
    border-bottom: 2px solid #444;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 0;
}

.header .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    flex-shrink: 0;
}

.header .logo:hover {
    text-decoration: none;
    color: #ffffff;
}

.header .logo i {
    font-size: 1.5rem;
    color: #FF6B35;
}

.header .logo .site-name,
.header .logo h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 1.2;
}

.header nav {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.header ul.nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1rem 1.75rem;
}

.header .nav li {
    margin: 0;
}

.header .nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.header .nav a:hover,
.header .nav a.active {
    color: #FF6B35;
    text-decoration: none;
}

.header .user-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    flex-shrink: 0;
}

.header .welcome-text {
    color: #e0e0e0;
    font-size: 0.9rem;
}

.header .user-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 5px;
    white-space: nowrap;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.header .user-actions .btn-primary {
    background: #FF6B35;
    color: #ffffff;
    border: 1px solid #FF6B35;
}

.header .user-actions .btn-primary:hover {
    background: #E55A2B;
    border-color: #E55A2B;
    color: #ffffff;
    text-decoration: none;
}

.header .user-actions .btn-outline {
    background: transparent;
    color: #e0e0e0;
    border: 1px solid #555;
}

.header .user-actions .btn-outline:hover {
    background: #444;
    border-color: #FF6B35;
    color: #ffffff;
    text-decoration: none;
}

.header .user-actions .btn-secondary {
    background: #6c757d;
    color: #ffffff;
    border: 1px solid #6c757d;
}

.header .user-actions .btn-secondary:hover {
    background: #545b62;
    border-color: #545b62;
    color: #ffffff;
    text-decoration: none;
}

@media (max-width: 1200px) {
    .header ul.nav {
        gap: 0.75rem 1.25rem;
    }

    .header .nav a {
        font-size: 0.9rem;
    }
}

@media (max-width: 992px) {
    .header-content {
        justify-content: center;
    }

    .header .logo {
        order: 1;
    }

    .header .user-actions {
        order: 2;
    }

    .header nav {
        order: 3;
        width: 100%;
        flex-basis: 100%;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header .logo .site-name,
    .header .logo h1 {
        font-size: 1.3rem;
    }

    .header ul.nav {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }

    .header .user-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .header .welcome-text {
        text-align: center;
    }

    .header .user-actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .header .logo .site-name,
    .header .logo h1 {
        font-size: 1.2rem;
    }

    .header .nav a {
        font-size: 0.85rem;
    }
}
